Remove <sys/ultrasound.h>
[glibc.git] / ChangeLog
blob4f09eeca9fc4525070ef55aeb99d22e8e71dba47
1 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4         sys/ultrasound.h.
5         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
7 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
9         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10         Remove.
11         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13         (arch_minimum_kernel): Remove.
14         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15         * README: Update statement about Linux kernel requirements.
17 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19         * manual/llio.texi: Add preadv and pwritev documentation.
21 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
23         [BZ #21455]
24         * bits/stdint-intn.h: New file.
25         * bits/stdint-uintn.h: Likewise.
26         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
27         bits/stdint-uintn.h.
28         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
29         <stdint.h>.
30         * posix/sys/types.h: Include <bits/stdint-intn.h>.
31         (__int8_t_defined): Do not define here.
32         (int8_t): Likewise.
33         (int16_t): Likewise.
34         (int32_t): Likewise.
35         (int64_t): Likewise.
36         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
37         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
38         <stdint.h>.
39         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
40         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
41         <bits/stdint-uintn.h>.
42         (int8_t): Do not define here.
43         (int16_t): Likewise.
44         (int32_t): Likewise.
45         (int64_t): Likewise.
46         (uint8_t): Likewise.
47         (uint16_t): Likewise.
48         (uint32_t): Likewise.
49         (uint64_t): Likewise.
50         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
51         variable.
52         (test-xfail-XPG42/netdb.h/conform): Likewise.
53         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
54         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55         (test-xfail-UNIX98/netdb.h/conform): Likewise.
56         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
58 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
60         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
61         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
62         the above.
63         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
68         [BZ #21445]
69         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
71         [BZ #21457]
72         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
73         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
74         __glibc_reserved1.
75         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
76         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
77         (struct _fpxreg): Likewise.
78         [!__x86_64__] (struct _fpstate): Rename field reserved to
79         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
80         [__x86_64__] (struct _fpstate): Rename field padding to
81         __glibc_reserved1.
82         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
83         Rename field reserved2 to __glibc_reserved2.
84         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
85         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
86         __glibc_reserved1.
87         [__x86_64__] (struct _libc_fpstate): Rename field padding to
88         __glibc_reserved1.
90 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
92         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
93         variable name.
95 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
97         [BZ #21391]
98         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
99         Only call init_cpu_features.
100         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
101         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
102         * sysdeps/i386/dl-procinfo.h: Removed.
103         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
104         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
105         <sysdeps/x86/dl-procinfo.h>.
106         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
107         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
108         Include <sysdeps/x86/dl-procinfo.h> instead of
109          <sysdeps/generic/dl-procinfo.h>.
110         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
111         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
112         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
113         (bit_cpu_MOVBE): Likewise.
114         (bit_cpu_BMI1): Likewise.
115         (bit_cpu_BMI2): Likewise.
116         (index_cpu_BMI1): Likewise.
117         (index_cpu_BMI2): Likewise.
118         (index_cpu_LZCNT): Likewise.
119         (index_cpu_MOVBE): Likewise.
120         (index_cpu_POPCNT): Likewise.
121         (reg_BMI1): Likewise.
122         (reg_BMI2): Likewise.
123         (reg_LZCNT): Likewise.
124         (reg_MOVBE): Likewise.
125         (reg_POPCNT): Likewise.
126         * sysdeps/x86/dl-hwcap.h: New file.
127         * sysdeps/x86/dl-procinfo.h: Likewise.
128         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
129         (_dl_x86_platforms): Likewise.
131 2017-05-03  DJ Delorie  <dj@redhat.com>
133         [BZ #21411]
134         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
136 2017-05-03  Phil Blundell  <pb@pbcl.net>
138         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
139         comments.
141 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
143         [BZ #20116]
144         * nptl/pthread_create.c: Expand comments to describe
145         semaphore-like and mutex-like uses of PD->lock.
147 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
149         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
150         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
151         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
152         auto-generation list.
153         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
154         epoll_wait.
155         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
156         Remove epoll_wait.
158         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
159         osf_select.
160         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
161         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
162         osf_select from auto-generation list.
163         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
164         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
165         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
166         * sysdeps/unix/sysv/linux/select.c: New file.
168         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
169         * sysdeps/unix/sysv/linux/poll.c: New file.
170         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
171         auto-generation list.
173 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
175         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
176         New macro.
178 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
180         [BZ #21179]
181         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
182         R_SPARC_REGISTER relocations.
184 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
186         * include/unistd.h (__pread): Add libc_hidden_proto.
187         (__pread64): Likewise.
188         (__pwrite): Likewise.
189         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
190         (__pread64): Remove.
191         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
192         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
193         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
195 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
199 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
201         * nptl/tst-cancel4-common.c: Use libsupport.
202         * nptl/tst-cancel4-common.h: Likewise.
203         * nptl/tst-cancel4.c (tf_read): Likewise.
204         (tf_readv): Likewise.
205         (tf_write): Likewise.
206         (tf_writev): Likewise.
207         (tf_sleep): Likewise.
208         (tf_usleep): Likewise.
209         (tf_nanosleep): Likewise.
210         (tf_select): Likewise.
211         (tf_pselect): Likewise.
212         (tf_poll): Likewise.
213         (tf_ppoll): Likewise.
214         (tf_wait): Likewise.
215         (tf_waitpid): Likewise.
216         (tf_waitid): Likewise.
217         (tf_sigpause): Likewise.
218         (tf_sigsuspend): Likewise.
219         (tf_sigwait): Likewise.
220         (tf_sigwaitinfo): Likewise.
221         (tf_sigtimedwait): Likewise.
222         (tf_pause): Likewise.
223         (tf_accept): Likewise.
224         (tf_send): Likewise.
225         (tf_recv): Likewise.
226         (tf_recvfrom): Likewise.
227         (tf_recvmsg): Likewise.
228         (tf_open): Likewise.
229         (tf_close): Likewise.
230         (tf_pread): Likewise.
231         (tf_pwrite): Likewise.
232         (tf_preadv): Likewise.
233         (tf_pwritev): Likewise.
234         (tf_fsync): Likewise.
235         (tf_fdatasync): Likewise.
236         (tf_msync): Likewise.
237         (tf_sendto): Likewise.
238         (tf_sendmsg): Likewise.
239         (tf_creat): Likewise.
240         (tf_connect): Likewise.
241         (tf_tcdrain): Likewise.
242         (tf_msgrcv): Likewise.
243         (tf_msgsnd): Likewise.
244         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
245         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
247         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
248         expected arguments.
249         (do_test): Adapt to use libsupport.
251 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
253         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
256         (PF_MAX): Set to 44.
257         (AF_SMC): New macro.
259         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
260         kernel version to 4.11.
262 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
264         [BZ #21280]
265         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
266         signal of subnormals and adjust the exponent of power of 2 down
267         when low part has opposite sign.
269 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
271         * sysdeps/powerpc/powerpc64le/Implies: New file.
272         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
273         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
274         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
275         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
276         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
277         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
278         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
279         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
280         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
281         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
282         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
283         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
284         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
285         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
286         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
287         * sysdeps/powerpc/preconfigure: New file.
288         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
289         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
291 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
293         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
294         inclusion.
295         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
296         Remove.
298 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
300         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
301         (XPG3): Rename standard to XPG4.
302         * conform/Makefile: Likewise.
303         * conform/list-header-symbols.pl: Likewise.
304         * conform/data/aio.h-data: Likewise.
305         * conform/data/arpa/inet.h-data: Likewise.
306         * conform/data/complex.h-data: Likewise.
307         * conform/data/ctype.h-data: Likewise.
308         * conform/data/dlfcn.h-data: Likewise.
309         * conform/data/fcntl.h-data: Likewise.
310         * conform/data/fenv.h-data: Likewise.
311         * conform/data/float.h-data: Likewise.
312         * conform/data/fmtmsg.h-data: Likewise.
313         * conform/data/ftw.h-data: Likewise.
314         * conform/data/grp.h-data: Likewise.
315         * conform/data/inttypes.h-data: Likewise.
316         * conform/data/iso646.h-data: Likewise.
317         * conform/data/langinfo.h-data: Likewise.
318         * conform/data/libgen.h-data: Likewise.
319         * conform/data/limits.h-data: Likewise.
320         * conform/data/locale.h-data: Likewise.
321         * conform/data/math.h-data: Likewise.
322         * conform/data/mqueue.h-data: Likewise.
323         * conform/data/ndbm.h-data: Likewise.
324         * conform/data/net/if.h-data: Likewise.
325         * conform/data/netdb.h-data: Likewise.
326         * conform/data/netinet/in.h-data: Likewise.
327         * conform/data/poll.h-data: Likewise.
328         * conform/data/pthread.h-data: Likewise.
329         * conform/data/pwd.h-data: Likewise.
330         * conform/data/sched.h-data: Likewise.
331         * conform/data/search.h-data: Likewise.
332         * conform/data/semaphore.h-data: Likewise.
333         * conform/data/signal.h-data: Likewise.
334         * conform/data/spawn.h-data: Likewise.
335         * conform/data/stdbool.h-data: Likewise.
336         * conform/data/stdint.h-data: Likewise.
337         * conform/data/stdio.h-data: Likewise.
338         * conform/data/stdlib.h-data: Likewise.
339         * conform/data/string.h-data: Likewise.
340         * conform/data/strings.h-data: Likewise.
341         * conform/data/stropts.h-data: Likewise.
342         * conform/data/sys/mman.h-data: Likewise.
343         * conform/data/sys/resource.h-data: Likewise.
344         * conform/data/sys/select.h-data: Likewise.
345         * conform/data/sys/socket.h-data: Likewise.
346         * conform/data/sys/stat.h-data: Likewise.
347         * conform/data/sys/statvfs.h-data: Likewise.
348         * conform/data/sys/time.h-data: Likewise.
349         * conform/data/sys/timeb.h-data: Likewise.
350         * conform/data/sys/types.h-data: Likewise.
351         * conform/data/sys/uio.h-data: Likewise.
352         * conform/data/sys/un.h-data: Likewise.
353         * conform/data/sys/wait.h-data: Likewise.
354         * conform/data/syslog.h-data: Likewise.
355         * conform/data/termios.h-data: Likewise.
356         * conform/data/tgmath.h-data: Likewise.
357         * conform/data/time.h-data: Likewise.
358         * conform/data/ucontext.h-data: Likewise.
359         * conform/data/unistd.h-data: Likewise.
360         * conform/data/utmpx.h-data: Likewise.
361         * conform/data/varargs.h-data: Likewise.
362         * conform/data/wchar.h-data: Likewise.
363         * conform/data/wctype.h-data: Likewise.
365 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
367         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
368         version to 7 branch.
370 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
372         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
373         earlyclobber to output operand of sqrt insn.
374         (__ieee754_sqrtf): Ditto.
376 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #21426]
379         * misc/bits/types/struct_iovec.h: New file.
380         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
381         * include/bits/types/struct_iovec.h: New file.
382         * bits/uio.h (struct iovec): Replace by inclusion of
383         <bits/types/struct_iovec.h>.
384         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
385         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
386         of <sys/uio.h>.
387         * nptl/tst-cancel4.c: Include <sys/uio.h>
388         * posix/test-errno.c: Likewise.
389         * support/resolv_test.c: Likewise.
390         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
391         Remove.
392         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
393         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
394         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
396         * conform/data/sys/socket.h-data (*_t): Allow.
398 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
400         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
401         assignment.
403 2017-04-24  Daurnimator  <quae@daurnimator.com>
404             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
406         [BZ #21340]
407         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
408         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
409         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
410         valid flags.
411         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
412         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
413         POSIX_SPAWN_SETSID.
414         * sysdeps/posix/spawni.c (__spawni): Likewise.
415         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
416         * NEWS: Add note about POSIX_SPAWN_SETSID support.
418 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
420         * sysdeps/generic/math_private.h: Move the declaration of many
421         functions to sysdeps/generic/math_private_calls.h.
422         * sysdeps/generic/math_private_calls.h: New file with the
423         declarations of the functions removed from math_private.h
424         macroized by floating-point type.
426 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
428         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
429         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
430         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
431         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
432         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
433         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
435 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
437         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
438         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
439         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
440         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
441         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
442         New Define.
444 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
446         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
447         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
448         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
449         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
450         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
451         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
453 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
455         * sysdeps/s390/multiarch/ifunc-resolve.h
456         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
457         * sysdeps/s390/multiarch/8bit-generic.c
458         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
459         define ifunc resolvers.
461 2017-04-21  Florian Weimer  <fweimer@redhat.com>
463         [BZ #20424]
464         * manual/memory.texi (Replacing malloc): New section.
465         (Allocating Storage For Program Data): Reference it.
466         (The GNU Allocator): Likewise.
468 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
470         * stdlib/Versions (__strtod_internal): List explicitly, not as
471         wildcard.
472         (__strtof_internal): Likewise.
473         (__strtold_internal): Likewise.
474         (__strtol_internal): Likewise.
475         (__strtoll_internal): Likewise.
476         (__strtoul_internal): Likewise.
477         (__strtoull_internal): Likewise.
478         (__strtoq_internal): Likewise.
479         (__strtouq_internal): Likewise.
480         * wcsmbs/Versions (__wcstod_internal): Likewise.
481         (__wcstof_internal): Likewise.
482         (__wcstold_internal): Likewise.
483         (__wcstol_internal): Likewise.
484         (__wcstoll_internal): Likewise.
485         (__wcstoul_internal): Likewise.
486         (__wcstoull_internal): Likewise.
488 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
490         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
491         struct timespec definition.
493 2017-04-19  Florian Weimer  <fweimer@redhat.com>
495         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
497 2017-04-19  Florian Weimer  <fweimer@redhat.com>
499         * inet/rcmd.c (rresvport_af): Fix typo in comment.
500         * inet/rexec.c (rexec_af): Likewise.
502 2017-04-19  Zack Weinberg  <zackw@panix.com>
504         * posix/tst-mmap-offset.c: Include stdint.h.
505         * resolv/tst-ns_name_compress.c: Include string.h.
506         * resolv/tst-resolv-edns.c: Include resolv.h.
508 2017-04-19  Florian Weimer  <fweimer@redhat.com>
510         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
511         with __glibc_likely.
512         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
513         Replace __builtin_expect with __glibc_unlikely.
514         * resolv/res_init.c (__res_vinit): Likewise.
515         * resolv/res_query.c (__libc_res_nquery): Likewise.
516         * resolv/res_send.c (__libc_res_nsend): Likewise.
518 2017-04-19  Florian Weimer  <fweimer@redhat.com>
520         [BZ #15722]
521         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
522         with SOCK_CLOEXEC.
523         * resolv/res_send.c (send_vc, reopen): Likewise.
524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
525         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
526         Likewise.
527         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
528         * inet/rexec.c (rexec_af): Add comment.
529         * inet/rcmd.c (rresvport_af): Likewise.
531 2017-04-19  Florian Weimer  <fweimer@redhat.com>
533         * nscd/connections.c (have_accept4): Removed definition.
534         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
535         accept4 works.
536         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
537         ia64 because that was the first version with accept4 support.
538         * support/Makefile (libsupport-routines): Add xaccept4.
539         * support/xsocket.h (xaccept4): Declare.
540         * support/xaccept4.c: New file.
541         * socket/tst-accept4.c: New file.
542         * socket/Makefile (tests): Add tst-accept4.
543         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
544         definition.
545         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
546         comment.
547         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
548         implementation is available.
549         (accept4): Use the system call if available, otherwise use the
550         socket call.
551         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
552         Set to 3.2.18.
553         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
554         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
555         accept4 is unconditionally available in later 3.2 stable kernels.
556         (__ASSUME_ACCEPT4_SYSCALL): Define.
557         * sysdeps/unix/sysv/linux/kernel-features.h
558         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
559         definitions.
560         * sysdeps/unix/sysv/linux/i386/kernel-features.h
561         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
563 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
565         * conform/Makefile (tests-special): Do not make addition of
566         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
567         (generated): Do not make addition of $(conformtest-header-base)
568         conditional on [$(cross-compiling) = no].
570         [BZ #21267]
571         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
572         if defined by <asm/socket.h> and not previously defined.
573         (IOCSIZE_SHIFT): Likewise.
574         (IOC_IN): Likewise.
575         (IOC_INOUT): Likewise.
576         (IOC_OUT): Likewise.
578 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
580         [BZ #21396]
581         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
582         Prefer_No_AVX512 if AVX512ER isn't available.
583         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
584         (index_arch_Prefer_No_AVX512): Likewise.
585         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
586         AVX512 version if Prefer_No_AVX512 is set.
587         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
588         Likewise.
589         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
590         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
591         Likewise.
592         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
593         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
594         Likewise.
595         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
596         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
597         Likewise.
599 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
601         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
602         Prefer_No_VZEROUPPER if AVX512ER is available.
603         * sysdeps/x86/cpu-features.h
604         (bit_cpu_AVX512PF): New.
605         (bit_cpu_AVX512ER): Likewise.
606         (bit_cpu_AVX512CD): Likewise.
607         (bit_cpu_AVX512BW): Likewise.
608         (bit_cpu_AVX512VL): Likewise.
609         (index_cpu_AVX512PF): Likewise.
610         (index_cpu_AVX512ER): Likewise.
611         (index_cpu_AVX512CD): Likewise.
612         (index_cpu_AVX512BW): Likewise.
613         (index_cpu_AVX512VL): Likewise.
614         (reg_AVX512PF): Likewise.
615         (reg_AVX512ER): Likewise.
616         (reg_AVX512CD): Likewise.
617         (reg_AVX512BW): Likewise.
618         (reg_AVX512VL): Likewise.
620 2017-04-18  Florian Weimer  <fweimer@redhat.com>
622         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
623         O_CLOEXEC is defined.
624         * include/fcntl.h (__have_o_cloexec): Remove declaration.
625         * io/Makefile (aux): Remove.
626         * io/have_o_cloexec.c: Remove file.
627         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
628         defined and works.
629         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
630         defined.
631         * login/utmp_file.c (O_flags): Remove definition.
632         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
633         O_CLOEXEC works.
634         (pututline_file): Likewise.
635         * malloc/mtrace.c: Assume that O_CLOEXEC works.
636         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
637         definition.
638         (internal_setgrent): Assume that O_CLOEXEC works.
639         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
640         Remove definition.
641         (internal_setgrent): Assume that O_CLOEXEC works.
642         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
643         definition.
644         (internal_setpwent): Assume that O_CLOEXEC works.
645         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
646         definition.
647         (internal_setspent): Assume that O_CLOEXEC works.
648         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
649         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
650         O_CLOEXEC is defined and works.
651         * nss/Makefile (libnss_files-routines): Remove
652         files-have_o_cloexec.
653         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
654         defined.
655         * nss/nss_files/files-XXX.c (internal_setent): Assume that
656         O_CLOEXEC is defined and works.
657         * nss/nss_files/files-alias.c (internal_setent): Likewise.
658         * nss/nss_files/files-have_o_cloexec.c: Remove.
659         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
660         defined.
661         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
662         and works.
663         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
664         definition.
665         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
666         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
667         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
668         (__opendirat, __opendir): Adjust opendir_oflags call.
669         (check_have_o_cloexec): Remove.
670         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
671         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
672         defined.
673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
674         Remove definition.
676 2017-04-18  Florian Weimer  <fweimer@redhat.com>
678         * include/unistd.h (__have_dup3): Remove declaration.
679         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
680         dup3 is available.
681         * libio/freopen64.c (freopen64): Likewise.
682         * socket/Makefile (aux): Remove have_sock_cloexec.
683         * socket/have_sock_cloexec.c: Remove file.
684         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
685         definition.
686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
687         Likewise.
688         * sysdeps/nacl/kernel-features.h: Update comment.
690 2017-04-18  Florian Weimer  <fweimer@redhat.com>
692         * include/unistd.h (__have_pipe2): Remove declaration.
693         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
694         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
695         available.
696         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
698         Remove definition.
700 2017-04-18  Florian Weimer  <fweimer@redhat.com>
702         * malloc/malloc.c (cfree): Turn into compat symbol.
703         (__cfree): Remove alias.
704         * stdlib/stdlib.h (cfree): Remove declaration.
705         * malloc/malloc.h (cfree): Likewise.
706         * manual/memory.texi (Freeing after Malloc): Remove cfree.
707         * malloc/Versions (GLIBC_2.26): Add.
709 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
711         * sysdeps/powerpc/powerpc64/multiarch/Makefile
712         (sysdep_routines): Add strrchr-power8.
713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
714         (strrchr): Add __strrchr_power8 to list of strrchr functions.
715         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
716         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
717         (strrchr): Add __strrchr_power8 to ifunc list.
718         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
720 2017-04-17  Rabin Vincent  <rabinv@axis.com>
722         [BZ #21357]
723         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
724         Call free() outside of mutex.
726 2017-04-13  Florian Weimer  <fweimer@redhat.com>
728         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
729         is defined.
730         * elf/rtld.c (process_envvars): Likewise.
731         * sysdeps/posix/shm_open.c (shm_open): Likewise.
732         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
733         O_NOFOLLOW directly.
734         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
736 2017-04-13  Florian Weimer  <fweimer@redhat.com>
738         [BZ #21369]
739         Remove EDNS fallback.
740         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
741         handling.
742         * resolv/res_send.c (send_dg): Likewise.
743         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
744         "tcp." prefixes.
745         (do_test): Send a "formerr."-prefixed query in an attempt to
746         trigger EDNS fallback.
748 2017-04-13  Florian Weimer  <fweimer@redhat.com>
750         [BZ #21361]
751         Limit EDNS buffer size to 1200 bytes.
752         * include/resolv.h (__res_nopt): Remove declaration.
753         * resolv/Makefile (tests): tst-resolv-edns.
754         (tst-resolv-edns): Link with -lresolv, -lpthread.
755         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
756         interval [512, 1200].
757         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
758         we can resize the buffer.
759         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
760         (__res_nopt): Declare.
761         * resolv/tst-resolv-edns.c: New file.
762         * resolv/resolv_test.h (struct resolv_edns_info): Define.
763         (struct resolv_response_context): Add edns member.
764         * resolv/resolv_test.c (struct query_info): Add edns member.
765         (parse_query): Extract EDNS information from the query.
766         (server_thread_udp_process_one): Propagate EDNS data.
767         (server_thread_tcp_client): Likewise.
769 2017-04-13  Florian Weimer  <fweimer@redhat.com>
771         [BZ #21359]
772         * resolv/ns_name.c (ns_name_pack): Do not require an additional
773         byte in the destination buffer.  Avoid out-of-bounds pointer
774         arithmetic.
775         * resolv/Makefile (tests): Add tst-ns_name_compress.
776         (tst-ns_name_compress): Link with -lresolv.
777         * resolv/tst-ns_name_compress.c: New file.
778         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
779         (response): Recognize LONG_NAME.
780         (do_test): Add LONG_NAME tests.
781         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
782         for ns_name_unpack.  Add tests for ns_name_pton and
783         ns_name_compress.
785 2017-04-13  Florian Weimer  <fweimer@redhat.com>
787         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
788         (res_nisourserver): Remove definition.
789         (p_section, res_npquery, res_nisourserver): Remove declaration.
790         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
791         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
792         ... here.
793         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
794         <resolv.h>.
795         * resolv/res_query.c: Likewise.
796         * resolv/res_debug.c (p_section): Define as static.
798 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
801         strncat-power8.
802         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
803         __strncat_power8 to ifunc list.
804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
805         (strncat): Add __strncat_power8 to list of strncat functions.
806         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
808 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
810         [BZ #21270]
811         * posix/tst-mmap-offset.c (do_prepare): New function.
812         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
813         (do_test_bz21270): New function.
814         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
815         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
816         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
817         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
818         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
819         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
820         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
821         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
822         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
823         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
824         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
826         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
827         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
828         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
829         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
830         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
831         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
832         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
833         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
834         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
835         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
836         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
837         from auto-generation list.
838         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
840         * sysdeps/unix/sysv/linux/mmap.c: New file.
841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
842         offsets and support for mmap2 syscall.
844         * posix/globtest.sh: Add cleanup routine on trap 0.
846 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
848         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
849         implementation-specific function name and remove unneeded
850         macros definition.
851         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
852         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
853         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
854         name if not defined and pass as parameter to macros accordingly.
855         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
856         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
858         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
859         implementation-specific function name and remove unneeded
860         macros definition.
861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
863         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
866         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
867         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
868         name if not defined and pass as parameter to macros accordingly.
869         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
870         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
872         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
873         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
874         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
876         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
877         implementation-specific function name and remove unneeded macros
878         definition.
879         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
880         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
881         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
882         function name if not defined and pass as parameter to macros
883         accordingly.
884         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
885         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
887         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
888         implementation-specific function name and remove unneeded macros
889         definition.
890         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
891         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
892         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
893         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
894         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
895         not defined and pass as parameter to macros accordingly.
896         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
897         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
898         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
899         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
901         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
902         strcasestr implementation name and remove unneeded macros definition.
903         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
904         strstr implementation name and remove unneeded macros definition.
905         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
906         name if not defined and pass as parameter to macros accordingly.
907         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
909         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
910         implementation-specific function name and remove unneeded macros
911         definition.
912         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
913         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
914         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
915         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
916         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
917         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
918         function name if not defined and pass as parameter to macros
919         accordingly.
920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
921         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
922         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
923         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
925         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
926         the strlen implementation name and remove unneeded macros definition.
927         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
929         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
930         the strnlen implementation name and remove unneeded macros definition.
931         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
932         name if not defined and pass as parameter to macros accordingly.
933         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
934         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
935         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
938         the implementation-specific function name and remove unneeded
939         macros definition.
940         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
941         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
942         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
943         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
946         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
947         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
948         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
949         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
950         name if not defined and pass as parameter to macros accordingly.
951         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
952         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
953         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
954         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
955         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
956         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
957         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
958         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
960         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
961         implementation-specific function name and remove unneeded macros
962         definition.
963         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
964         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
965         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
966         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
967         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
968         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
969         function name if not defined.
970         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
971         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
973 2017-04-11  Paul Clarke  <pc@us.ibm.com>
975         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
976         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
977         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
978         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
980 2017-04-11  Florian Weimer  <fweimer@redhat.com>
981             Zack Weinberg  <zackw@panix.com>
983         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
984         readdir64 as thread-safe.  Update warning about readdir_r.
986 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
988         * sysdeps/unix/sysv/linux/x86/Implies: New file.
989         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
990         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
991         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
992         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
993         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
994         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
996 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
998         * sysdeps/i386/dl-procinfo.c: Include
999         <sysdeps/x86/dl-procinfo.c>.
1000         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1001         * sysdeps/x86/dl-procinfo.c: New file.
1003 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1005         * sysdeps/generic/math_private.h: Remove declarations of
1006         many functions that are already declared in math.h.
1007         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1008         declaration for __frexpl.
1009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1010         the declarations for __scalbnl and fabsl.
1012 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1014         [BZ #20831]
1015         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1016         of __mprotect to change protection on the excess portion
1017         to disallow all access.
1019 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1021         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1022         HAS_CPU_FEATURE to check for SSE.
1023         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1024         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1025         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1026         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1027         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1028         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1029         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1030         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1031         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1032         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1033         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1034         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1035         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1036         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1037         (index_cpu_SSE): Likewise.
1038         (reg_SSE): Likewise.
1040 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1042         * posix/getopt1.c: Include <config.h>, not "config.h".
1044 2017-04-07  Zack Weinberg  <zackw@panix.com>
1046         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1047         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1048         Mention in top-of-file boilerplate that these files are shared
1049         with gnulib.
1050         * posix/getopt.h, posix/bits/getopt_posix.h:
1051         Mention in top-of-file boilerplate that these files are NOT shared
1052         with gnulib, unlike the rest of the getopt implementation.
1054         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1055         New files, intended to be shared with gnulib.
1056         * posix/bits/getopt_posix.h:
1057         New file, not intended to be shared with gnulib.
1058         * posix/getopt.h: Now just includes features.h,
1059         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1060         no longer be shared with gnulib.
1061         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1062         * include/bits/getopt_posix.h: New wrappers.
1063         * posix/Makefile: Install new headers.
1064         * posix/unistd.h, libio/stdio.h:
1065         Include bits/getopt_posix.h instead of getopt.h.
1067         * include/libc-symbols.h: For gnulib compatibility, define
1068         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1069         _GL_ATTRIBUTE_CONST.
1070         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1071         parameters with _GL_UNUSED.
1073         * posix/getopt.c: When used standalone, define __libc_use_alloca
1074         as always false and alloca to abort if called.
1075         (process_long_option): Rewrite handling of ambiguous long options
1076         to use a single boolean vector, not a linked list; use
1077         __libc_use_alloca to decide whether to allocate this using alloca.
1078         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1080         * posix/getopt.c (process_long_option): New function split out
1081         from _getopt_internal_r.
1082         (_getopt_internal_r): Replace both copies of the long-option
1083         processing code with calls to process_long_option.
1084         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1085         (do_test): Differentiate argv[0] in the two subtests.
1087         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1088         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1089         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1091         * posix/getopt.h: Add backup definition of __nonnull for
1092         consistency with gnulib.  Define __getopt_argv_const to const
1093         if not already defined.
1094         (getopt): Update doc comment from gnulib.  Prototype
1095         unconditionally.  Add __nonnull annotation.
1096         (__posix_getopt): Add __nonnull annotation.
1097         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1098         prototypes for consistency with gnulib.  Add __nonnull
1099         annotations.
1100         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1101         (getopt_internal): Change 'argv' argument to type 'char **'.
1102         Remove now-unnecessary casts.
1103         (getopt, __posix_getopt): Eliminate repetition with a macro.
1104         Cast 'argv' to 'char **' when calling _getopt_internal.
1105         * posix/getopt1.c (getopt_long, getopt_long_only):
1106         Use __getopt_argv_const for consistency with gnulib.
1107         Cast 'argv' to 'char **' when calling _getopt_internal.
1108         (_getopt_long_r, _getopt_long_only_r):
1109         Change 'argv' argument to type 'char **'.
1110         (main): Constify 'long_options'.
1111         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1112         (_getopt_long_r, _getopt_long_only_r):
1113         Change 'argv' argument to type 'char **'.
1115         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1116         (locked_vfxprintf): New helper function. Handle arbitrary
1117         multibyte strings, not just ASCII.
1118         * include/stdio.h: Declare __fxprintf_nocancel.
1119         * posix/getopt.c: When _LIBC is defined, define fprintf to
1120         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1121         to _IO_funlockfile.  When neither _LIBC nor
1122         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1123         funlockfile as no-ops.
1124         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1125         the standalone error-printing code can now be used for libc as
1126         well.  Add an flockfile/funlockfile pair around one case where
1127         the error message is printed in several chunks.  Don't use fputc.
1128         * posix/tst-getopt-cancel.c: New test.
1129         * posix/Makefile: Run it.
1131         * posix/getopt.c (_getopt_internal_r): Don't increment
1132         d->optind a second time when reporting ambiguous -W options.
1134         * posix/getopt_int.h: Include getopt.h.
1135         Use impl-namespace names for all arguments to _getopt_internal and
1136         _getopt_internal_r.
1137         Declare __ordering enum outside the struct.
1138         Harmonize comments with gnulib.
1139         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1140         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1141         #ifdef TEST block and make unconditional.  Do not define NULL.
1142         * posix/getopt.c: Partial merge from gnulib, covering the
1143         initial includes and global declarations, commentary, and
1144         a couple of semantically-neutral code changes.
1146         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1147         Use '...' instead of `...' for quotation marks inside
1148         comments and strings.
1150         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1151         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1152         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1153         * posix/getopt_int.h: Likewise.
1154         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1155         __libc_argc and __libc_argv externs, which were only used by
1156         #ifdef USE_NONOPTION_FLAGS blocks.
1157         * posix/getopt_init.c: Remove file.
1158         * posix/Makefile (routines): Remove getopt_init.
1159         * include/getopt.h: Don't declare __getopt_initialize_environment.
1160         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1161         a comment.
1163 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1165         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1167 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1169         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1170         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1171         to __wrap_.udiv.
1172         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1173         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1175         * sysdeps/i386/symbol-hacks.h: New file.
1176         * sysdeps/m68k/symbol-hacks.h: New file.
1177         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1178         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1179         * sysdeps/unix/sysv/linux/i386/Makefile
1180         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1181         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1182         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1183         * sysdeps/unix/sysv/linux/m68k/Makefile
1184         [$(subdir) = csu] (sysdep_routines): Likewise.
1185         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1186         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1188         [$(subdir) = csu] (sysdep_routines): Likewise.
1189         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1190         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1191         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1192         [$(subdir) = csu] (sysdep_routines): Likewise.
1193         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1194         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1195         * sysdeps/wordsize-32/Makefile: Remove file.
1196         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1197         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1199 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1201         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1202         (TEST_FUNCTION_ARGV): New.
1204 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1206         * elf/next.c: Import support/test-driver.c instead of
1207         test-skeleton.c and delete TEST_FUNCTION macro definition.
1208         * elf/nodelete.c: Likewise.
1209         * elf/order2.c: Likewise.
1210         * elf/tst-_dl_addr_inside_object.c: Likewise.
1211         * elf/tst-addr1.c: Likewise.
1212         * elf/tst-align.c: Likewise.
1213         * elf/tst-align2.c: Likewise.
1214         * elf/tst-audit11.c: Likewise.
1215         * elf/tst-audit12.c: Likewise.
1216         * elf/tst-audit2.c: Likewise.
1217         * elf/tst-audit9.c: Likewise.
1218         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1219         * elf/tst-deep1.c: Likewise.
1220         * elf/tst-dl-iter-static.c: Likewise.
1221         * elf/tst-dlmodcount.c: Likewise.
1222         * elf/tst-dlmopen1.c: Likewise.
1223         * elf/tst-dlmopen2.c: Likewise.
1224         * elf/tst-dlmopen3.c: Likewise.
1225         * elf/tst-dlopen-aout.c: Likewise.
1226         * elf/tst-dlopenrpath.c: Likewise.
1227         * elf/tst-dlsym-error.c: Likewise.
1228         * elf/tst-execstack-needed.c: Likewise.
1229         * elf/tst-execstack-prog.c: Likewise.
1230         * elf/tst-execstack.c: Likewise.
1231         * elf/tst-global1.c: Likewise.
1232         * elf/tst-gnu2-tls1.c: Likewise.
1233         * elf/tst-latepthread.c: Likewise.
1234         * elf/tst-leaks1.c: Likewise.
1235         * elf/tst-linkall-static.c: Likewise.
1236         (do_test): New function.
1237         * elf/tst-nodelete-opened.c: Likewise.
1238         * elf/tst-nodelete.cc: Likewise.
1239         * elf/tst-nodelete2.c: Likewise.
1240         * elf/tst-noload.c: Likewise.
1241         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1242         * elf/tst-order-main.c: Likewise.
1243         * elf/tst-pathopt.c: Likewise.
1244         * elf/tst-pie2.c: Likewise.
1245         * elf/tst-piemod1.c: Likewise.
1246         * elf/tst-prelink.c: Likewise.
1247         * elf/tst-protected1a.c: Likewise.
1248         * elf/tst-protected1b.c: Likewise.
1249         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1250         and define _GNU_SOURCE macro.
1251         (cmdline_process_function): New function.
1252         * elf/tst-relsort1.c: Likewise.
1253         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1254         and define _GNU_SOURCE macro.
1255         (cmdline_process_function): New function.
1256         * elf/tst-thrlock.c: Likewise.
1257         * elf/tst-tls-dlinfo.c: Likewise.
1258         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1259         * elf/tst-tls1.c: Likewise.
1260         * elf/tst-tls10.c: Likewise.
1261         * elf/tst-tls11.c: Likewise.
1262         * elf/tst-tls12.c: Likewise.
1263         * elf/tst-tls13.c: Likewise.
1264         * elf/tst-tls14.c: Likewise.
1265         * elf/tst-tls15.c: Likewise.
1266         * elf/tst-tls16.c: Likewise.
1267         * elf/tst-tls17.c: Likewise.
1268         * elf/tst-tls18.c: Likewise.
1269         * elf/tst-tls19.c: Likewise.
1270         * elf/tst-tls2.c: Likewise.
1271         * elf/tst-tls3.c: Likewise.
1272         * elf/tst-tls4.c: Likewise.
1273         * elf/tst-tls5.c: Likewise.
1274         * elf/tst-tls6.c: Likewise.
1275         * elf/tst-tls7.c: Likewise.
1276         * elf/tst-tls8.c: Likewise.
1277         * elf/tst-tls9.c: Likewise.
1278         * elf/tst-tlsalign-extern.c: Likewise.
1279         * elf/tst-tlsalign.c: Likewise.
1280         * elf/tst-unique1.c: Likewise.
1281         * elf/tst-unique2.c: Likewise.
1282         * elf/vismain.c: Likewise.
1284 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1286         * string/test-strnlen.c (do_page_tests): New function
1287         to check length of strings ending at the page boundary.
1288         (test_main): Added call to the do_page_tests function.
1290 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1291             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1293         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1294         (sysdep_routines): Add strnlen-power8.
1295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1296         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1297         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1298         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1299         (__strnlen): Add __strnlen_power8 to ifunc list.
1300         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1302 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1304         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1305         the TEST_FUNCTION macro definition.
1306         * wcsmbs/tst-mbrtowc2.c: Likewise.
1307         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1308         * wcsmbs/tst-wchar-h.c: Likewise.
1309         * wcsmbs/tst-wcpncpy.c: Likewise.
1310         * wcsmbs/tst-wcrtomb.c: Likewise.
1311         * wcsmbs/tst-wcsnlen.c: Likewise.
1312         * wcsmbs/tst-wcstof.c: Likewise.
1314 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1316         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1317         CALL_THREAD_FCT macro usage.
1318         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1319         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1320         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1322         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1323         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1324         (__ASSUME_REQUEUE_PI): Likewise.
1325         * sysdeps/unix/sysv/linux/kernel-features.h
1326         (__ASSUME_REQUEUE_PI): Likewise.
1327         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1328         (__ASSUME_REQUEUE_PI): Likewise.
1329         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1330         (__ASSUME_REQUEUE_PI): Likewise.
1331         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1332         (__ASSUME_REQUEUE_PI): Likewise.
1334 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1336         * resolv/tst-resolv-canonname.c: New file.
1337         * resolv/Makefile (tests): Add tst-resolv-canonname.
1338         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1340 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1342         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1343         Declare.
1344         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1345         (NS_MAXCDNAME): Remove definition.
1346         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1347         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1348         (NS_MAXCDNAME): Remove definition.
1349         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1351 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1353         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1354         call whose result is not used.
1356 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1358         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1359         * resolv/Makefile (tests): Add tst-ns_name.
1360         (tst-ns_name): Link with -lresolv.
1361         (tst-ns_name.out): Depend on the input data file.
1363 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1365         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1366         Clobber also r14.
1368 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1370         [BZ #21253]
1371         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1372         slack space by 32KiB.
1374 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1376         [BZ #21338]
1377         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1378         instead of incorrect do_set_arena_test
1380 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1382         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1383         * math/bits/math-finite.h: Likewise.
1385 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1387         [BZ #21289]
1388         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1390 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1392         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1393         non expected inotify_add_watch and quotactl return.
1395 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1397         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1398         to int32_t.
1399         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1400         as returning int32_t.
1402 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1404         * math/math.h: Include bits/math-finite.h once per
1405         floating-point type.
1406         * math/bits/math-finite.h: Macroize all declarations by
1407         floating-point type.
1409 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1411         [BZ #21182]
1412         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1413         near end of a page.
1414         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1415         overflow calculation.
1417 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1419         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1420         (IMPL) Call with 1 instead of 0 as argument.
1422 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1424         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1425         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1426         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1427         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1428         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1429         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1430         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1431         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1432         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1433         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1434         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1435         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1436         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1437         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1438         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1439         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1440         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1441         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1442         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1443         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1444         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1445         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1446         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1447         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1448         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1449         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1450         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1451         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1452         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1453         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1454         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1456         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1457         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1458         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1459         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1460         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1461         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1462         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1463         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1464         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1465         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1466         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1467         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1468         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1469         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1470         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1472         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1473         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1474         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1476         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1477         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1478         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1479         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1480         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1481         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1482         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1483         defined.
1484         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1485         __NR_setgroups32 if defined.
1486         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1487         if defined.
1488         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1489         __NR_setresgid32 is defined.
1490         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1491         __NR_setresuid32 if defined.
1492         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1493         __NR_setreuid32 if defined.
1494         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1495         defined.
1496         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1497         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1498         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1499         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1500         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1501         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1502         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1503         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1504         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1505         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1506         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1507         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1508         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1509         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1510         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1511         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1512         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1513         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1514         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1515         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1516         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1517         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1518         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1519         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1520         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1521         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1522         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1523         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1524         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1525         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1526         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1527         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1528         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1529         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1530         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1531         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1532         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1533         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1534         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1535         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1536         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1537         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1538         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1539         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1540         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1541         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1542         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1543         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1544         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1545         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1546         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1547         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1548         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1549         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1550         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1551         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1552         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1553         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1554         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1555         defined.
1556         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1557         __NR_setgroups32 if defined.
1558         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1559         if defined.
1560         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1561         __NR_setresgid32 is defined.
1562         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1563         __NR_setresuid32 if defined.
1564         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1565         __NR_setreuid32 if defined.
1566         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1567         defined.
1569 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1571         [BZ #21277]
1572         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1573         unconditionally.
1574         (IMAXBEL): Likewise.
1575         (IUTF8): Likewise.
1577 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1579         * sysdeps/aarch64/libm-test-ulps: Update.
1581 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1583         * README.tunables: Updated descriptions.
1584         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1585         * scripts/gen-tunables.awk: Updated the code related to the
1586         commit.
1588 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1590         * benchtests/Makefile (string-benchset): Add memcpy-random.
1591         * benchtests/bench-memcpy-random.c: New file.
1593 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1595         * stdio-common/printf.h (register_printf_modifier): Change the
1596         order of __wur and __THROW.
1597         (register_printf_type): Likewise.
1599 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1601         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1602         test_main ().
1603         (CMDLINE_PROCESS): Use function instead of defined macro.
1604         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1605         <suppport/support.h> to use set_fortify_handler().
1606         * string/bug-envz1.c: Import support/test-driver.c instead of
1607         test-skeleton.c.
1608         * string/bug-strcoll2.c: Likewise.
1609         * string/bug-strtok1.c: Likewise.
1610         * string/stratcliff.c: Likewise.
1611         * string/test-ffs.c: Likewise.
1612         * string/test-memccpy.c: Likewise.
1613         * string/test-memchr.c: Likewise.
1614         * string/test-memcmp.c: Likewise.
1615         * string/test-memcpy.c: Likewise.
1616         * string/test-memmem.c: Likewise.
1617         * string/test-memmove.c: Likewise.
1618         * string/test-memrchr.c: Likewise.
1619         * string/test-memset.c: Likewise.
1620         * string/test-rawmemchr.c: Likewise.
1621         * string/test-strcasecmp.c: Likewise.
1622         * string/test-strcasestr.c: Likewise.
1623         * string/test-strcat.c: Likewise.
1624         * string/test-strchr.c: Likewise.
1625         * string/test-strcmp.c: Likewise.
1626         * string/test-strcpy.c: Likewise.
1627         * string/test-string.h: Likewise.
1628         * string/test-strlen.c: Likewise.
1629         * string/test-strncasecmp.c: Likewise.
1630         * string/test-strncat.c: Likewise.
1631         * string/test-strncmp.c: Likewise.
1632         * string/test-strncpy.c: Likewise.
1633         * string/test-strnlen.c: Likewise.
1634         * string/test-strpbrk.c: Likewise.
1635         * string/test-strrchr.c: Likewise.
1636         * string/test-strspn.c: Likewise.
1637         * string/test-strstr.c: Likewise.
1638         * string/tst-bswap.c: Likewise.
1639         * string/tst-cmp.c: Likewise.
1640         * string/tst-endian.c: Likewise.
1641         * string/tst-inlcall.c: Likewise.
1642         * string/tst-strcoll-overflow.c: Likewise.
1643         * string/tst-strfry.c: Likewise.
1644         * string/tst-strlen.c: Likewise.
1645         * string/tst-strtok.c: Likewise.
1646         * string/tst-strtok_r.c: Likewise.
1647         * string/tst-strxfrm.c: Likewise.
1648         * string/tst-strxfrm2.c: Likewise.
1649         * string/tst-svc.c: Likewise.
1650         * string/tst-svc2.c: Likewise.
1652 2017-03-22  Zack Weinberg  <zackw@panix.com>
1654         * stdio-common/bug25.c: Include stdlib.h.
1655         * support/tst-support_format_dns_packet.c: Include stdio.h,
1656         stdlib.h, and string.h.
1657         * support/tst-support_record_failure.c: Include string.h.
1658         * support/tst-support_record_failure-2.sh: Adjust line number
1659         expectations and correct a typo in an error message.
1661 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1663         [BZ #21258]
1664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1665         Define only if _dl_runtime_resolve is defined to
1666         _dl_runtime_resolve_sse_vex.
1667         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1668         Fallthrough to _dl_runtime_resolve_sse_vex.
1670 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1672         * INSTALL: Regenerated.
1674 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1676         * config.h.in: Add LINK_OBSOLETE_NSL.
1677         * config.make.in: Add build-obsolete-nsl.
1678         * configure.ac: Add obsolete-nsl option.
1679         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1680         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1681         * include/rpcsvc/nislib.h: Likewise.
1682         * include/rpcsvc/ypclnt.h: Likewise.
1683         * manual/install.texi: Document --enable-obsolete-nsl.
1684         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1685         * nis/nis_add.c: Replace libnsl_hidden_def with
1686         libnsl_hidden_nolink_def.
1687         * nis/nis_addmember.c: Likewise.
1688         * nis/nis_call.c: Likewise.
1689         * nis/nis_clone_obj.c: Likewise.
1690         * nis/nis_defaults.c: Likeise.
1691         * nis/nis_domain_of_r.c: Likewise.
1692         * nis/nis_error.c: Likewise.
1693         * nis/nis_file.c: Likewise.
1694         * nis/nis_free.c: Likewise.
1695         * nis_local_names.c: Likewise.
1696         * nis/nis_lookup.c: Likewise.
1697         * nis/nis_modify.c: Likewise.
1698         * nis/nis_print.c: Likewise.
1699         * nis/nis_remove.c: Likewise.
1700         * nis/nis_table.c: Likewise.
1701         * nis/nis_util.c: Likewise.
1702         * nis/nis_xdr.c: Likewise.
1703         * nis/yp_xdr.c: Likewise.
1704         * nis/ypclnt.c: Likewise.
1705         * nis/ypupdate_xdr.c: Likewise.
1706         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1707         * nis/nis_clone_dir.c: Likewise.
1708         * nis/nis_clone_res.c: Likewise.
1709         * nis/nis_creategroup.c: Likewise.
1710         * nis/nis_destroygroup.c: Likewise.
1711         * nis/nis_domain_of.c: Likewise.
1712         * nis/nis_getservlist.c: Likewise.
1713         * nis/nis_ismember.c: Likewise.
1714         * nis/nis_mkdir.c: Likewise.
1715         * nis/nis_ping.c: Likewise.
1716         * nis/nis_print_group_entry.c: Likewise.
1717         * nis/nis_removemember.c: Likewise.
1718         * nis/nis_rmdir.c: Likewise.
1719         * nis/nis_server.c: Likewise.
1720         * nis/nis_subr.c: Likewise.
1721         * nis/nis_verifygroup.c: Likewise.
1723 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1725         * malloc/tst-interpose-aux.c (check_for_allocations):
1726         Move compiler barrier before free.
1728 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1730         [BZ #21279]
1731         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1732         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1733         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1734         x86_64-x32-linux.
1735         (mq_attr.mq_maxmsg): Likewise.
1736         (mq_attr.mq_msgsize): Likewise.
1737         (mq_attr.mq_curmsgs): Likewise.
1739         [BZ #21278]
1740         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1741         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1742         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1743         mips-o32-linux.
1745         [BZ #21268]
1746         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1747         if [__USE_MISC]
1748         (NL3): Likewise.
1750 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1752         [BZ #21275]
1753         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1754         __stack to __stackbase.
1755         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1756         checks so we can include defined(__ia64__) first.
1758 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1760         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1761         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1762         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1763         Call is_pty when the link does not exist or does not match, fail
1764         with ENODEV when it returns true.
1765         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1766         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1767         Call is_pty when the link does not exist or does not match, fail
1768         with ENODEV when it returns true.
1770 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1772         [BZ #16437]
1773         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1774         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1775         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1776         x86_64-x32-linux.
1777         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1778         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1779         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1781         [BZ #21261]
1782         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1783         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1784         names for all fields.
1785         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1786         for jmp_buf field renaming.
1787         (_JMPBUF_UNWINDS_ADJ): Likewise.
1789         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1790         with allow-header.
1792 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1794         * malloc/malloc.c (unlink): Add consistency check between size and
1795         next->prev->size, to further harden against 1-byte overflows.
1797 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1799         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1800         CPU_FEATURES_CPU_P.
1802 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1804         [BZ #21259]
1805         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1806         unconditionally, not just for [__USE_MISC].
1808         [BZ #17786]
1809         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1810         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1811         mips-o32-linux.
1813         [BZ #21260]
1814         * sysdeps/unix/sysv/linux/alpha/Makefile
1815         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1816         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1818         * conform/conformtest.pl ($cross): New variable.
1819         (--cross): New command-line option.
1820         (runtest): Skip test execution when cross-compiling.
1821         * conform/Makefile (conformtest-cross): New variable.
1822         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1823         conformtest.pl.
1825         * conform/conformtest.pl ($xfail_str): New variable.
1826         (--xfail=): New command-line option.
1827         (top level): Handle expectations starting xfail[cond]-.
1828         * conform/Makefile (conformtest-xfail): New variable.
1829         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1830         conformtest.pl.
1832 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1834         * conform/conformtest.pl: Use compilation instead of execution
1835         tests for testing values of constants and usability in #if.
1837 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1839         * math/auto-libm-test-in: Mark some catan and catanh as
1840         xfail-rounding:ibm128-libgcc.
1841         * math/auto-libm-test-out-catan: Regenerate.
1842         * math/auto-libm-test-out-catanh: Likewise.
1844 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1846         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1847         (__END_NAMESPACE_STD): Likewise.
1848         (__USING_NAMESPACE_STD): Likewise.
1849         (__BEGIN_NAMESPACE_C99): Likewise.
1850         (__END_NAMESPACE_C99): Likewise.
1851         (__USING_NAMESPACE_C99): Likewise.
1852         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1853         undefine macro.
1854         (_Mdouble_END_NAMESPACE): Likewise.
1855         * ctype/ctype.h: Do not handle C++ namespaces.
1856         * libio/bits/stdio-ldbl.h: Likewise.
1857         * libio/stdio.h: Likewise.
1858         * locale/locale.h: Likewise.
1859         * math/bits/mathcalls.h: Likewise.
1860         * setjmp/setjmp.h: Likewise.
1861         * signal/signal.h: Likewise.
1862         * stdlib/bits/stdlib-float.h: Likewise.
1863         * stdlib/bits/stdlib-ldbl.h: Likewise.
1864         * stdlib/stdlib.h: Likewise.
1865         * string/string.h: Likewise.
1866         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1867         * time/bits/types/clock_t.h: Likewise.
1868         * time/bits/types/struct_tm.h: Likewise.
1869         * time/bits/types/time_t.h: Likewise.
1870         * time/time.h: Likewise.
1871         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1872         * wcsmbs/uchar.h: Likewise.
1873         * wcsmbs/wchar.h: Likewise.
1874         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1875         * wctype/wctype.h: Do not handle C++ namespaces.
1876         * scripts/begin-end-check.pl: Remove.
1877         * Makefile (installed-headers): Likewise.
1878         (tests-special): Do not add $(objpfx)begin-end-check.out.
1879         ($(objpfx)begin-end-check.out): Remove.
1881 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1882             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1884         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1885         (DL_PLATFORM_INIT): New define.
1886         (dl_platform_init): New function.
1887         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1888         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1889         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1890         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1891         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1893 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1895         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1896         instead of PIC.
1898 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1900         [BZ #21094]
1901         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1902         24+24+24-bit pi for wider range of values around pi/2.
1903         * math/auto-libm-test-in: Add more tests of cos and tan.
1904         * math/auto-libm-test-out-cos: Regenerated.
1905         * math/auto-libm-test-out-tan: Likewise.
1907 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1909         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1910         (RTLD_START): Don't record stack end address in _dl_start_user.
1912 2017-03-15  Alexey Neyman  <stilor@att.net>
1914         [BZ #21088]
1915         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1916         around definitions match those around use.
1918 2017-03-15  Alexey Neyman  <stilor@att.net>
1920         * configure.ac: Avoid empty subexpression in grep.
1921         * configure: Regenerate.
1923 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1925         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1926         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1927         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1928         (test_wrp_rv): Fix format.
1929         (test_wrp_rv2): New macro.
1930         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1931         binaries.
1933 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1935         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1936         Use a union when storing pointers.
1937         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1938         cast result when passing to INIT_VEC_PTRS_LOOP.
1939         (VECTOR_WRAPPER_fFF_3): Likewise.
1940         (VECTOR_WRAPPER_fFF_4): Likewise.
1942 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1944         * include/bits/mathcalls-helper-functions.h: New file.
1945         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1946         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1947         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1948         math/bits/mathcalls-helper-functions.h.
1949         * math/bits/mathcalls-helper-functions.h: New file.
1950         * math/math.h: Include bits/mathcalls-helper-functions.h for
1951         float, double, and long double.
1953 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1955         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1956         instead of feraiseexcept.
1958 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1960         [BZ #21243]
1961         * support/temp_file.c (support_delete_temp_files): Add comment
1962         about ignored errors.
1964 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1966         [BZ #21244]
1967         * support/xclose.c: New file.
1968         * support/Makefile (libsupport-routines): Add xclose.
1969         * support/xunistd.h (xclose): Declare.
1970         * support/resolv_test.c (server_thread_tcp_client)
1971         (server_thread_tcp, make_server_sockets, resolv_test_start)
1972         (resolv_test_end): Call xclose instead of close.
1973         * support/support_enter_network_namespace.c
1974         (support_enter_network_namespace): Likewise.
1975         * support/support_run_diff.c (write_to_temp_file): Likewise.
1977 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1979         * support/support_format_dns_packet.c (support_format_dns_packet):
1980         Handle CNAME records in the response.  Extract RDATA names from
1981         rdata, not the whole packet.  Check AAAA record length.
1982         * support/tst-support_format_dns_packet.c: New file.
1983         * support/Makefile (tests): Add tst-support_format_dns_packet.
1984         (tst-support_format_dns_packet): Link against libresolv.
1986 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1988         [BZ #21232]
1989         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1990         posix_fadvise64 weak_alias for static build.
1992 2017-03-14  Andreas Schwab  <schwab@suse.de>
1994         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1995         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1996         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1997         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1998         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1999         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2000         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2001         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2003 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2005         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2006         posix error code.
2007         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2009 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2011         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2012         no_isolate usage for SH.
2014 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2016         [BZ #15105]
2017         [BZ #19463]
2018         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2019         * inet/rcmd.c (rcmd_af): Likewise.
2020         * inet/rexec.c   (rexec_af): Likewise.
2021         * intl/dcigettext.c (_LIBC): Likewise.
2022         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2023         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2024         * locale/setlocale.c (setlocale): Likewise.
2025         * posix/spawn_faction_addopen.c
2026         (posix_spawn_file_actions_addopen): Likewise.
2027         * stdlib/putenv.c (putenv): Use __strndup.
2028         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2030         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2031         (__Need_M_And_C) Remove define/undef.
2032         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2033         (__malloc_and_calloc_defined): Remove define.
2034         * string/bits/string2.h (__strdup): Remove define.
2035         (strdup): Likewise.
2036         (__strndup): Likewise.
2037         (strndup): Likewise.
2039 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2041         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2042         macro.
2043         (IPV6_ADDR_PREFERENCES): Likewise.
2044         (IPV6_MINHOPCOUNT): Likewise.
2045         (IPV6_ORIGDSTADDR): Likewise.
2046         (IPV6_RECVORIGDSTADDR): Likewise.
2047         (IPV6_TRANSPARENT): Likewise.
2048         (IPV6_UNICAST_IF): Likewise.
2049         (IPV6_RECVFRAGSIZE): Likewise.
2051 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2053         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2055 2017-03-12  Alexey Neyman <stilor@att.net>
2057         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2058         in R_SH_DIR32 case is always false when inlined from
2059         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2061 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2063         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2064         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2065         __ASSUME_SEND_SYSCALL.
2067 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2069         * sunrpc/Makefile: don't build and install rpcsvc header
2070         files, rpcgen and librpcsvc.a by default.
2072 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2074         * math/auto-libm-test-out-catan: Regenerated.
2075         * math/auto-libm-test-out-catanh: Likewise.
2076         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2078 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2080         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2081         for long double with corrected test expectations.
2083 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2085         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2086         Define.
2087         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2088         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2089         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2090         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2091         * sysdeps/unix/sysv/linux/tile/sysdep.h
2092         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2094         (__ASSUME_RECV_SYSCALL): Define.
2095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2096         (__ASSUME_RECV_SYSCALL): Likewise.
2097         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2098         (__ASSUME_RECV_SYSCALL): Likewise.
2099         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2100         (__ASSUME_RECV_SYSCALL): Likewise.
2101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2102         (__ASSUME_RECV_SYSCALL): Likewise.
2103         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2104         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2106         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2107         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2108         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2109         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2110         auto-generation list.
2111         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2112         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2113         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2114         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2115         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2116         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2117         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2118         __ASSUME_SENDTO_SYSCALL.
2119         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2120         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2121         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2123         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2124         auto-generation list.
2125         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2126         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2127         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2128         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2129         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2130         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2132         * sysdeps/unix/sysv/linux/kernel-features.h
2133         (__ASSUME_SENDTO_SYSCALL): Define by default.
2134         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2135         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2136         __NR_sendto.
2137         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2138         (__ASSUME_SENDTO_SYSCALL): Likewise.
2139         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2140         (__ASSUME_SENDTO_SYSCALL): Likewise.
2141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2142         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2143         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2144         (__ASSUME_SENDTO_SYSCALL): Likewise.
2145         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2146         (__ASSUME_SENDTO_SYSCALL): Likewise.
2147         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2149         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2150         auto-generation list.
2151         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2152         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2153         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2154         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2155         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2156         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2157         (__ASSUME_RECV_SYSCALL): New define.
2158         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2159         (__ASSUME_RECV_SYSCALL): Likewise.
2160         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2161         (__ASSUME_RECV_SYSCALL): Likewise.
2162         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2163         (__ASSUME_RECV_SYSCALL): Likewise.
2164         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2165         (__ASSUME_RECV_SYSCALL): Likewise.
2166         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2167         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2168         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2169         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2170         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2171         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2172         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2173         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2174         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2175         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2176         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2177         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2179         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2180         auto-generation list.
2181         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2182         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2183         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2184         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2185         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2186         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2188         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2189         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2190         * sysdeps/unix/sysv/linux/kernel-features.h
2191         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2192         __NR_recvfrom.
2193         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2194         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2195         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2196         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2197         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2198         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2199         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2200         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2201         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2202         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2203         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2204         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2205         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2208         auto-generation list.
2209         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2210         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2211         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2212         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2213         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2214         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2215         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2216         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2217         * sysdeps/unix/sysv/linux/kernel-features.h
2218         (__ASSUME_CONNECT_SYSCALL): Define.
2219         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2220         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2222         (__ASSUME_CONNECT_SYSCALL): Likewise.
2223         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2224         (__ASSUME_CONNECT_SYSCALL): Likewise.
2225         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2226         (__ASSUME_CONNECT_SYSCALL): Likewise.
2228         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2229         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2230         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2231         auto-generation list.
2232         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2233         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2234         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2235         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2236         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2237         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2238         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2239         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2240         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2241         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2242         * sysdeps/unix/sysv/linux/kernel-features.h
2243         (__ASSUME_ACCEPT_SYSCALL): New define.
2244         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2245         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2246         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2247         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2248         (__ASSUME_ACCEPT_SYSCALL): Define.
2249         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2250         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2251         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2252         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2253         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2254         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2255         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2256         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2257         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2259 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2260             Zack Weinberg  <zackw@panix.com>
2262         * posix/test-errno.c: New file.
2263         * posix/Makefile (tests): Add test-errno.
2264         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2265         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2267 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2269         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2271 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2273         * time/tzset.c (compute_offset): Open-code min macro.
2274         (min, max, sign): Remove.
2276 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2278         [BZ #15576]
2279         Remove TZNAME_MAX limit from sysconf.
2280         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2281         declaration.
2282         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2283         compute_tzname_max.
2284         (compute_tzname_max): Remove.
2285         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2286         (update_vars): Do not update __tzname_cur_max.
2287         (tzset_internal): Remove argument.
2288         (__tzset): Adjust call to tzset_internal.
2289         (__tz_convert): Likewise.
2291         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2292         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2293         * manual/conf.texi (Sysconf Definition): Update comment.
2295 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2297         [BZ #21209]
2298         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2299         AT_SECURE processes.
2300         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2301         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2302         (test_child): Likewise.
2303         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2305 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2307         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2309 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2311         * sysdeps/s390/atomic-machine.h
2312         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2313         (__arch_compare_and_exchange_val_8_acq,
2314         __arch_compare_and_exchange_val_16_acq,
2315         __arch_compare_and_exchange_val_32_acq,
2316         __arch_compare_and_exchange_val_64_acq):
2317         Delete macro.
2318         (atomic_compare_and_exchange_val_acq,
2319         atomic_compare_and_exchange_val_rel,
2320         atomic_compare_and_exchange_bool_acq,
2321         catomic_compare_and_exchange_bool_acq,
2322         atomic_exchange_acq, atomic_exchange_rel,
2323         atomic_exchange_and_add_acq,
2324         atomic_exchange_and_add_rel,
2325         catomic_exchange_and_add, atomic_or_val,
2326         atomic_or, catomic_or, atomic_bit_test_set,
2327         atomic_and_val, atomic_and, catomic_and):
2328         Define macros with help of C11 atomic builtins.
2330 2017-03-03  Justus Winter <justus@gnupg.org>
2332         * sysdeps/mach/hurd/ftruncate64.c: New file.
2333         * sysdeps/mach/hurd/truncate64.c: Likewise.
2335 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2337         * time/tzfile.c (NOID): Do not define.
2338         * time/tzset.c (NOID): Likewise.
2340 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2342         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2344 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2346         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2348 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2350         [BZ #21015]
2351         * manual/install.texi (Configuring and compiling): Document
2352         --enable-bind-now.
2353         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2354         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2355         (format.lds): Likewise.
2356         [bind-now] (LDFLAGS-c.so): Remove.
2357         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2358         be R_X86_64_GLOB_DAT.
2359         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2360         relocation can be R_386_GLOB_DAT.
2361         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2362         relocaiton can be R_ALPHA_GLOB_DAT.
2363         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2365 2017-03-01  Zack Weinberg  <zackw@panix.com>
2367         * include/libc-pointer-arith.h: New file.  Define
2368         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2369         PTR_ALIGN_DOWN here.
2370         * include/libc-internal.h: Definitions of above macros
2371         moved from here.  Don't include libc-diag.h anymore either.
2372         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2373         Don't include libc-internal.h.
2375         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2376         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2377         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2378         * string/strcoll_l.c, sysdeps/nacl/brk.c
2379         * sysdeps/unix/clock_settime.c
2380         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2381         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2384         Don't include libc-internal.h.
2386         * elf/get-dynamic-info.h, iconv/loop.c
2387         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2388         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2389         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2390         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2391         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2393         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2394         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2395         * sysdeps/ieee754/ldbl-128/k_tanl.c
2396         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2398         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2399         Include libc-diag.h instead of libc-internal.h.
2401         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2402         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2403         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2404         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2405         * sysdeps/unix/sysv/linux/spawni.c
2406         * sysdeps/x86_64/nptl/tls.h:
2407         Include libc-pointer-arith.h instead of libc-internal.h.
2409         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2410         * sysdeps/x86_64/atomic-machine.h:
2411         Add multiple include guard.
2413         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2414         * string/strcasestr.c: No need to include config.h.
2415         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2416         sys/auxv.h. Don't include sysdep.h.
2417         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2419         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2420         DL_LOOKUP_ADDRESS.
2421         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2422         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2423         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2424         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2425         of ARTIFICIAL_LIMIT.
2426         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2427         declaration of __clone2.
2429 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2431         * scripts/backport-support.sh (latest_commit): New file.
2433 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2435         [BZ #20257]
2436         * inet/Makefile (routines): Add deadline.
2437         (tests-static): Add tst-deadline.
2438         * inet/net-internal.h (struct deadline_current_time)
2439         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2440         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2441         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2442         * inet/deadline.c: New file.
2443         * inet/tst-deadline.c: Likewise.
2444         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2445         tst-udp-timeout, tst-udp-garbage.
2446         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2447         explicitly.
2448         (tst-udp-garbage): Likewise.  Also link against thread library.
2449         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2450         struct layout is part of the ABI.
2451         (clntudp_call): Rework timeout handling.
2452         * sunrpc/tst-udp-garbage.c: New file.
2453         * sunrpc/tst-udp-nonblocking.c: Likewise.
2454         * sunrpc/tst-udp-timeout.c: Likewise.
2456 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2458         [BZ #5010]
2459         * sunrpc/svc.c (svc_is_mapped): Remove.
2460         (svc_unregister): Obtain mapped status while the service is still
2461         registered.
2462         * sunrpc/Makefile [have-thread-library] (tests): Add
2463         tst-svc_register.
2464         (tst-svc_register): Link against libc.so explicitly and the thread
2465         library.
2466         * sunrpc/tst-svc_register.c: New file.
2468 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2470         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2471         * sysdeps/pthread/bits/sigthread.h: Likewise.
2473 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2475         [BZ #21115]
2476         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2477         * sunrpc/Makefile (tests): Add tst-udp-error.
2478         (tst-udp-error): Link against libc.so explicitly.
2479         * sunrpc/tst-udp-error: New file.
2481 2017-02-25  Zack Weinberg  <zackw@panix.com>
2483         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2484         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2486         * sysdeps/generic/math_ldbl.h
2487         * sysdeps/ia64/fpu/math_ldbl.h
2488         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2490         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2491         * sysdeps/powerpc/fpu/math_ldbl.h
2492         * sysdeps/x86_64/fpu/math_ldbl.h:
2493         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2494         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2495         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2496         Add copyright notices.
2498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2499         Don't use EXTRACT_WORDS64.
2501         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2502         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2503         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2504         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2505         Include math_ldbl.h, not math_private.h.
2507 2017-02-25  Zack Weinberg  <zackw@panix.com>
2509         * include/libc-diag.h: New file.  Define ignore_value,
2510         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2511         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2513         * include/libc-internal.h: Definitions of above macros moved from
2514         here.  Include libc-diag.h.  Add copyright notice.
2516         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2517         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2518         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2519         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2520         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2521         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2522         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2523         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2524         Include libc-diag.h instead of libc-internal.h.
2526         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2527         call to unsetenv (NULL).
2528         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2529         call to pthread_mutexattr_destroy (NULL).
2531 2017-02-25  Zack Weinberg  <zackw@panix.com>
2533         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2534         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2535         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2536         gets was removed from C++ in C++14.
2537         * include/stdio.h: Remove redundant declaration of gets.
2538         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2539         be declared, since we are testing it.
2540         * stdio-common/Makefile (tst-gets.c): Compile with
2541         -Wno-deprecated-declarations.
2542         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2543         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2544         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2545         Compile with -Wno-deprecated-declarations.
2547 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2549         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2550         numbers.
2552 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2554         * resolv/tst-resolv-qtypes.c (domain):
2555         Change type to const pointer to const char.
2557 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2559         * math/Makefile (libm-tests-generated): Remove variable.
2560         (libm-tests-base-normal): New variable.
2561         (libm-tests-base-finite): Likewise.
2562         (libm-tests-base-inline): Likewise.
2563         (libm-tests-base): Likewise.
2564         (libm-tests-normal): Likewise.
2565         (libm-tests-finite): Likewise.
2566         (libm-tests-inline): Likewise.
2567         (libm-tests-vector): Likewise.
2568         (libm-tests): Define in terms of these new variables.
2569         (libm-tests-for-type): New variable.
2570         (libm-tests.o): Move definition.
2571         (tests): Move addition of $(libm-tests).
2572         (generated): Update for new and removed libm test files.
2573         ($(objpfx)libm-test.c): Remove target.
2574         ($(objpfx)libm-have-vector-test.h): Likewise.
2575         (CFLAGS-test-double-vlen2.c): Remove variable.
2576         (CFLAGS-test-double-vlen4.c): Likewise.
2577         (CFLAGS-test-double-vlen8.c): Likewise.
2578         (CFLAGS-test-float-vlen4.c): Likewise.
2579         (CFLAGS-test-float-vlen8.c): Likewise.
2580         (CFLAGS-test-float-vlen16.c): Likewise.
2581         (CFLAGS-test-float.c): Likewise.
2582         (CFLAGS-test-float-finite.c): Likewise.
2583         (CFLAGS-libm-test-support-float.c): Likewise.
2584         (CFLAGS-test-double.c): Likewise.
2585         (CFLAGS-test-double-finite.c): Likewise.
2586         (CFLAGS-libm-test-support-double.c): Likewise.
2587         (CFLAGS-test-ldouble.c): Likewise.
2588         (CFLAGS-test-ldouble-finite.c): Likewise.
2589         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2590         (libm-test-inline-cflags): New variable.
2591         (CFLAGS-test-ifloat.c): Remove variable.
2592         (CFLAGS-test-idouble.c): Likewise.
2593         (CFLAGS-test-ildouble.c): Likewise.
2594         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2595         dependencies.
2596         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2597         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2598         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2599         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2600         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2601         Likewise.
2602         (dependencies on libm-test-support-*.o): Remove.
2603         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2604         rules using iterators.
2605         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2606         Likewise.
2607         ($(objpfx)libm-test-support-$(o).o): Likewise.
2608         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2609         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2610         instead.
2611         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2612         define rule instead.
2613         * math/README.libm-test: Update.
2614         * math/libm-test-acos.inc: Include libm-test-driver.c.
2615         (do_test): New function.
2616         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2617         (do_test): New function.
2618         * math/libm-test-asin.inc: Include libm-test-driver.c.
2619         (do_test): New function.
2620         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2621         (do_test): New function.
2622         * math/libm-test-atan.inc: Include libm-test-driver.c.
2623         (do_test): New function.
2624         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2625         (do_test): New function.
2626         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2627         (do_test): New function.
2628         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2629         (do_test): New function.
2630         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2631         (do_test): New function.
2632         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2633         (do_test): New function.
2634         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2635         (do_test): New function.
2636         * math/libm-test-carg.inc: Include libm-test-driver.c.
2637         (do_test): New function.
2638         * math/libm-test-casin.inc: Include libm-test-driver.c.
2639         (do_test): New function.
2640         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2641         (do_test): New function.
2642         * math/libm-test-catan.inc: Include libm-test-driver.c.
2643         (do_test): New function.
2644         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2645         (do_test): New function.
2646         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2647         (do_test): New function.
2648         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2649         (do_test): New function.
2650         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2651         (do_test): New function.
2652         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2653         (do_test): New function.
2654         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2655         (do_test): New function.
2656         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2657         (do_test): New function.
2658         * math/libm-test-clog.inc: Include libm-test-driver.c.
2659         (do_test): New function.
2660         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2661         (do_test): New function.
2662         * math/libm-test-conj.inc: Include libm-test-driver.c.
2663         (do_test): New function.
2664         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2665         (do_test): New function.
2666         * math/libm-test-cos.inc: Include libm-test-driver.c.
2667         (do_test): New function.
2668         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2669         (do_test): New function.
2670         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2671         (do_test): New function.
2672         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2673         (do_test): New function.
2674         * math/libm-test-creal.inc: Include libm-test-driver.c.
2675         (do_test): New function.
2676         * math/libm-test-csin.inc: Include libm-test-driver.c.
2677         (do_test): New function.
2678         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2679         (do_test): New function.
2680         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2681         (do_test): New function.
2682         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2683         (do_test): New function.
2684         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2685         (do_test): New function.
2686         * math/libm-test-erf.inc: Include libm-test-driver.c.
2687         (do_test): New function.
2688         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2689         (do_test): New function.
2690         * math/libm-test-exp.inc: Include libm-test-driver.c.
2691         (do_test): New function.
2692         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2693         (do_test): New function.
2694         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2695         (do_test): New function.
2696         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2697         (do_test): New function.
2698         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2699         (do_test): New function.
2700         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2701         (do_test): New function.
2702         * math/libm-test-floor.inc: Include libm-test-driver.c.
2703         (do_test): New function.
2704         * math/libm-test-fma.inc: Include libm-test-driver.c.
2705         (do_test): New function.
2706         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2707         (do_test): New function.
2708         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2709         (do_test): New function.
2710         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2711         (do_test): New function.
2712         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2713         (do_test): New function.
2714         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2715         (do_test): New function.
2716         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2717         (do_test): New function.
2718         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2719         (do_test): New function.
2720         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2721         (do_test): New function.
2722         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2723         (do_test): New function.
2724         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2725         (do_test): New function.
2726         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2727         (do_test): New function.
2728         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2729         (do_test): New function.
2730         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2731         (do_test): New function.
2732         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2733         (do_test): New function.
2734         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2735         (do_test): New function.
2736         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2737         (do_test): New function.
2738         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2739         (do_test): New function.
2740         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2741         (do_test): New function.
2742         * math/libm-test-isless.inc: Include libm-test-driver.c.
2743         (do_test): New function.
2744         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2745         (do_test): New function.
2746         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2747         (do_test): New function.
2748         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2749         (do_test): New function.
2750         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2751         (do_test): New function.
2752         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2753         (do_test): New function.
2754         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2755         (do_test): New function.
2756         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2757         (do_test): New function.
2758         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2759         (do_test): New function.
2760         * math/libm-test-j0.inc: Include libm-test-driver.c.
2761         (do_test): New function.
2762         * math/libm-test-j1.inc: Include libm-test-driver.c.
2763         (do_test): New function.
2764         * math/libm-test-jn.inc: Include libm-test-driver.c.
2765         (do_test): New function.
2766         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2767         (do_test): New function.
2768         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2769         (do_test): New function.
2770         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2771         (do_test): New function.
2772         * math/libm-test-llround.inc: Include libm-test-driver.c.
2773         (do_test): New function.
2774         * math/libm-test-log.inc: Include libm-test-driver.c.
2775         (do_test): New function.
2776         * math/libm-test-log10.inc: Include libm-test-driver.c.
2777         (do_test): New function.
2778         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2779         (do_test): New function.
2780         * math/libm-test-log2.inc: Include libm-test-driver.c.
2781         (do_test): New function.
2782         * math/libm-test-logb.inc: Include libm-test-driver.c.
2783         (do_test): New function.
2784         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2785         (do_test): New function.
2786         * math/libm-test-lround.inc: Include libm-test-driver.c.
2787         (do_test): New function.
2788         * math/libm-test-modf.inc: Include libm-test-driver.c.
2789         (do_test): New function.
2790         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2791         (do_test): New function.
2792         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2793         (do_test): New function.
2794         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2795         (do_test): New function.
2796         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2797         (do_test): New function.
2798         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2799         (do_test): New function.
2800         * math/libm-test-pow.inc: Include libm-test-driver.c.
2801         (do_test): New function.
2802         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2803         (do_test): New function.
2804         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2805         (do_test): New function.
2806         * math/libm-test-rint.inc: Include libm-test-driver.c.
2807         (do_test): New function.
2808         * math/libm-test-round.inc: Include libm-test-driver.c.
2809         (do_test): New function.
2810         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2811         (do_test): New function.
2812         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2813         (do_test): New function.
2814         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2815         (do_test): New function.
2816         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2817         (do_test): New function.
2818         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2819         (do_test): New function.
2820         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2821         (do_test): New function.
2822         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2823         (do_test): New function.
2824         * math/libm-test-significand.inc: Include libm-test-driver.c.
2825         (do_test): New function.
2826         * math/libm-test-sin.inc: Include libm-test-driver.c.
2827         (do_test): New function.
2828         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2829         (do_test): New function.
2830         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2831         (do_test): New function.
2832         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2833         (do_test): New function.
2834         * math/libm-test-tan.inc: Include libm-test-driver.c.
2835         (do_test): New function.
2836         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2837         (do_test): New function.
2838         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2839         (do_test): New function.
2840         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2841         (do_test): New function.
2842         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2843         (do_test): New function.
2844         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2845         (do_test): New function.
2846         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2847         (do_test): New function.
2848         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2849         (do_test): New function.
2850         * math/libm-test-y0.inc: Include libm-test-driver.c.
2851         (do_test): New function.
2852         * math/libm-test-y1.inc: Include libm-test-driver.c.
2853         (do_test): New function.
2854         * math/libm-test-yn.inc: Include libm-test-driver.c.
2855         (do_test): New function.
2856         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2857         (HAVE_VECTOR): Remove macro.
2858         (START): Do not call HAVE_VECTOR.
2859         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2860         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2861         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2862         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2863         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2864         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2865         * math/test-math-vector.h (FUNC_TEST): New macro.
2866         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2867         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2868         (double-vlen4-funcs): Likewise.
2869         (double-vlen4-avx2-funcs): Likewise.
2870         (double-vlen8-funcs): Likewise.
2871         (float-vlen4-funcs): Likewise.
2872         (float-vlen8-funcs): Likewise.
2873         (float-vlen8-avx2-funcs): Likewise.
2874         (float-vlen16-funcs): Likewise.
2875         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2876         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2877         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2878         macro.
2879         (TEST_VECTOR_sin): Likewise.
2880         (TEST_VECTOR_sincos): Likewise.
2881         (TEST_VECTOR_log): Likewise.
2882         (TEST_VECTOR_exp): Likewise.
2883         (TEST_VECTOR_pow): Likewise.
2884         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2885         Likewise.
2886         (TEST_VECTOR_sin): Likewise.
2887         (TEST_VECTOR_sincos): Likewise.
2888         (TEST_VECTOR_log): Likewise.
2889         (TEST_VECTOR_exp): Likewise.
2890         (TEST_VECTOR_pow): Likewise.
2891         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2892         Likewise.
2893         (TEST_VECTOR_sinf): Likewise.
2894         (TEST_VECTOR_sincosf): Likewise.
2895         (TEST_VECTOR_logf): Likewise.
2896         (TEST_VECTOR_expf): Likewise.
2897         (TEST_VECTOR_powf): Likewise.
2898         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2899         Likewise.
2900         (TEST_VECTOR_sinf): Likewise.
2901         (TEST_VECTOR_sincosf): Likewise.
2902         (TEST_VECTOR_logf): Likewise.
2903         (TEST_VECTOR_expf): Likewise.
2904         (TEST_VECTOR_powf): Likewise.
2905         * math/gen-libm-have-vector-test.sh: Remove file.
2906         * math/libm-test.inc: Likewise.
2907         * math/libm-test-support-double.c: Likewise.
2908         * math/libm-test-support-float.c: Likewise.
2909         * math/libm-test-support-ldouble.c: Likewise.
2910         * math/test-double-finite.c: Likewise.: Likewise.
2911         * math/test-double.c: Likewise.
2912         * math/test-float-finite.c: Likewise.
2913         * math/test-float.c: Likewise.
2914         * math/test-idouble.c: Likewise.
2915         * math/test-ifloat.c: Likewise.
2916         * math/test-ildouble.c: Likewise.
2917         * math/test-ldouble-finite.c: Likewise.
2918         * math/test-ldouble.c: Likewise.
2919         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2920         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2922         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2923         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2924         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2928         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2930 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2931            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2933         * math/Makefile: Add wrappers to gen-libm-calls.
2934         * math/w_acos_template.c: New file.
2935         * math/w_acosh_template.c: Likewise.
2936         * math/w_asin_template.c: Likewise.
2937         * math/w_atan2_template.c: Likewise.
2938         * math/w_atanh_template.c: Likewise.
2939         * math/w_cosh_template.c: Likewise.
2940         * math/w_exp10_template.c: Likewise.
2941         * math/w_exp2_template.c: Likewise.
2942         * math/w_exp_template.c: Likewise.
2943         * math/w_fmod_template.c: Likewise.
2944         * math/w_hypot_template.c: Likewise.
2945         * math/w_j0_template.c: Likewise.
2946         * math/w_j1_template.c: Likewise.
2947         * math/w_jn_template.c: Likewise.
2948         * math/w_lgamma_r_template.c: Likewise.
2949         * math/w_lgamma_template.c: Likewise.
2950         * math/w_log10_template.c: Likewise.
2951         * math/w_log2_template.c: Likewise.
2952         * math/w_log_template.c: Likewise.
2953         * math/w_pow_template.c: Likewise.
2954         * math/w_remainder_template.c: Likewise.
2955         * math/w_sinh_template.c: Likewise.
2956         * math/w_sqrt_template.c: Likewise.
2957         * math/w_tgamma_template.c: Likewise.: Likewise.
2958         * sysdeps/generic/math-type-macros-double.h
2959         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2960         the new wrappers.
2961         * sysdeps/generic/math-type-macros-float.h: Likewise.
2962         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2964 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2966         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2967         New enum constant and macro.
2969         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2970         kernel version to 4.10.
2972 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2974         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2976 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2980 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2982         * sysdeps/powerpc/tst-set_ppr.c: New file.
2983         Implement test cases for __ppc_set_ppr_* functions.
2984         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2985         in the list of tests.
2987 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2989         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2990         instead of test-skeleton.c.
2991         (do_test): Replaced pthread_create and pthread_join with
2992         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2993         Removed unneeded status variable.
2994         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2995         instead of test-skeleton.c.
2996         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2998 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3000         [BZ #20313]
3001         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3002         201605L, for Unicode 9.
3004 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3006         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3007         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3008         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3009         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3010         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3011         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3013 2017-02-19  Zack Weinberg  <zackw@panix.com>
3015         * rt/tst-mqueue4.c: Include stdint.h.
3017 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3019         * sysdeps/arm/libm-test-ulps: Update.
3020         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3021         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3022         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3024 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3026         [BZ #21029]
3027         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3028         * sysdeps/unix/sysv/linux/i386/Makefile
3029         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3030         (uses-6-syscall-arguments): Remove.
3031         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3032         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3033         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3034         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3035         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3036         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3037         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3038         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3039         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3040         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3041         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3042         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3043         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3044         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3045         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3046         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3047         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3048         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3049         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3050         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3051         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3052         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3053         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3054         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3055         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3056         Likewise.
3057         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3058         Likewise.
3059         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3060         Likewise.
3061         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3062         Likewise.
3063         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3064         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3065         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3066         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3067         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3068         ebp on inline assembly.
3069         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3070         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3071         Set if CAN_USE_REGISTER_ASM_EBP is set.
3073 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3075         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3076         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3078 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3080         * math/auto-libm-test-in: Add tests of catan and catanh.
3081         * math/auto-libm-test-out-catan: New generated file.
3082         * math/auto-libm-test-out-catanh: Likewise.
3083         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3084         Move tests with finite inputs, except divide-by-zero cases, to
3085         auto-libm-test-in.
3086         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3087         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3088         (libm-test-funcs-noauto): Remove catan and catanh.
3089         * sysdeps/i386/fpu/libm-test-ulps: Update.
3090         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093         * math/auto-libm-test-in: Add tests of casin and casinh.
3094         * math/auto-libm-test-out-casin: New generated file.
3095         * math/auto-libm-test-out-casinh: Likewise.
3096         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3097         Move tests with finite inputs to auto-libm-test-in.
3098         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3099         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3100         (libm-test-funcs-noauto): Remove casin and casinh.
3101         * sysdeps/i386/fpu/libm-test-ulps: Update.
3102         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3105         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3106         * math/auto-libm-test-out-cacos: New generated file.
3107         * math/auto-libm-test-out-cacosh: Likewise.
3108         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3109         Move tests with finite inputs to auto-libm-test-in.
3110         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3111         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3112         (libm-test-funcs-noauto): Remove cacos and cacosh.
3113         * sysdeps/i386/fpu/libm-test-ulps: Update.
3114         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3117         Revert:
3118         2017-02-16  Zack Weinberg  <zackw@panix.com>
3120         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3121         Don't include init-arch.h.
3122         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3123         Don't include init-arch.h.
3125 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3127         [BZ #21171]
3128         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3129         +Inf and raise divide-by-zero when x is negative.
3130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3132         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3133         -Inf and raise divide-by-zero when x = +-0.
3134         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3135         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3136         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3137         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3138         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3139         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3140         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3142 2017-02-16  Zack Weinberg  <zackw@panix.com>
3144         * scripts/build-many-glibcs.py (bot_build_mail): If the
3145         bot_config does not contain all of the necessary email-
3146         related settings, just print a warning and continue.
3148 2017-02-16  Zack Weinberg  <zackw@panix.com>
3150         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3151         * dirent/opendir-tst1.c: Include sys/stat.h.
3152         * dirent/tst-fdopendir.c: Include sys/stat.h.
3153         * dirent/tst-fdopendir2.c: Include stdlib.h.
3154         * dirent/tst-scandir.c: Include stdbool.h.
3155         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3156         * elf/tst-tls15.c: Include stdlib.h.
3157         * elf/tst-tls16.c: Include stdlib.h.
3158         * elf/tst-tls17.c: Include stdlib.h.
3159         * elf/tst-tls18.c: Include stdlib.h.
3160         * iconv/tst-iconv6.c: Include endian.h.
3161         * iconvdata/bug-iconv11.c: Include limits.h.
3162         * io/test-utime.c: Include stdint.h.
3163         * io/tst-faccessat.c: Include sys/stat.h.
3164         * io/tst-fchmodat.c: Include sys/stat.h.
3165         * io/tst-fchownat.c: Include sys/stat.h.
3166         * io/tst-fstatat.c: Include sys/stat.h.
3167         * io/tst-futimesat.c: Include sys/stat.h.
3168         * io/tst-linkat.c: Include sys/stat.h.
3169         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3170         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3171         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3172         * io/tst-openat.c: Include stdbool.h.
3173         * io/tst-readlinkat.c: Include sys/stat.h.
3174         * io/tst-renameat.c: Include sys/stat.h.
3175         * io/tst-symlinkat.c: Include sys/stat.h.
3176         * io/tst-unlinkat.c: Include stdbool.h.
3177         * libio/bug-memstream1.c: Include stdlib.h.
3178         * libio/bug-wmemstream1.c: Include stdlib.h.
3179         * libio/tst-fwrite-error.c: Include stdlib.h.
3180         * libio/tst-memstream1.c: Include stdlib.h.
3181         * libio/tst-memstream2.c: Include stdlib.h.
3182         * libio/tst-memstream3.c: Include stdlib.h.
3183         * malloc/tst-interpose-aux.c: Include stdint.h.
3184         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3185         * nptl/tst-basic7.c: Include limits.h.
3186         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3187         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3188         * nptl/tst-cancel4_1.c: Include stddef.h.
3189         * nptl/tst-cancel4_2.c: Include stddef.h.
3190         * nptl/tst-cond16.c: Include limits.h.
3191         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3192         * nptl/tst-cond18.c: Include limits.h.
3193         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3194         * nptl/tst-cond4.c: Include stdint.h.
3195         * nptl/tst-cond6.c: Include stdint.h.
3196         * nptl/tst-stack2.c: Include limits.h.
3197         * nptl/tst-stackguard1.c: Include stddef.h.
3198         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3199         * nptl/tst-tls4moda.c: Include stddef.h.
3200         Don't include stdio.h, unistd.h, or tls.h.
3201         * nptl/tst-tls4modb.c: Include stddef.h.
3202         Don't include stdio.h, unistd.h, or tls.h.
3203         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3204         * posix/tst-getaddrinfo2.c: Include stdio.h.
3205         * posix/tst-getaddrinfo5.c: Include stdio.h.
3206         * posix/tst-pathconf.c: Include sys/stat.h.
3207         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3208         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3209         * posix/tst-regex.c: Include stdint.h.
3210         Don't include spawn.h or spawn_int.h.
3211         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3212         * posix/tst-vfork3.c: Include sys/stat.h.
3213         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3214         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3215         * resolv/tst-resolv-search.c: Include stdlib.h.
3216         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3217         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3218         * stdlib/test-canon.c: Include sys/stat.h.
3219         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3220         * string/test-memchr.c: Include stdint.h.
3221         * string/tst-cmp.c: Include stdint.h.
3222         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3223         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3224         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3225         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3226         Don't include init-arch.h.
3227         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3228         Don't include init-arch.h.
3229         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3230         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3231         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3232         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3233         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3234         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3235         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3236         * time/clocktest.c: Include stdint.h.
3237         * time/tst-posixtz.c: Include stdint.h.
3238         * timezone/tst-timezone.c: Include stdint.h.
3240 2017-02-16  Zack Weinberg  <zackw@panix.com>
3242         * string/string.h [__USE_MISC]: Include strings.h.
3243         (__bzero, bcmp, bcopy, bzero, index, rindex)
3244         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3245         (ffs, ffsl, ffsll): Don't declare.
3246         * string/strings.h: Do not suppress the file if string.h has
3247         already been included.
3248         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3249         annotations.
3250         (index, rindex): Define inline forwarders even if
3251         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3252         (ffs): Use __attribute_const__.
3253         (ffsl, ffsll): Declare here.
3254         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3255         have now been standardized.
3256         * include/string.h (__bzero): Declare here.
3258         * bits/types.h: Move to posix/bits.
3259         * include/bits/types.h: New wrapper.
3261 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3263         * string/bits/string2.h (strcmp): Remove define.
3264         (__strcmp_cg): Likewise.
3265         (strncmp): Likewise.
3267 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3269         * include/string.h: Add __cplusplus check.
3271 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3273         [BZ #21134]
3274         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3275         "divide by zero" exception when the input is zero.
3276         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3277         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3279         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3280         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3282 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3284         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3285         and include ...
3286         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3287         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3288         to, and include ...
3289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3290         file.
3291         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3292         and include ...
3293         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3295         and include ...
3296         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3297         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3298         and include ...
3299         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3300         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3301         and include ...
3302         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3304         to, and include ...
3305         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3306         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3307         and include ...
3308         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3310 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3312         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3313         here.
3314         * math/libm-test-support.c (libm_test_init): Do not call
3315         INIT_ARCH_EXT here.
3316         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3317         (main): Call INIT_ARCH_EXT.
3319 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3321         [BZ #21130]
3322         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3323         with the "invalid" exception raised when x is -Inf.
3324         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3326 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3328         * string/bits/string2.h (strchr): Remove define.
3330 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3332         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3333         tst-avx512.
3334         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3335         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3336         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3337         ($(objpfx)tst-sse): New rule.
3338         ($(objpfx)tst-avx): Likewise.
3339         ($(objpfx)tst-avx512): Likewise.
3340         (CFLAGS-tst-avx-aux.c): New.
3341         (CFLAGS-tst-avxmod.c): Likewise.
3342         (CFLAGS-tst-avx512-aux.c): Likewise.
3343         (CFLAGS-tst-avx512mod.c): Likewise.
3344         * sysdeps/x86_64/tst-avx-aux.c: New file.
3345         * sysdeps/x86_64/tst-avx.c: Likewise.
3346         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3347         * sysdeps/x86_64/tst-avx512.c: Likewise.
3348         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3349         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3350         * sysdeps/x86_64/tst-sse.c: Likewise.
3351         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3353 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3355         * math/auto-libm-test-in: Add more tests of csin and csinh.
3356         * math/auto-libm-test-out-csin: Regenerated.
3357         * math/auto-libm-test-out-csinh: Likewise.
3358         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3359         auto-libm-test-in.
3360         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3362 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3364         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3365         libm-compat-calls-auto.
3366         (libm-compat-calls): Likewise.
3367         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3368         w_lgamma_compatF and k_standardF (merged from the items above).
3369         (libm-routines): Use libm-compat-calls, instead of
3370         libm-compat-calls-auto, with type-foreach.
3372 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3374         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3375         macro.
3376         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3377         (CFLAGS-test-ifloat.c): ... this.  Remove
3378         -U__LIBC_INTERNAL_MATH_INLINES.
3379         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3380         (CFLAGS-test-idouble.c): ... this.  Remove
3381         -U__LIBC_INTERNAL_MATH_INLINES.
3382         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3383         (CFLAGS-test-ildouble.c): ... this.  Remove
3384         -U__LIBC_INTERNAL_MATH_INLINES.
3386 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3388         * math/libm-test-support.c: New file.  Content from
3389         math/libm-test-driver.c.
3390         * math/libm-test-support.h: Likewise.
3391         * math/libm-test-support-double.c: New file.
3392         * math/libm-test-support-float.c: Likewise.
3393         * math/libm-test-support-ldouble.c: Likewise.
3394         * math/libm-test-driver.c: Remove main comment and header
3395         includes.  Include libm-test-support.h.
3396         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3397         (flag_test_errno): Remove static.
3398         (flag_test_exceptions): Likewise.
3399         (flag_test_finite): Likewise.
3400         (flag_test_inline): Likewise.
3401         (flag_test_mathvec): Likewise.
3402         (test_msg): Likewise.
3403         (NO_EXCEPTION): Remove.
3404         (INVALID_EXCEPTION): Likewise.
3405         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3406         (OVERFLOW_EXCEPTION): Likewise.
3407         (UNDERFLOW_EXCEPTION): Likewise.
3408         (INEXACT_EXCEPTION): Likewise.
3409         (INVALID_EXCEPTION_OK): Likewise.
3410         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3411         (OVERFLOW_EXCEPTION_OK): Likewise.
3412         (UNDERFLOW_EXCEPTION_OK): Likewise.
3413         (NO_INEXACT_EXCEPTION): Likewise.
3414         (EXCEPTIONS_OK): Likewise.
3415         (IGNORE_ZERO_INF_SIGN): Likewise.
3416         (TEST_NAN_SIGN): Likewise.
3417         (TEST_NAN_PAYLOAD): Likewise.
3418         (NO_TEST_INLINE): Likewise.
3419         (XFAIL_TEST): Likewise.
3420         (ERRNO_UNCHANGED): Likewise.
3421         (ERRNO_EDOM): Likewise.
3422         (ERRNO_ERANGE): Likewise.
3423         (IGNORE_RESULT): Likewise.
3424         (NON_FINITE): Likewise.
3425         (TEST_SNAN): Likewise.
3426         (NO_TEST_MATHVEC): Likewise.
3427         (__CONCATX): Likewise.
3428         (TYPE_MIN): Likewise.
3429         (TYPE_TRUE_MIN): Likewise.
3430         (TYPE_MAX): Likewise.
3431         (MIN_EXP): Likewise.
3432         (MAX_EXP): Likewise.
3433         (MANT_DIG): Likewise.
3434         (FSTR_MAX): Likewise.
3435         (ulp_idx): Likewise.
3436         (qtype_str): Remove static.
3437         (TEST_COND_binary32): Remove.
3438         (TEST_COND_binary64): Likewise.
3439         (TEST_COND_binary128): Likewise.
3440         (TEST_COND_ibm128): Likewise.
3441         (TEST_COND_intel96): Likewise.
3442         (TEST_COND_m68k96): Likewise.
3443         (TEST_COND_ibm128_libgcc): Likewise.
3444         (XFAIL_IBM128_LIBGCC): Likewise.
3445         (PAYLOAD_DIG): Likewise.
3446         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3447         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3448         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3449         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3450         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3451         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3452         (TEST_COND_long32): Likewise.
3453         (TEST_COND_long64): Likewise.
3454         (TEST_COND_before_rounding): Likewise.
3455         (TEST_COND_after_rounding): Likewise.
3456         (ulps_file_name): Likewise.
3457         (ulps_file): Likewise.
3458         (output_ulps): Likewise.
3459         (output_dir): Likewise.
3460         (noErrors): Likewise.
3461         (noTests): Likewise.
3462         (noExcTests): Likewise.
3463         (noErrnoTests): Likewise.
3464         (verbose): Likewise.
3465         (output_max_error): Likewise.
3466         (output_points): Likewise.
3467         (ignore_max_ulp): Likewise.
3468         (max_error): Likewise.
3469         (real_max_error): Likewise.
3470         (imag_max_error): Likewise.
3471         (prev_max_error): Likewise.
3472         (prev_real_max_error): Likewise.
3473         (prev_imag_max_error): Likewise.
3474         (max_valid_error): Likewise.
3475         (TYPE_DECIMAL_DIG): Likewise.
3476         (TYPE_HEX_DIG): Likewise.
3477         (fmt_ftostr): Likewise.
3478         (compare_ulp_data): Likewise.
3479         (find_ulps): Likewise.
3480         (init_max_error): Likewise.
3481         (set_max_error): Likewise.
3482         (print_float): Likewise.
3483         (print_screen): Likewise.
3484         (print_screen_max_error): Likewise.
3485         (update_stats): Likewise.
3486         (print_function_ulps): Likewise.
3487         (print_complex_function_ulps): Likewise.
3488         (fpstack_test): Likewise.
3489         (print_max_error): Likewise.
3490         (print_complex_max_error): Likewise.
3491         (test_single_exception): Likewise.
3492         (test_exceptions): Likewise.
3493         (test_single_errno): Likewise.
3494         (test_errno): Likewise.
3495         (ULPDIFF): Likewise.
3496         (ulp): Likewise.
3497         (check_float_internal): Likewise.
3498         (check_float): Likewise.
3499         (check_complex): Likewise.
3500         (check_int): Likewise.
3501         (check_long): Likewise.
3502         (check_bool): Likewise.
3503         (check_longlong): Likewise.
3504         (check_intmax_t): Likewise.
3505         (check_uintmax_t): Likewise.
3506         (enable_test): Likewise.
3507         (matherr): Likewise.
3508         (initialize): Likewise.
3509         (options): Likewise.
3510         (doc): Remove static.
3511         (argp): Likewise.
3512         (parse_opt): Remove.
3513         (check_ulp): Likewise.
3514         (libm_test_init): Likewise.
3515         (libm_test_finish): Likewise.
3516         * math/Makefile (libm-test-support): New variable.
3517         (test-extras): Add libm-test-support files.
3518         (extra-test-objs): Likewise.
3519         (CFLAGS-libm-test-support-float.c): New variable.
3520         (CFLAGS-libm-test-support-double.c): Likewise.
3521         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3522         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3523         libm-test-support objects.
3525 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3527         * math/Makefile (libm-calls): Move w_exp...
3528         (libm-compat-calls-auto): Here.
3530         * math/w_expl.c: Add suffix "_compat" to filename.
3531         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3532         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3533         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3534         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3535         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3536         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3537         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3538         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3540         * math/w_expl_compat.c: New file, copied from above.
3541         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3542         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3543         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3544         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3545         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3546         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3547         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3548         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3550         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3551         to filename.
3552         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3554         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3555         copied from above and adjusted for the new filenames.
3556         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3558 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3560         * math/Makefile (libm-calls): Move w_lgammaF...
3561         (libm-compat-calls-auto): Here.
3563         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3564         * math/w_lgammaf.c: Likewise.
3565         * math/w_lgammal.c: Likewise.
3567         * math/w_lgamma_compat2.c: New file, copied from above.
3568         * math/w_lgammaf_compat2.c: Likewise.
3569         * math/w_lgammal_compat2.c: Likewise.
3571 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3573         * math/Makefile (libm-calls): Move w_lgammaF_r...
3574         (libm-compat-calls-auto): Here.
3576         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3577         * math/w_lgammaf_r.c: Likewise.
3578         * math/w_lgammal_r.c: Likewise.
3579         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3580         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3581         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3583         * math/w_lgamma_r_compat.c: New file, copied from above.
3584         * math/w_lgammaf_r_compat.c: Likewise.
3585         * math/w_lgammal_r_compat.c: Likewise.
3586         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3587         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3588         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3590         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3591         to filename.
3592         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3594         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3595         copied from above and adjusted for the new filenames.
3596         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3598 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3600         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3601         calculation in SYSCALL_ERROR_HANDLER().
3603 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3605         * manual/contrib.texi: Fix typo.
3607 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3609         [BZ #21109]
3610         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3611         tunable_val_t as argument.
3612         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3613         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3614         argument.
3615         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3617 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3619         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3620         Add PTRACE_EVENT_STOP.
3621         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3622         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3623         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3624         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3625         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3626         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3628 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3630         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3631         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3632         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3633         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3634         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3635         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3636         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3637         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3638         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3639         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3641         [BZ #21112]
3642         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3643         12 bits zero.
3644         (cp_l): Update for new value of cp_h.
3645         * math/auto-libm-test-in: Add another test of pow.
3646         * math/auto-libm-test-out-pow: Regenerated.
3648 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3650         * manual/contrib.texi: Fix typo.
3652 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3654         [BZ #15998]
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3656         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3659 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3661         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3662         STRCHR as __strchr_power8.
3663         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3664         strlen as __strlen_power8.
3666 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3668         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3669         unaligned load for shorter strings.
3670         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3672 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3674         * math/libm-test-driver.c (flag_test_errno): New variable.
3675         (flag_test_exceptions): Likewise.
3676         (flag_test_finite): Likewise.
3677         (flag_test_inline): Likewise.
3678         (flag_test_mathvec): Likewise.
3679         (test_msg): Likewise.
3680         (ulp_idx): Likewise.
3681         (qtype_str): Likewise.
3682         (ULP_IDX): Remove macro.
3683         (QTYPE_STR): Likewise.
3684         (find_ulps): Use ulp_idx not ULP_IDX.
3685         (print_function_ulps): Use qtype_str, printed with %s, not
3686         QTYPE_STR, printed with concatentation to format string.
3687         (print_complex_function_ulps): Likewise.
3688         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3689         (test_errno): Use flag_test_errno not TEST_ERRNO.
3690         (enable_test): Use flag_test_inline, flag_test_finite and
3691         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3692         TEST_MATHVEC.
3693         (libm_test_init): New function.  Factored out of main.
3694         (libm_test_finish): Likewise.
3695         (main): Call libm_test_init and libm_test_finish and move most
3696         code to those functions.
3698         * math/libm-test-driver.c (STRX): New macro.
3699         (STR): Likewise.
3700         (STR_FLOAT): Likewise.
3701         (STR_VEC_LEN): Likewise.
3702         (TEST_MSG): Likewise.  Define here instead of expecting to be
3703         defined by including file.
3704         * math/test-double-finite.c (TEST_MSG): Remove macro.
3705         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3706         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3707         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3708         * math/test-double.c (TEST_MSG): Likewise.
3709         * math/test-float-finite.c (TEST_MSG): Likewise.
3710         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3711         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3712         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3713         * math/test-float.c (TEST_MSG): Likewise.
3714         * math/test-idouble.c (TEST_MSG): Likewise.
3715         * math/test-ifloat.c (TEST_MSG): Likewise.
3716         * math/test-ildouble.c (TEST_MSG): Likewise.
3717         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3718         * math/test-ldouble.c (TEST_MSG): Likewise.
3720         * math/libm-test.inc: Move all tests of individual functions to
3721         libm-test-*.inc and #include libm-test-*.c files.
3722         (acos_test_data): Remove.
3723         (acos_test): Likewise.
3724         (acosh_test_data): Likewise.
3725         (acosh_test): Likewise.
3726         (asin_test_data): Likewise.
3727         (asin_test): Likewise.
3728         (asinh_test_data): Likewise.
3729         (asinh_test): Likewise.
3730         (atan_test_data): Likewise.
3731         (atan_test): Likewise.
3732         (atanh_test_data): Likewise.
3733         (atanh_test): Likewise.
3734         (atan2_test_data): Likewise.
3735         (atan2_test): Likewise.
3736         (cabs_test_data): Likewise.
3737         (cabs_test): Likewise.
3738         (cacos_test_data): Likewise.
3739         (cacos_test): Likewise.
3740         (cacosh_test_data): Likewise.
3741         (cacosh_test): Likewise.
3742         (canonicalize_test_data): Likewise.
3743         (canonicalize_test): Likewise.
3744         (carg_test_data): Likewise.
3745         (carg_test): Likewise.
3746         (casin_test_data): Likewise.
3747         (casin_test): Likewise.
3748         (casinh_test_data): Likewise.
3749         (casinh_test): Likewise.
3750         (catan_test_data): Likewise.
3751         (catan_test): Likewise.
3752         (catanh_test_data): Likewise.
3753         (catanh_test): Likewise.
3754         (cbrt_test_data): Likewise.
3755         (cbrt_test): Likewise.
3756         (ccos_test_data): Likewise.
3757         (ccos_test): Likewise.
3758         (ccosh_test_data): Likewise.
3759         (ccosh_test): Likewise.
3760         (ceil_test_data): Likewise.
3761         (ceil_test): Likewise.
3762         (cexp_test_data): Likewise.
3763         (cexp_test): Likewise.
3764         (cimag_test_data): Likewise.
3765         (cimag_test): Likewise.
3766         (clog_test_data): Likewise.
3767         (clog_test): Likewise.
3768         (clog10_test_data): Likewise.
3769         (clog10_test): Likewise.
3770         (conj_test_data): Likewise.
3771         (conj_test): Likewise.
3772         (copysign_test_data): Likewise.
3773         (copysign_test): Likewise.
3774         (cos_test_data): Likewise.
3775         (cos_test): Likewise.
3776         (cosh_test_data): Likewise.
3777         (cosh_test): Likewise.
3778         (cpow_test_data): Likewise.
3779         (cpow_test): Likewise.
3780         (cproj_test_data): Likewise.
3781         (cproj_test): Likewise.
3782         (creal_test_data): Likewise.
3783         (creal_test): Likewise.
3784         (csin_test_data): Likewise.
3785         (csin_test): Likewise.
3786         (csinh_test_data): Likewise.
3787         (csinh_test): Likewise.
3788         (csqrt_test_data): Likewise.
3789         (csqrt_test): Likewise.
3790         (ctan_test_data): Likewise.
3791         (ctan_test): Likewise.
3792         (ctanh_test_data): Likewise.
3793         (ctanh_test): Likewise.
3794         (erf_test_data): Likewise.
3795         (erf_test): Likewise.
3796         (erfc_test_data): Likewise.
3797         (erfc_test): Likewise.
3798         (exp_test_data): Likewise.
3799         (exp_test): Likewise.
3800         (exp10_test_data): Likewise.
3801         (exp10_test): Likewise.
3802         (pow10_test): Likewise.
3803         (exp2_test_data): Likewise.
3804         (exp2_test): Likewise.
3805         (expm1_test_data): Likewise.
3806         (expm1_test): Likewise.
3807         (fabs_test_data): Likewise.
3808         (fabs_test): Likewise.
3809         (fdim_test_data): Likewise.
3810         (fdim_test): Likewise.
3811         (floor_test_data): Likewise.
3812         (floor_test): Likewise.
3813         (fma_test_data): Likewise.
3814         (fma_test): Likewise.
3815         (fmax_test_data): Likewise.
3816         (fmax_test): Likewise.
3817         (fmaxmag_test_data): Likewise.
3818         (fmaxmag_test): Likewise.
3819         (fmin_test_data): Likewise.
3820         (fmin_test): Likewise.
3821         (fminmag_test_data): Likewise.
3822         (fminmag_test): Likewise.
3823         (fmod_test_data): Likewise.
3824         (fmod_test): Likewise.
3825         (fpclassify_test_data): Likewise.
3826         (fpclassify_test): Likewise.
3827         (frexp_test_data): Likewise.
3828         (frexp_test): Likewise.
3829         (fromfp_test_data): Likewise.
3830         (fromfp_test): Likewise.
3831         (fromfpx_test_data): Likewise.
3832         (fromfpx_test): Likewise.
3833         (getpayload_test_data): Likewise.
3834         (getpayload_test): Likewise.
3835         (hypot_test_data): Likewise.
3836         (hypot_test): Likewise.
3837         (ilogb_test_data): Likewise.
3838         (ilogb_test): Likewise.
3839         (iscanonical_test_data): Likewise.
3840         (iscanonical_test): Likewise.
3841         (iseqsig_test_data): Likewise.
3842         (iseqsig_test): Likewise.
3843         (isfinite_test_data): Likewise.
3844         (isfinite_test): Likewise.
3845         (finite_test): Likewise.
3846         (isgreater_test_data): Likewise.
3847         (isgreater_test): Likewise.
3848         (isgreaterequal_test_data): Likewise.
3849         (isgreaterequal_test): Likewise.
3850         (isinf_test_data): Likewise.
3851         (isinf_test): Likewise.
3852         (isless_test_data): Likewise.
3853         (isless_test): Likewise.
3854         (islessequal_test_data): Likewise.
3855         (islessequal_test): Likewise.
3856         (islessgreater_test_data): Likewise.
3857         (islessgreater_test): Likewise.
3858         (isnan_test_data): Likewise.
3859         (isnan_test): Likewise.
3860         (isnormal_test_data): Likewise.
3861         (isnormal_test): Likewise.
3862         (issignaling_test_data): Likewise.
3863         (issignaling_test): Likewise.
3864         (issubnormal_test_data): Likewise.
3865         (issubnormal_test): Likewise.
3866         (isunordered_test_data): Likewise.
3867         (isunordered_test): Likewise.
3868         (iszero_test_data): Likewise.
3869         (iszero_test): Likewise.
3870         (j0_test_data): Likewise.
3871         (j0_test): Likewise.
3872         (j1_test_data): Likewise.
3873         (j1_test): Likewise.
3874         (jn_test_data): Likewise.
3875         (jn_test): Likewise.
3876         (lgamma_test_data): Likewise.
3877         (lgamma_test): Likewise.
3878         (gamma_test): Likewise.
3879         (llogb_test_data): Likewise.
3880         (llogb_test): Likewise.
3881         (lrint_test_data): Likewise.
3882         (lrint_test): Likewise.
3883         (llrint_test_data): Likewise.
3884         (llrint_test): Likewise.
3885         (log_test_data): Likewise.
3886         (log_test): Likewise.
3887         (log10_test_data): Likewise.
3888         (log10_test): Likewise.
3889         (log1p_test_data): Likewise.
3890         (log1p_test): Likewise.
3891         (log2_test_data): Likewise.
3892         (log2_test): Likewise.
3893         (logb_test_data): Likewise.
3894         (logb_test): Likewise.
3895         (lround_test_data): Likewise.
3896         (lround_test): Likewise.
3897         (llround_test_data): Likewise.
3898         (llround_test): Likewise.
3899         (modf_test_data): Likewise.
3900         (modf_test): Likewise.
3901         (nearbyint_test_data): Likewise.
3902         (nearbyint_test): Likewise.
3903         (nextafter_test_data): Likewise.
3904         (nextafter_test): Likewise.
3905         (nextup_test_data): Likewise.
3906         (nextup_test): Likewise.
3907         (nextdown_test_data): Likewise.
3908         (nextdown_test): Likewise.
3909         (nexttoward_test_data): Likewise.
3910         (nexttoward_test): Likewise.
3911         (pow_test_data): Likewise.
3912         (pow_test): Likewise.
3913         (remainder_test_data): Likewise.
3914         (remainder_test): Likewise.
3915         (drem_test): Likewise.
3916         (remquo_test_data): Likewise.
3917         (remquo_test): Likewise.
3918         (rint_test_data): Likewise.
3919         (rint_test): Likewise.
3920         (round_test_data): Likewise.
3921         (round_test): Likewise.
3922         (roundeven_test_data): Likewise.
3923         (roundeven_test): Likewise.
3924         (scalb_test_data): Likewise.
3925         (scalb_test): Likewise.
3926         (scalbn_test_data): Likewise.
3927         (scalbn_test): Likewise.
3928         (ldexp_test): Likewise.
3929         (scalbln_test_data): Likewise.
3930         (scalbln_test): Likewise.
3931         (setpayload_test_data): Likewise.
3932         (setpayload_test): Likewise.
3933         (setpayloadsig_test_data): Likewise.
3934         (setpayloadsig_test): Likewise.
3935         (signbit_test_data): Likewise.
3936         (signbit_test): Likewise.
3937         (sin_test_data): Likewise.
3938         (sin_test): Likewise.
3939         (sincos_test_data): Likewise.
3940         (sincos_test): Likewise.
3941         (sinh_test_data): Likewise.
3942         (sinh_test): Likewise.
3943         (sqrt_test_data): Likewise.
3944         (sqrt_test): Likewise.
3945         (tan_test_data): Likewise.
3946         (tan_test): Likewise.
3947         (tanh_test_data): Likewise.
3948         (tanh_test): Likewise.
3949         (tgamma_test_data): Likewise.
3950         (tgamma_test): Likewise.
3951         (totalorder_test_data): Likewise.
3952         (totalorder_test): Likewise.
3953         (totalordermag_test_data): Likewise.
3954         (totalordermag_test): Likewise.
3955         (trunc_test_data): Likewise.
3956         (trunc_test): Likewise.
3957         (ufromfp_test_data): Likewise.
3958         (ufromfp_test): Likewise.
3959         (ufromfpx_test_data): Likewise.
3960         (ufromfpx_test): Likewise.
3961         (y0_test_data): Likewise.
3962         (y0_test): Likewise.
3963         (y1_test_data): Likewise.
3964         (y1_test): Likewise.
3965         (yn_test_data): Likewise.
3966         (yn_test): Likewise.
3967         (significand_test_data): Likewise.
3968         (significand_test): Likewise.
3969         * math/Makefile (auto-libm-test-out-files): Remove variable.
3970         (libm-test-funcs-noauto): New variable.
3971         (libm-test-funcs-all): Likewise.
3972         (libm-test-c-auto): Likewise.
3973         (libm-test-c-noauto): Likewise.
3974         (libm-tests-generated): Add $(libm-test-c-auto) and
3975         $(libm-test-c-noauto).
3976         (generated): Do not add auto-libm-test-out.
3977         (libm-test-c-auto-obj): New variable.
3978         (libm-test-c-noauto-obj): Likewise.
3979         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3980         ($(libm-test-c-noauto-obj)): New static pattern rule.
3981         ($(libm-test-c-auto-obj)): Likewise.
3982         (libm-test-incs): New variable.
3983         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3984         and pass it to gen-libm-have-vector-test.sh.
3985         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3986         be passed on command line.
3987         * math/libm-test-acos.inc: New file.  Content from
3988         math/libm-test.inc.
3989         * math/libm-test-acosh.inc: Likewise.
3990         * math/libm-test-asin.inc: Likewise.
3991         * math/libm-test-asinh.inc: Likewise.
3992         * math/libm-test-atan.inc: Likewise.
3993         * math/libm-test-atan2.inc: Likewise.
3994         * math/libm-test-atanh.inc: Likewise.
3995         * math/libm-test-cabs.inc: Likewise.
3996         * math/libm-test-cacos.inc: Likewise.
3997         * math/libm-test-cacosh.inc: Likewise.
3998         * math/libm-test-canonicalize.inc: Likewise.
3999         * math/libm-test-carg.inc: Likewise.
4000         * math/libm-test-casin.inc: Likewise.
4001         * math/libm-test-casinh.inc: Likewise.
4002         * math/libm-test-catan.inc: Likewise.
4003         * math/libm-test-catanh.inc: Likewise.
4004         * math/libm-test-cbrt.inc: Likewise.
4005         * math/libm-test-ccos.inc: Likewise.
4006         * math/libm-test-ccosh.inc: Likewise.
4007         * math/libm-test-ceil.inc: Likewise.
4008         * math/libm-test-cexp.inc: Likewise.
4009         * math/libm-test-cimag.inc: Likewise.
4010         * math/libm-test-clog.inc: Likewise.
4011         * math/libm-test-clog10.inc: Likewise.
4012         * math/libm-test-conj.inc: Likewise.
4013         * math/libm-test-copysign.inc: Likewise.
4014         * math/libm-test-cos.inc: Likewise.
4015         * math/libm-test-cosh.inc: Likewise.
4016         * math/libm-test-cpow.inc: Likewise.
4017         * math/libm-test-cproj.inc: Likewise.
4018         * math/libm-test-creal.inc: Likewise.
4019         * math/libm-test-csin.inc: Likewise.
4020         * math/libm-test-csinh.inc: Likewise.
4021         * math/libm-test-csqrt.inc: Likewise.
4022         * math/libm-test-ctan.inc: Likewise.
4023         * math/libm-test-ctanh.inc: Likewise.
4024         * math/libm-test-erf.inc: Likewise.
4025         * math/libm-test-erfc.inc: Likewise.
4026         * math/libm-test-exp.inc: Likewise.
4027         * math/libm-test-exp10.inc: Likewise.
4028         * math/libm-test-exp2.inc: Likewise.
4029         * math/libm-test-expm1.inc: Likewise.
4030         * math/libm-test-fabs.inc: Likewise.
4031         * math/libm-test-fdim.inc: Likewise.
4032         * math/libm-test-floor.inc: Likewise.
4033         * math/libm-test-fma.inc: Likewise.
4034         * math/libm-test-fmax.inc: Likewise.
4035         * math/libm-test-fmaxmag.inc: Likewise.
4036         * math/libm-test-fmin.inc: Likewise.
4037         * math/libm-test-fminmag.inc: Likewise.
4038         * math/libm-test-fmod.inc: Likewise.
4039         * math/libm-test-fpclassify.inc: Likewise.
4040         * math/libm-test-frexp.inc: Likewise.
4041         * math/libm-test-fromfp.inc: Likewise.
4042         * math/libm-test-fromfpx.inc: Likewise.
4043         * math/libm-test-getpayload.inc: Likewise.
4044         * math/libm-test-hypot.inc: Likewise.
4045         * math/libm-test-ilogb.inc: Likewise.
4046         * math/libm-test-iscanonical.inc: Likewise.
4047         * math/libm-test-iseqsig.inc: Likewise.
4048         * math/libm-test-isfinite.inc: Likewise.
4049         * math/libm-test-isgreater.inc: Likewise.
4050         * math/libm-test-isgreaterequal.inc: Likewise.
4051         * math/libm-test-isinf.inc: Likewise.
4052         * math/libm-test-isless.inc: Likewise.
4053         * math/libm-test-islessequal.inc: Likewise.
4054         * math/libm-test-islessgreater.inc: Likewise.
4055         * math/libm-test-isnan.inc: Likewise.
4056         * math/libm-test-isnormal.inc: Likewise.
4057         * math/libm-test-issignaling.inc: Likewise.
4058         * math/libm-test-issubnormal.inc: Likewise.
4059         * math/libm-test-isunordered.inc: Likewise.
4060         * math/libm-test-iszero.inc: Likewise.
4061         * math/libm-test-j0.inc: Likewise.
4062         * math/libm-test-j1.inc: Likewise.
4063         * math/libm-test-jn.inc: Likewise.
4064         * math/libm-test-lgamma.inc: Likewise.
4065         * math/libm-test-llogb.inc: Likewise.
4066         * math/libm-test-llrint.inc: Likewise.
4067         * math/libm-test-llround.inc: Likewise.
4068         * math/libm-test-log.inc: Likewise.
4069         * math/libm-test-log10.inc: Likewise.
4070         * math/libm-test-log1p.inc: Likewise.
4071         * math/libm-test-log2.inc: Likewise.
4072         * math/libm-test-logb.inc: Likewise.
4073         * math/libm-test-lrint.inc: Likewise.
4074         * math/libm-test-lround.inc: Likewise.
4075         * math/libm-test-modf.inc: Likewise.
4076         * math/libm-test-nearbyint.inc: Likewise.
4077         * math/libm-test-nextafter.inc: Likewise.
4078         * math/libm-test-nextdown.inc: Likewise.
4079         * math/libm-test-nexttoward.inc: Likewise.
4080         * math/libm-test-nextup.inc: Likewise.
4081         * math/libm-test-pow.inc: Likewise.
4082         * math/libm-test-remainder.inc: Likewise.
4083         * math/libm-test-remquo.inc: Likewise.
4084         * math/libm-test-rint.inc: Likewise.
4085         * math/libm-test-round.inc: Likewise.
4086         * math/libm-test-roundeven.inc: Likewise.
4087         * math/libm-test-scalb.inc: Likewise.
4088         * math/libm-test-scalbln.inc: Likewise.
4089         * math/libm-test-scalbn.inc: Likewise.
4090         * math/libm-test-setpayload.inc: Likewise.
4091         * math/libm-test-setpayloadsig.inc: Likewise.
4092         * math/libm-test-signbit.inc: Likewise.
4093         * math/libm-test-significand.inc: Likewise.
4094         * math/libm-test-sin.inc: Likewise.
4095         * math/libm-test-sincos.inc: Likewise.
4096         * math/libm-test-sinh.inc: Likewise.
4097         * math/libm-test-sqrt.inc: Likewise.
4098         * math/libm-test-tan.inc: Likewise.
4099         * math/libm-test-tanh.inc: Likewise.
4100         * math/libm-test-tgamma.inc: Likewise.
4101         * math/libm-test-totalorder.inc: Likewise.
4102         * math/libm-test-totalordermag.inc: Likewise.
4103         * math/libm-test-trunc.inc: Likewise.
4104         * math/libm-test-ufromfp.inc: Likewise.
4105         * math/libm-test-ufromfpx.inc: Likewise.
4106         * math/libm-test-y0.inc: Likewise.
4107         * math/libm-test-y1.inc: Likewise.
4108         * math/libm-test-yn.inc: Likewise.
4109         * math/README.libm-test: Update.
4111         * math/gen-auto-libm-tests.c: Update comment about use of program.
4112         (generate_output): Add argument FUNCTION.
4113         (main): Require extra argument.  Pass function name to
4114         generate_output.
4115         * math/Makefile (generated): Add auto-libm-test-out.
4116         (libm-test-funcs-auto): New variable.
4117         (auto-libm-test-out-files): New variable.
4118         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4119         Concatenate those files to form $(objpfx)auto-libm-test-out and
4120         use it as input to gen-libm-test.pl.
4121         * math/README.libm-test: Update.
4122         * math/auto-libm-test-out: Remove.
4123         * math/auto-libm-test-out-acos: New generated file.
4124         * math/auto-libm-test-out-acosh: Likewise.
4125         * math/auto-libm-test-out-asin: Likewise.
4126         * math/auto-libm-test-out-asinh: Likewise.
4127         * math/auto-libm-test-out-atan: Likewise.
4128         * math/auto-libm-test-out-atan2: Likewise.
4129         * math/auto-libm-test-out-atanh: Likewise.
4130         * math/auto-libm-test-out-cabs: Likewise.
4131         * math/auto-libm-test-out-carg: Likewise.
4132         * math/auto-libm-test-out-cbrt: Likewise.
4133         * math/auto-libm-test-out-ccos: Likewise.
4134         * math/auto-libm-test-out-ccosh: Likewise.
4135         * math/auto-libm-test-out-cexp: Likewise.
4136         * math/auto-libm-test-out-clog: Likewise.
4137         * math/auto-libm-test-out-clog10: Likewise.
4138         * math/auto-libm-test-out-cos: Likewise.
4139         * math/auto-libm-test-out-cosh: Likewise.
4140         * math/auto-libm-test-out-cpow: Likewise.
4141         * math/auto-libm-test-out-csin: Likewise.
4142         * math/auto-libm-test-out-csinh: Likewise.
4143         * math/auto-libm-test-out-csqrt: Likewise.
4144         * math/auto-libm-test-out-ctan: Likewise.
4145         * math/auto-libm-test-out-ctanh: Likewise.
4146         * math/auto-libm-test-out-erf: Likewise.
4147         * math/auto-libm-test-out-erfc: Likewise.
4148         * math/auto-libm-test-out-exp: Likewise.
4149         * math/auto-libm-test-out-exp10: Likewise.
4150         * math/auto-libm-test-out-exp2: Likewise.
4151         * math/auto-libm-test-out-expm1: Likewise.
4152         * math/auto-libm-test-out-fma: Likewise.
4153         * math/auto-libm-test-out-hypot: Likewise.
4154         * math/auto-libm-test-out-j0: Likewise.
4155         * math/auto-libm-test-out-j1: Likewise.
4156         * math/auto-libm-test-out-jn: Likewise.
4157         * math/auto-libm-test-out-lgamma: Likewise.
4158         * math/auto-libm-test-out-log: Likewise.
4159         * math/auto-libm-test-out-log10: Likewise.
4160         * math/auto-libm-test-out-log1p: Likewise.
4161         * math/auto-libm-test-out-log2: Likewise.
4162         * math/auto-libm-test-out-pow: Likewise.
4163         * math/auto-libm-test-out-sin: Likewise.
4164         * math/auto-libm-test-out-sincos: Likewise.
4165         * math/auto-libm-test-out-sinh: Likewise.
4166         * math/auto-libm-test-out-sqrt: Likewise.
4167         * math/auto-libm-test-out-tan: Likewise.
4168         * math/auto-libm-test-out-tanh: Likewise.
4169         * math/auto-libm-test-out-tgamma: Likewise.
4170         * math/auto-libm-test-out-y0: Likewise.
4171         * math/auto-libm-test-out-y1: Likewise.
4172         * math/auto-libm-test-out-yn: Likewise.
4174         * math/Makefile (generated): Do not include libm-test.stmp.
4175         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4176         on $(objpfx)libm-test.stmp.
4177         ($(objpfx)libm-test.stmp): Remove rule.
4178         ($(objpfx)libm-test-ulps.h): New rule.
4179         ($(objpfx)libm-test.c): Likewise.
4180         ($(objpfx)libm-have-vector-test.h): Likewise.
4181         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4182         individual generated files, not libm-test.stmp.
4184         * math/gen-libm-test.pl ($output_dir): Remove variable.
4185         ($srcdir): Likewise.
4186         ($opt_a): New variable.
4187         ($opt_c): Likewise.
4188         ($opt_C): Likewise.
4189         ($opt_H): Likewise.
4190         (-n): Make option take argument and use it as NewUlps output.
4191         (-a): New option.  Use its argument for auto-libm-test-out input.
4192         (-c): New option.  Use its argument for libm-test.inc input.
4193         (-C): New option.  Use its argument for libm-test.c output.
4194         (-H): New option.  Use its argument for libm-test-ulps.h output.
4195         (top level): Only process inputs needed to generate outputs
4196         specified by command-line options.  Only generate outputs
4197         specified by command-line options.
4198         * math/README.libm-test: Update example gen-libm-test.pl command.
4199         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4200         commands.
4201         (regen-ulps): Likewise.
4203 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4205         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4206         * include/string.h (index): Remove define.
4207         (rindex): Likewise.
4208         * misc/getttyent.c (__getttyent): Rename index to strchr.
4209         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4210         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4212 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4214         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4215         * math/libm-test.inc: Move all contents, other than tests of
4216         individual functions, to libm-test-driver.c.
4217         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4218         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4219         [!FE_UPWARD] (FE_UPWARD): Likewise.
4220         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4221         (NO_EXCEPTION): Likewise.
4222         (INVALID_EXCEPTION): Likewise.
4223         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4224         (OVERFLOW_EXCEPTION): Likewise.
4225         (UNDERFLOW_EXCEPTION): Likewise.
4226         (INEXACT_EXCEPTION): Likewise.
4227         (INVALID_EXCEPTION_OK): Likewise.
4228         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4229         (OVERFLOW_EXCEPTION_OK): Likewise.
4230         (UNDERFLOW_EXCEPTION_OK): Likewise.
4231         (NO_INEXACT_EXCEPTION): Likewise.
4232         (EXCEPTIONS_OK): Likewise.
4233         (IGNORE_ZERO_INF_SIGN): Likewise.
4234         (TEST_NAN_SIGN): Likewise.
4235         (TEST_NAN_PAYLOAD): Likewise.
4236         (NO_TEST_INLINE): Likewise.
4237         (XFAIL_TEST): Likewise.
4238         (ERRNO_UNCHANGED): Likewise.
4239         (ERRNO_EDOM): Likewise.
4240         (ERRNO_ERANGE): Likewise.
4241         (IGNORE_RESULT): Likewise.
4242         (NON_FINITE): Likewise.
4243         (TEST_SNAN): Likewise.
4244         (NO_TEST_MATHVEC): Likewise.
4245         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4246         (__CONCATX): Likewise.
4247         (TYPE_MIN): Likewise.
4248         (TYPE_TRUE_MIN): Likewise.
4249         (TYPE_MAX): Likewise.
4250         (MIN_EXP): Likewise.
4251         (MAX_EXP): Likewise.
4252         (MANT_DIG): Likewise.
4253         (FSTR_MAX): Likewise.
4254         (ULP_IDX): Likewise.
4255         (QTYPE_STR): Likewise.
4256         (TEST_COND_binary32): Likewise.
4257         (TEST_COND_binary64): Likewise.
4258         (TEST_COND_binary128): Likewise.
4259         (TEST_COND_ibm128): Likewise.
4260         (TEST_COND_intel96): Likewise.
4261         (TEST_COND_m68k96): Likewise.
4262         (TEST_COND_ibm128_libgcc): Likewise.
4263         (XFAIL_IBM128_LIBGCC): Likewise.
4264         (PAYLOAD_DIG): Likewise.
4265         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4266         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4267         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4268         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4269         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4270         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4271         (TEST_COND_long32): Likewise.
4272         (TEST_COND_long64): Likewise.
4273         (TEST_COND_before_rounding): Likewise.
4274         (TEST_COND_after_rounding): Likewise.
4275         (lit_pi_3_m_4_d): Likewise.
4276         (lit_pi_3_m_4_ln10_m_d): Likewise.
4277         (lit_pi_2_ln10_m_d): Likewise.
4278         (lit_pi_4_ln10_m_d): Likewise.
4279         (lit_pi_ln10_d): Likewise.
4280         (lit_pi_2_d): Likewise.
4281         (lit_pi_4_d): Likewise.
4282         (lit_pi): Likewise.
4283         (lit_e): Likewise.
4284         (ulps_file_name): Likewise.
4285         (ulps_file): Likewise.
4286         (output_ulps): Likewise.
4287         (output_dir): Likewise.
4288         (noErrors): Likewise.
4289         (noTests): Likewise.
4290         (noExcTests): Likewise.
4291         (noErrnoTests): Likewise.
4292         (verbose): Likewise.
4293         (output_max_error): Likewise.
4294         (output_points): Likewise.
4295         (ignore_max_ulp): Likewise.
4296         (plus_zero): Likewise.
4297         (minus_zero): Likewise.
4298         (plus_infty): Likewise.
4299         (minus_infty): Likewise.
4300         (qnan_value_pl): Likewise.
4301         (qnan_value): Likewise.
4302         (snan_value_pl): Likewise.
4303         (snan_value): Likewise.
4304         (max_value): Likewise.
4305         (min_value): Likewise.
4306         (min_subnorm_value): Likewise.
4307         (snan_value_ld): Likewise.
4308         (max_error): Likewise.
4309         (real_max_error): Likewise.
4310         (imag_max_error): Likewise.
4311         (prev_max_error): Likewise.
4312         (prev_real_max_error): Likewise.
4313         (prev_imag_max_error): Likewise.
4314         (max_valid_error): Likewise.
4315         (TYPE_DECIMAL_DIG): Likewise.
4316         (TYPE_HEX_DIG): Likewise.
4317         (fmt_ftostr): Likewise.
4318         (compare_ulp_data): Likewise.
4319         (find_ulps): Likewise.
4320         (init_max_error): Likewise.
4321         (set_max_error): Likewise.
4322         (print_float): Likewise.
4323         (print_screen): Likewise.
4324         (print_screen_max_error): Likewise.
4325         (update_stats): Likewise.
4326         (print_function_ulps): Likewise.
4327         (print_complex_function_ulps): Likewise.
4328         (fpstack_test): Likewise.
4329         (print_max_error): Likewise.
4330         (print_complex_max_error): Likewise.
4331         (test_single_exception): Likewise.
4332         (test_exceptions): Likewise.
4333         (test_single_errno): Likewise.
4334         (test_errno): Likewise.
4335         (ULPDIFF): Likewise.
4336         (ulp): Likewise.
4337         (check_float_internal): Likewise.
4338         (check_float): Likewise.
4339         (check_complex): Likewise.
4340         (check_int): Likewise.
4341         (check_long): Likewise.
4342         (check_bool): Likewise.
4343         (check_longlong): Likewise.
4344         (check_intmax_t): Likewise.
4345         (check_uintmax_t): Likewise.
4346         (enable_test): Likewise.
4347         (struct test_f_f_data): Likewise.
4348         (struct test_ff_f_data): Likewise.
4349         (struct test_fj_f_data): Likewise.
4350         (struct test_fi_f_data): Likewise.
4351         (struct test_fl_f_data): Likewise.
4352         (struct test_if_f_data): Likewise.
4353         (struct test_fff_f_data): Likewise.
4354         (struct test_fiu_M_data): Likewise.
4355         (struct test_fiu_U_data): Likewise.
4356         (struct test_c_f_data): Likewise.
4357         (struct test_f_f1_data): Likewise.
4358         (struct test_fF_f1_data): Likewise.
4359         (struct test_ffI_f1_data): Likewise.
4360         (struct test_c_c_data): Likewise.
4361         (struct test_cc_c_data): Likewise.
4362         (struct test_f_i_data): Likewise.
4363         (struct test_ff_i_data): Likewise.
4364         (struct test_f_l_data): Likewise.
4365         (struct test_f_L_data): Likewise.
4366         (struct test_fFF_11_data): Likewise.
4367         (struct test_Ff_b1_data): Likewise.
4368         (IF_ROUND_INIT_): Likewise.
4369         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4370         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4371         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4372         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4373         (ROUND_RESTORE_): Likewise.
4374         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4375         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4376         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4377         (ROUND_RESTORE_FE_UPWARD): Likewise.
4378         (RM_): Likewise.
4379         (RM_FE_DOWNWARD): Likewise.
4380         (RM_FE_TONEAREST): Likewise.
4381         (RM_FE_TOWARDZERO): Likewise.
4382         (RM_FE_UPWARD): Likewise.
4383         (COMMON_TEST_SETUP): Likewise.
4384         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4385         (COMMON_TEST_CLEANUP): Likewise.
4386         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4387         (RUN_TEST_f_f): Likewise.
4388         (RUN_TEST_LOOP_f_f): Likewise.
4389         (RUN_TEST_fp_f): Likewise.
4390         (RUN_TEST_LOOP_fp_f): Likewise.
4391         (RUN_TEST_2_f): Likewise.
4392         (RUN_TEST_LOOP_2_f): Likewise.
4393         (RUN_TEST_ff_f): Likewise.
4394         (RUN_TEST_LOOP_ff_f): Likewise.
4395         (RUN_TEST_LOOP_fj_f): Likewise.
4396         (RUN_TEST_fi_f): Likewise.
4397         (RUN_TEST_LOOP_fi_f): Likewise.
4398         (RUN_TEST_fl_f): Likewise.
4399         (RUN_TEST_LOOP_fl_f): Likewise.
4400         (RUN_TEST_if_f): Likewise.
4401         (RUN_TEST_LOOP_if_f): Likewise.
4402         (RUN_TEST_fff_f): Likewise.
4403         (RUN_TEST_LOOP_fff_f): Likewise.
4404         (RUN_TEST_fiu_M): Likewise.
4405         (RUN_TEST_LOOP_fiu_M): Likewise.
4406         (RUN_TEST_fiu_U): Likewise.
4407         (RUN_TEST_LOOP_fiu_U): Likewise.
4408         (RUN_TEST_c_f): Likewise.
4409         (RUN_TEST_LOOP_c_f): Likewise.
4410         (RUN_TEST_f_f1): Likewise.
4411         (RUN_TEST_LOOP_f_f1): Likewise.
4412         (RUN_TEST_fF_f1): Likewise.
4413         (RUN_TEST_LOOP_fF_f1): Likewise.
4414         (RUN_TEST_fI_f1): Likewise.
4415         (RUN_TEST_LOOP_fI_f1): Likewise.
4416         (RUN_TEST_ffI_f1_mod8): Likewise.
4417         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4418         (RUN_TEST_Ff_b1): Likewise.
4419         (RUN_TEST_LOOP_Ff_b1): Likewise.
4420         (RUN_TEST_Ffp_b1): Likewise.
4421         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4422         (RUN_TEST_c_c): Likewise.
4423         (RUN_TEST_LOOP_c_c): Likewise.
4424         (RUN_TEST_cc_c): Likewise.
4425         (RUN_TEST_LOOP_cc_c): Likewise.
4426         (RUN_TEST_f_i): Likewise.
4427         (RUN_TEST_LOOP_f_i): Likewise.
4428         (RUN_TEST_f_i_tg): Likewise.
4429         (RUN_TEST_LOOP_f_i_tg): Likewise.
4430         (RUN_TEST_ff_b): Likewise.
4431         (RUN_TEST_LOOP_ff_b): Likewise.
4432         (RUN_TEST_ff_i_tg): Likewise.
4433         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4434         (RUN_TEST_f_b): Likewise.
4435         (RUN_TEST_LOOP_f_b): Likewise.
4436         (RUN_TEST_f_b_tg): Likewise.
4437         (RUN_TEST_LOOP_f_b_tg): Likewise.
4438         (RUN_TEST_f_l): Likewise.
4439         (RUN_TEST_LOOP_f_l): Likewise.
4440         (RUN_TEST_f_L): Likewise.
4441         (RUN_TEST_LOOP_f_L): Likewise.
4442         (RUN_TEST_fFF_11): Likewise.
4443         (RUN_TEST_LOOP_fFF_11): Likewise.
4444         (VEC_SUFF): Likewise.
4445         (STR_CONCAT): Likewise.
4446         (STR_CON3): Likewise.
4447         (HAVE_VECTOR): Likewise.
4448         (START): Likewise.
4449         (END): Likewise.
4450         (END_COMPLEX): Likewise.
4451         (ALL_RM_TEST): Likewise.
4452         (matherr): Likewise.
4453         (initialize): Likewise.
4454         (options): Likewise.
4455         (doc): Likewise.
4456         (parse_opt): Likewise.
4457         (argp): Likewise.
4458         (check_ulp): Likewise.
4459         (main): Likewise.
4460         (do_test): New function.  Call tests of individual functions
4461         previously called from main.
4463         * math/libm-test.inc: Remove comment listing functions tested and
4464         not tested.
4466 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4468         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4469         (allocate_stack): Remove COLORING_INCREMENT usage.
4470         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4471         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4473 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4475         * manual/libm-err-tab.pl (@all_functions): Change to
4476         %all_functions.  Initialize as empty.
4477         (parse_ulps): Add to %all_functions based on functions found in
4478         ulps files.  Ignore results for non-default rounding modes and
4479         vector functions.
4480         (print_platforms): Use %all_platforms.
4481         * manual/math.texi (Errors in Math Functions): Document omissions
4482         from the table.
4484         * math/Makefile (before-compile): Remove.
4486 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4488         [BZ #21075]
4489         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4490         unused assignment.
4491         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4493 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4495         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4496         Add __glibc_unlikely hint.
4498 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4500         [BZ #16640]
4501         * sysdeps/i386/i686/strtok.S: Remove file.
4502         * sysdeps/i386/i686/strtok_r.S: Likewise.
4503         * sysdeps/i386/strtok.S: Likewise.
4504         * sysdeps/i386/strtok_r.S: Likewise.
4505         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4506         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4507         * sysdeps/x86_64/strtok.S: Likewise.
4508         * sysdeps/x86_64/strtok_r.S: Likewise.
4510         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4511         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4513         (__ASSUME_FADVISE64_AS_64_64): Define.
4514         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4515         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4516         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4517         __ALIGNMENT_ARG usage.
4518         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4519         __NR_fadvise64_64 if it is not defined.
4521 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4523         * version.h (RELEASE): Set to "development"
4524         (VERSION): Set to 2.25.90.
4525         * NEWS: Add 2.26 section.
4527         * version.h (RELEASE): Set to "stable"
4528         (VERSION): Set to 2.25.
4529         * include/features.h (__GLIBC_MINOR__): Set to 25.
4531         * manual/contrib.texi: Add more contributors from this release
4532         and past releases.
4534         * NEWS (2.25): Add list of bugs fixed.
4536         * NEWS: Add missing news items.
4538 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4540         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4541         parent if child exited in that manner.  Print WEXITSTATUS
4542         instead of the raw status.
4543         (do_test_prep): Rename to do_test.
4544         (do_test): Return the result of run_executable_sgid.
4545         (TEST_FUNCTION_ARGV): Adjust.
4547 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4548             Florian Weimer  <fweimer@redhat.com>
4549             Carlos O'Donell  <carlos@redhat.com>
4551         [BZ #20915]
4552         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4553         Do not initialize DTV.
4554         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4556 2017-02-03  David S. Miller  <davem@davemloft.net>
4558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4567         (libm-sysdep_routines): Update.
4568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4573         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4574         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4575         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4576         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4578         Likewise.
4579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4581         Likewise.
4582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4584         Likewise.
4585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4587         Likewise.
4588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4590         (libm-sysdep_routines): Update.
4592 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4595         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4596         against unrelocated shared library.
4597         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4599 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4601         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4602         * elf/tst-env-setuid-tunables.c
4603         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4604         GLIBC_TUNABLES is removed in a setgid process.
4606         [BZ #21073]
4607         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4608         * elf/dl-tunables.c (tunables_strdup): Remove.
4609         (get_next_env): Also return the previous envp.
4610         (parse_tunables): Erase tunables of category
4611         TUNABLES_SECLEVEL_SXID_ERASE.
4612         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4613         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4614         (__tunables_init)[TUNABLES_FRONTEND ==
4615         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4616         after parsing.
4617         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4618         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4619         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4620         to security_level.
4621         * elf/dl-tunables.list: Add security_level annotations for all
4622         tunables.
4623         * scripts/gen-tunables.awk: Recognize and generate enum values
4624         for security_level.
4625         * elf/tst-env-setuid.c: New test case.
4626         * elf/tst-env-setuid-tunables: new test case.
4627         * elf/Makefile (tests-static): Add them.
4629 2017-02-01  Richard Henderson  <rth@twiddle.net>
4631         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4632         adjusting the byte count.
4634 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4636         * conform/Makefile (linknamespace-libs): Define.
4638         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4639         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4640         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4641         operands.
4643 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4645         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4647 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4649         [BZ #21081]
4650         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4651         (L(stosb)): Add VZEROUPPER before ret.
4653 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4654             Alexey Makhalov <amakhalov@vmware.com>
4655             Florian Weimer <fweimer@redhat.com>
4657         [BZ #20116]
4658         * nptl/pthread_create.c: Document concurrency notes.
4659         Enhance thread creation notes.
4660         (create_thread): Use bool *stopped_start.
4661         (START_THREAD_DEFN): Comment ownership of PD.
4662         (__pthread_create_2_1): Add local bool stopped_start and use
4663         that instead of pd->stopped_start where appropriate.
4664         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4665         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4666         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4667         * nptl/tst-create-detached.c: New file.
4668         * nptl/Makefile (tests): Add tst-create-detached.
4669         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4670         Reference the enhanced thread creation notes.
4671         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4672         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4673         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4674         (__pthread_current_priority): Likewise.
4675         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4676         xpthread_attr_init, xpthread_attr_setdetachstate, and
4677         xpthread_attr_setstacksize.
4678         * support/xpthread_attr_destroy.c: New file.
4679         * support/xpthread_attr_init.c: New file.
4680         * support/xpthread_attr_setdetachstate.c: New file.
4681         * support/xpthread_attr_setstacksize.c: New file.
4682         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4683         xpthread_attr_init, xpthread_attr_setdetachstate, and
4684         xpthread_attr_setstacksize.
4686 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4688         * nptl/Makefile (tests): Add tst-robust-fork.
4689         * nptl/tst-robust-fork.c: New file.
4690         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4691         xpthread_mutex_consistent, xpthread_mutex_destroy,
4692         xpthread_mutex_init, xpthread_mutexattr_destroy,
4693         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4694         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4695         xpthread_mutexattr_settype.
4696         * support/xmmap.c: New file.
4697         * support/xmunmap.c: Likewise.
4698         * support/xpthread_mutex_consistent.c: Likewise.
4699         * support/xpthread_mutex_destroy.c: Likewise.
4700         * support/xpthread_mutex_init.c: Likewise.
4701         * support/xpthread_mutexattr_destroy.c: Likewise.
4702         * support/xpthread_mutexattr_init.c: Likewise.
4703         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4704         * support/xpthread_mutexattr_setpshared.c: Likewise.
4705         * support/xpthread_mutexattr_setrobust.c: Likewise.
4706         * support/xpthread_mutexattr_settype.c: Likewise.
4707         * support/xthread.h (xpthread_mutexattr_destroy)
4708         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4709         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4710         (xpthread_mutexattr_settype, xpthread_mutex_init)
4711         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4712         * support/xunistd.h (xmmap, xmunmap): Likewise.
4714 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4716         * string/Makefile (xtests): Add comment.
4717         (LOCALES): Add en_GB.UTF-8.
4718         (tst-strcoll-overflow.out): Depend on generated locales.
4719         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4720         (SIZE, TIMEOUT): Update comments.
4721         (do_test): Define as static.  Fail test if setlocale fails.
4722         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4723         messages.
4724         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4725         TIMEOUT at 300 seconds should be enough to run this test
4726         successfully.
4728 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4730         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4731         /* FALLTHRU */ comments.
4733 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4735         [BZ #21053]
4736         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4737         constants instead of the old R* ones.
4738         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4739         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4740         (NGREG): ... to this, to fit in with other architectures.
4741         (gpregset_t): Use new NGREG macro.
4742         [__USE_GNU]: Remove condition; all architectures other than tile
4743         are unconditional.
4744         (R*): Rename to REG_R*.
4746 2017-01-20  DJ Delorie  <dj@redhat.com>
4748         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4749         (tunable_set_val_if_valid_range_signed) ... this, and ...
4750         (tunable_set_val_if_valid_range_unsigned) ... this.
4751         (tunable_initialize): Call the correct one of the above based on type.
4753 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4755         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4756         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4757         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4758         * sysdeps/microblaze/libm-test-ulps: Likewise.
4759         * sysdeps/sh/libm-test-ulps: Likewise.
4761         * math/README.libm-test: Update list of characters for input and
4762         output types.
4764 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4766         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4767         (__lll_unlock_elision): Fix adapt_count decrement.
4769 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4771         * README.pretty-printers (Known issues): Warn about printers not
4772         always covering everything.
4773         * nptl/nptl-printers.py (MutexPrinter): Change output.
4774         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4776 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4778         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4779         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4780         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4781         (__lll_lock_elision): Do not test futex before starting a
4782         transaction.  Use __glibc_likely instead of __builtin_expect.
4783         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4784         (__lll_trylock_elision): Do not test futex before starting a
4785         transaction.  Use __glibc_likely instead of __builtin_expect.
4787 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4789         * po/Makefile (update-translations): New target.
4791 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4793         [BZ #21061]
4794         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4796 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4798         * elf/dl-tunables (get_next_env): Always advance envp.
4799         * stdlib/tst-empty-env.c: New test case.
4800         * stdlib/Makefile (tests): Use it.
4802 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4804         [BZ #21047]
4805         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4806         name for instruction.
4807         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4809 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4811         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4812         for make install.
4814 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4816         * po/bg.po: Merge from Translation Project.
4817         * po/fr.po: Likewise.
4818         * po/ko.po: Likewise.
4819         * po/nl.po: Likewise.
4820         * po/sv.po: Likewise.
4822 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4824         * manual/install.texi (Tools for Compilation): Update GCC version
4825         known to work to build glibc.
4826         * INSTALL: Regenerated.
4828 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4830         [BZ #21006]
4831         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4833 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4835         [BZ #21045]
4836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4837         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4838         to __sigprocmask.
4840 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4842         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4843         wrap-around.
4844         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4846         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4848 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4850         * NEWS: Fix typo.
4852 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4854         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4855         barriers and comments.
4856         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4857         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4858         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4860 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4862         [BZ #19402]
4863         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4864         mutexes.
4866 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4868         [BZ #20985]
4869         * nptl/Makefile: Adapt.
4870         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4871         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4872         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4873         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4874         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4875         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4876         lll_robust* functions and adapt.
4877         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4878         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4879         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4880         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4881         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4882         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4884         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4885         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4886         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4887         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4888         * nptl/lowlevelrobustlock.c: Remove file.
4889         * nptl/lowlevelrobustlock.sym: Likewise.
4890         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4891         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4893 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4895         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4897 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4899         * po/cs.po: Merge translations from the Translation Project.
4900         * po/de.po: Likewise.
4901         * po/pl.po: Likewise.
4902         * po/ru.po: Likewise.
4903         * po/tr.po: Likewise.
4904         * po/uk.po: Likewise.
4905         * po/vi.po: Likewise.
4906         * po/zh_CN.po: Likewise.
4908 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4910         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4912         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4913         object.
4915 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4917         [BZ #16458]
4918         * bits/uintn-identity.h: New file.
4919         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4920         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4921         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4922         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4923         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4924         * string/endian.h: Include <bits/uintn-identity.h>.
4925         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4926         __uint16_identity.
4927         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4928         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4929         __uint32_identity.
4930         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4931         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4932         __uint64_identity.
4933         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4934         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4935         __uint16_identity.
4936         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4937         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4938         __uint32_identity.
4939         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4940         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4941         __uint64_identity.
4942         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4943         * string/Makefile (headers): Add bits/uintn-identity.h.
4944         (tests): Add test-endian-types.
4945         * string/test-endian-types.c: New file.
4946         * inet/Makefile (tests): Add test-hnto-types.
4947         * inet/test-hnto-types.c: New file.
4949 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4951         * po/be.po: Update from Translation Project.
4952         * po/bg.po: Likewise.
4953         * po/ca.po: Likewise.
4954         * po/cs.po: Likewise.
4955         * po/da.po: Likewise.
4956         * po/de.po: Likewise.
4957         * po/el.po: Likewise.
4958         * po/eo.po: Likewise.
4959         * po/es.po: Likewise.
4960         * po/fi.po: Likewise.
4961         * po/fr.po: Likewise.
4962         * po/gl.po: Likewise.
4963         * po/hr.po: Likewise.
4964         * po/hu.po: Likewise.
4965         * po/ia.po: Likewise.
4966         * po/id.po: Likewise.
4967         * po/it.po: Likewise.
4968         * po/ja.po: Likewise.
4969         * po/ko.po: Likewise.
4970         * po/lt.po: Likewise.
4971         * po/nb.po: Likewise.
4972         * po/nl.po: Likewise.
4973         * po/pl.po: Likewise.
4974         * po/pt_BR.po: Likewise.
4975         * po/ru.po: Likewise.
4976         * po/rw.po: Likewise.
4977         * po/sk.po: Likewise.
4978         * po/sl.po: Likewise.
4979         * po/sv.po: Likewise.
4980         * po/tr.po: Likewise.
4981         * po/uk.po: Likewise.
4982         * po/vi.po: Likewise.
4983         * po/zh_CN.po: Likewise.
4984         * po/zh_TW.po: Likewise.
4986 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4988         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4989         -Wformat-truncation instead of -Wformat-length.
4990         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4991         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4992         GCC 7.
4993         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4994         (do_test): Ignore -Wformat-truncation for GCC 7.
4996         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4997         buffer used to print long int value.
4999         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5000         one byte.  Print it with %ld, cast to long int.
5002 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5004         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5005         (re.fullmatch, subprocess.run): Likewise.
5007 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5009         * po/libc.pot: Regenerate.
5011 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5013         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5014         (min_strlen): Likewise.
5015         (disable_tunable): Likewise.
5016         (maybe_disable_malloc_check): Rename to
5017         maybe_enable_malloc_check.
5018         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5019         if /etc/suid-debug file exists.
5020         (__tunables_init): Update caller.
5021         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5022         secure.
5024 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5026         * nptl/DESIGN-rwlock.txt: Remove.
5027         * nptl/lowlevelrwlock.sym: Remove.
5028         * nptl/Makefile: Add new tests.
5029         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5030         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5031         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5032         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5033         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5034         PTHREAD_RWLOCK_FUTEX_USED): New.
5035         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5036         implementation.
5037         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5038         (__pthread_rwlock_rdlock): Adapt.
5039         * nptl/pthread_rwlock_timedrdlock.c
5040         (pthread_rwlock_timedrdlock): Adapt.
5041         * nptl/pthread_rwlock_timedwrlock.c
5042         (pthread_rwlock_timedwrlock): Adapt.
5043         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5044         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5045         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5046         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5047         (__pthread_rwlock_wrlock): Adapt.
5048         * nptl/tst-rwlock10.c: Adapt.
5049         * nptl/tst-rwlock11.c: Adapt.
5050         * nptl/tst-rwlock17.c: New file.
5051         * nptl/tst-rwlock18.c: New file.
5052         * nptl/tst-rwlock19.c: New file.
5053         * nptl/tst-rwlock2b.c: New file.
5054         * nptl/tst-rwlock8.c: Adapt.
5055         * nptl/tst-rwlock9.c: Adapt.
5056         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5057         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5058         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5059         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5060         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5061         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5062         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5063         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5064         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5065         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5066         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5067         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5068         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5069         (pthread_rwlock_t): Adapt.
5070         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5071         (pthread_rwlock_t): Adapt.
5072         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5073         * nptl/nptl-printers.py (): Adapt.
5074         * nptl/nptl_lock_constants.pysym: Adapt.
5075         * nptl/test-rwlock-printers.py: Adapt.
5076         * nptl/test-rwlockattr-printers.c: Adapt.
5077         * nptl/test-rwlockattr-printers.py: Adapt.
5079 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5081         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5082         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5083         (fma_test_data): Likewise.
5084         (hypot_test_data): Likewise.
5085         (log1p_test_data): Likewise.
5086         (modf_test_data): Likewise.
5087         (pow_test_data): Likewise.
5088         (remainder_test_data): Likewise.
5089         (remquo_test_data): Likewise.
5090         (scalb_test_data): Likewise.
5091         (scalbn_test_data): Likewise.
5092         (scalbln_test_data): Likewise.
5093         * math/gen-libm-test.pl (parse_args): Transform
5094         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5095         on the rounding mode.
5097 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5099         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5100         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5101         and those that can underflow to zero.
5102         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5103         add others.
5104         * math/auto-libm-test-out: Regenerated.
5106         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5107         supported.
5108         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5109         modes support if not supported.
5111         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5112         Add libc.so PLT entry.
5113         (__tls_get_addr): Make ld.so PLT entry optional.
5115 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5117         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5118         * string/bits/string3.h: ... here.
5120 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5122         [BZ #21028]
5123         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5124         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5125         if EXCEPTION_TESTS returns false.
5127 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5129         [BZ #20558]
5130         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5131         strings_fortified.h.
5132         [__USE_MISC] (bzero): Likewise.
5133         [__USE_MISC] (explicit_bzero): Likewise.
5134         * string/strings.h: Include strings_fortified.h.
5135         * string/Makefile (headers): Add strings_fortified.h.
5136         * string/bits/strings_fortified.h: New file.
5137         * include/bits/strings_fortified.h: Likewise.
5139 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5141         * elf/tst-tls13.c (TIMEOUT): Remove.
5142         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5143         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5144         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5145         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5146         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5148         [BZ #21026]
5149         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5150         (readahead): New syscall entry.
5152 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5154         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5155         around tests of strncat with large sizes.
5157         * malloc/tst-malloc.c: Include <libc-internal.h>.
5158         (do_test): Disable -Walloc-size-larger-than= around tests of
5159         malloc with negative sizes.
5160         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5161         (do_test): Disable -Walloc-size-larger-than= around tests of
5162         malloc and realloc with negative sizes.
5163         * malloc/tst-realloc.c: Include <libc-internal.h>.
5164         (do_test): Disable -Walloc-size-larger-than= around tests of
5165         realloc with negative sizes.
5167         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5168         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5169         allowed to 16 ulps.
5170         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5171         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5172         * math/auto-libm-test-out: Regenerated.
5174 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5176         * math/Makefile (libm-calls): Move wrappers...
5177         (libm-compat-call-auto): Here.
5178         (libm-routines): Add items in libm-compat-calls-auto.
5179         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5180         the filenames of the wrappers that have been renamed.
5181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5184         * math/w_acos.c: Add _compat suffix to filename.
5185         * math/w_acosf.c: Likewise.
5186         * math/w_acosh.c: Likewise.
5187         * math/w_acoshf.c: Likewise.
5188         * math/w_acoshl.c: Likewise.
5189         * math/w_acosl.c: Likewise.
5190         * math/w_asin.c: Likewise.
5191         * math/w_asinf.c: Likewise.
5192         * math/w_asinl.c: Likewise.
5193         * math/w_atan2.c: Likewise.
5194         * math/w_atan2f.c: Likewise.
5195         * math/w_atan2l.c: Likewise.
5196         * math/w_atanh.c: Likewise.
5197         * math/w_atanhf.c: Likewise.
5198         * math/w_atanhl.c: Likewise.
5199         * math/w_cosh.c: Likewise.
5200         * math/w_coshf.c: Likewise.
5201         * math/w_coshl.c: Likewise.
5202         * math/w_exp10.c: Likewise.
5203         * math/w_exp10f.c: Likewise.
5204         * math/w_exp10l.c: Likewise.
5205         * math/w_exp2.c: Likewise.
5206         * math/w_exp2f.c: Likewise.
5207         * math/w_exp2l.c: Likewise.
5208         * math/w_fmod.c: Likewise.
5209         * math/w_fmodf.c: Likewise.
5210         * math/w_fmodl.c: Likewise.
5211         * math/w_hypot.c: Likewise.
5212         * math/w_hypotf.c: Likewise.
5213         * math/w_hypotl.c: Likewise.
5214         * math/w_j0.c: Likewise.
5215         * math/w_j0f.c: Likewise.
5216         * math/w_j0l.c: Likewise.
5217         * math/w_j1.c: Likewise.
5218         * math/w_j1f.c: Likewise.
5219         * math/w_j1l.c: Likewise.
5220         * math/w_jn.c: Likewise.
5221         * math/w_jnf.c: Likewise.
5222         * math/w_jnl.c: Likewise.
5223         * math/w_log10.c: Likewise.
5224         * math/w_log10f.c: Likewise.
5225         * math/w_log10l.c: Likewise.
5226         * math/w_log2.c: Likewise.
5227         * math/w_log2f.c: Likewise.
5228         * math/w_log2l.c: Likewise.
5229         * math/w_log.c: Likewise.
5230         * math/w_logf.c: Likewise.
5231         * math/w_logl.c: Likewise.
5232         * math/w_pow.c: Likewise.
5233         * math/w_powf.c: Likewise.
5234         * math/w_powl.c: Likewise.
5235         * math/w_remainder.c: Likewise.
5236         * math/w_remainderf.c: Likewise.
5237         * math/w_remainderl.c: Likewise.
5238         * math/w_scalb.c: Likewise.
5239         * math/w_scalbf.c: Likewise.
5240         * math/w_scalbl.c: Likewise.
5241         * math/w_sinh.c: Likewise.
5242         * math/w_sinhf.c: Likewise.
5243         * math/w_sinhl.c: Likewise.
5244         * math/w_sqrt.c: Likewise.
5245         * math/w_sqrtf.c: Likewise.
5246         * math/w_sqrtl.c: Likewise.
5247         * math/w_tgamma.c: Likewise.
5248         * math/w_tgammaf.c: Likewise.
5249         * math/w_tgammal.c: Likewise.
5251         * math/w_acos_compat.c: New file copied from above and
5252         adjusted for new #includes path
5253         * math/w_acosf_compat.c: Likewise.
5254         * math/w_acosh_compat.c: Likewise.
5255         * math/w_acoshf_compat.c: Likewise.
5256         * math/w_acoshl_compat.c: Likewise.
5257         * math/w_acosl_compat.c: Likewise.
5258         * math/w_asin_compat.c: Likewise.
5259         * math/w_asinf_compat.c: Likewise.
5260         * math/w_asinl_compat.c: Likewise.
5261         * math/w_atan2_compat.c: Likewise.
5262         * math/w_atan2f_compat.c: Likewise.
5263         * math/w_atan2l_compat.c: Likewise.
5264         * math/w_atanh_compat.c: Likewise.
5265         * math/w_atanhf_compat.c: Likewise.
5266         * math/w_atanhl_compat.c: Likewise.
5267         * math/w_cosh_compat.c: Likewise.
5268         * math/w_coshf_compat.c: Likewise.
5269         * math/w_coshl_compat.c: Likewise.
5270         * math/w_exp10_compat.c: Likewise.
5271         * math/w_exp10f_compat.c: Likewise.
5272         * math/w_exp10l_compat.c: Likewise.
5273         * math/w_exp2_compat.c: Likewise.
5274         * math/w_exp2f_compat.c: Likewise.
5275         * math/w_exp2l_compat.c: Likewise.
5276         * math/w_fmod_compat.c: Likewise.
5277         * math/w_fmodf_compat.c: Likewise.
5278         * math/w_fmodl_compat.c: Likewise.
5279         * math/w_hypot_compat.c: Likewise.
5280         * math/w_hypotf_compat.c: Likewise.
5281         * math/w_hypotl_compat.c: Likewise.
5282         * math/w_j0_compat.c: Likewise.
5283         * math/w_j0f_compat.c: Likewise.
5284         * math/w_j0l_compat.c: Likewise.
5285         * math/w_j1_compat.c: Likewise.
5286         * math/w_j1f_compat.c: Likewise.
5287         * math/w_j1l_compat.c: Likewise.
5288         * math/w_jn_compat.c: Likewise.
5289         * math/w_jnf_compat.c: Likewise.
5290         * math/w_jnl_compat.c: Likewise.
5291         * math/w_log10_compat.c: Likewise.
5292         * math/w_log10f_compat.c: Likewise.
5293         * math/w_log10l_compat.c: Likewise.
5294         * math/w_log2_compat.c: Likewise.
5295         * math/w_log2f_compat.c: Likewise.
5296         * math/w_log2l_compat.c: Likewise.
5297         * math/w_log_compat.c: Likewise.
5298         * math/w_logf_compat.c: Likewise.
5299         * math/w_logl_compat.c: Likewise.
5300         * math/w_pow_compat.c: Likewise.
5301         * math/w_powf_compat.c: Likewise.
5302         * math/w_powl_compat.c: Likewise.
5303         * math/w_remainder_compat.c: Likewise.
5304         * math/w_remainderf_compat.c: Likewise.
5305         * math/w_remainderl_compat.c: Likewise.
5306         * math/w_scalb_compat.c: Likewise.
5307         * math/w_scalbf_compat.c: Likewise.
5308         * math/w_scalbl_compat.c: Likewise.
5309         * math/w_sinh_compat.c: Likewise.
5310         * math/w_sinhf_compat.c: Likewise.
5311         * math/w_sinhl_compat.c: Likewise.
5312         * math/w_sqrt_compat.c: Likewise.
5313         * math/w_sqrtf_compat.c: Likewise.
5314         * math/w_sqrtl_compat.c: Likewise.
5315         * math/w_tgamma_compat.c: Likewise.
5316         * math/w_tgammaf_compat.c: Likewise.
5317         * math/w_tgammal_compat.c: Likewise.
5319         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5320         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5321         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5322         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5323         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5324         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5325         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5326         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5327         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5328         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5329         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5330         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5331         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5332         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5333         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5334         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5335         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5336         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5337         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5338         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5339         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5340         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5341         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5342         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5343         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5344         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5345         * sysdeps/ia64/fpu/w_log.c: Likewise.
5346         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5347         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5348         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5349         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5350         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5351         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5352         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5353         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5354         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5355         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5356         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5357         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5358         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5359         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5360         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5361         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5362         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5363         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5364         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5365         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5366         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5367         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5368         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5369         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5370         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5371         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5372         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5373         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5374         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5375         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5376         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5377         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5378         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5379         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5380         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5381         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5382         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5383         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5384         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5385         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5386         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5387         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5388         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5389         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5390         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5391         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5392         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5393         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5394         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5395         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5396         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5397         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5398         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5399         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5400         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5401         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5402         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5403         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5404         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5405         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5406         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5407         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5408         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5409         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5410         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5411         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5412         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5413         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5414         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5415         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5416         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5417         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5418         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5420         Likewise.
5421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5422         Likewise.
5423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5425         Likewise.
5426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5427         Likewise.
5428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5429         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5430         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5432         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5433         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5434         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5440         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5441         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5442         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5444         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5445         and adjusted for new #includes path
5446         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5447         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5448         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5449         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5450         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5451         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5452         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5453         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5454         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5455         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5456         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5457         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5458         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5459         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5460         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5461         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5462         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5463         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5464         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5465         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5466         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5467         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5468         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5469         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5470         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5471         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5472         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5473         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5474         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5475         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5476         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5477         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5478         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5479         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5480         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5481         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5482         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5483         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5484         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5485         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5486         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5487         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5488         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5489         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5490         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5491         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5492         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5493         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5494         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5495         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5496         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5497         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5498         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5499         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5500         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5501         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5502         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5503         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5504         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5505         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5506         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5507         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5508         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5509         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5510         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5511         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5512         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5513         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5514         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5515         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5516         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5517         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5518         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5519         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5520         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5521         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5522         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5523         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5524         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5525         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5526         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5527         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5528         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5529         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5530         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5531         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5532         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5533         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5534         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5535         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5536         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5537         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5538         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5539         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5540         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5541         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5542         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5543         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5544         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5546         Likewise.
5547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5548         Likewise.
5549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5550         Likewise.
5551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5552         Likewise.
5553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5554         Likewise.
5555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5556         Likewise.
5557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5559         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5560         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5561         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5562         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5564         Likewise.
5565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5566         Likewise.
5567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5568         Likewise.
5569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5570         Likewise.
5571         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5572         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5573         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5574         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5576 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5578         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5579         __jmp_buf_internal_tag.
5581         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5582         preserve NaN payload if [__mips_nan2008].
5583         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5585         [BZ #21022]
5586         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5588 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5590         * sysdeps/i386/fpu/libm-test-ulps: Update.
5592 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5594         * sysdeps/ia64/strcat.c: Remove file.
5595         * sysdeps/powerpc/strcat.c: Likewise.
5596         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5597         C implementation.
5598         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5599         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5601 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5602             Steven Munroe  <sjmunroe@us.ibm.com>
5603             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5605         [BZ #20822]
5606         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5607         (__lll_lock_elision): Access adapt_count via C11 atomics.
5608         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5609         (__lll_trylock_elision): Likewise.
5610         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5611         (__lll_unlock_elision):  Update adapt_count variable inside the
5612         critical section using C11 atomics.
5614 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5616         * math/test-fenvinline.c (do_test): Disable tests of raised
5617         exceptions if !EXCEPTION_TESTS (FLOAT).
5619 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5621         [BZ #19390]
5622         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5623         maximum string size.
5624         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5625         in pointer addition.
5626         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5627         Likewise.
5629 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5631         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5632         passed to tst-ldconfig-X.sh.
5634 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5636         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5638 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5640         [BZ #21019]
5641         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5642         New syscall entry.
5643         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5644         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5645         lseek.
5647         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5648         power4 glibc for powerpc-linux-gnu.
5650 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5652         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5653         semctl.
5655 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5657         * math/test-nearbyint-except.c: Include <stdbool.h>.
5658         (any_supported): New variable.
5659         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5660         set any_supported.
5661         (do_test): Return 77 if no floating-point type supported
5662         exceptions.
5664         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5665         condition on [__mips_hard_float].
5667 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5669         [BZ #21014]
5670         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5671         in pointer addition.
5672         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5674 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5676         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5677         new condvar.
5679 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5681         * scripts/build-many-glibcs.py (Context.checkout): Default
5682         binutils version to 2.28 branch.
5684 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5686         * support/support_format_netent.c (support_format_netent): Work
5687         around alpha struct netent definition difference.
5689 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5691         * support/xwrite.c (xwrite): Use %td for pointer difference.
5693 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5695         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5696         have-tunables only.
5697         (tests-static): Add tst-malloc-usable-static-tunables for
5698         have-tunables only.
5700 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5702         * scripts/config.guess: Update to version 2017-01-01.
5703         * scripts/config.sub: Update to version 2017-01-01.
5705         * NEWS: Update copyright dates.
5706         * catgets/gencat.c (print_version): Likewise.
5707         * csu/version.c (banner): Likewise.
5708         * debug/catchsegv.sh: Likewise.
5709         * debug/pcprofiledump.c (print_version): Likewise.
5710         * debug/xtrace.sh (do_version): Likewise.
5711         * elf/ldconfig.c (print_version): Likewise.
5712         * elf/ldd.bash.in: Likewise.
5713         * elf/pldd.c (print_version): Likewise.
5714         * elf/sotruss.sh: Likewise.
5715         * elf/sprof.c (print_version): Likewise.
5716         * iconv/iconv_prog.c (print_version): Likewise.
5717         * iconv/iconvconfig.c (print_version): Likewise.
5718         * locale/programs/locale.c (print_version): Likewise.
5719         * locale/programs/localedef.c (print_version): Likewise.
5720         * login/programs/pt_chown.c (print_version): Likewise.
5721         * malloc/memusage.sh (do_version): Likewise.
5722         * malloc/memusagestat.c (print_version): Likewise.
5723         * malloc/mtrace.pl: Likewise.
5724         * manual/libc.texinfo: Likewise.
5725         * nptl/version.c (banner): Likewise.
5726         * nscd/nscd.c (print_version): Likewise.
5727         * nss/getent.c (print_version): Likewise.
5728         * nss/makedb.c (print_version): Likewise.
5729         * posix/getconf.c (main): Likewise.
5730         * scripts/test-installation.pl: Likewise.
5731         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5733         * All files with FSF copyright notices: Update copyright dates
5734         using scripts/update-copyrights.
5735         * intl/plural.c: Regenerated.
5736         * locale/programs/charmap-kw.h: Likewise.
5737         * locale/programs/locfile-kw.h: Likewise.
5739 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5741         [BZ #20593]
5742         Update DNS RR type definitions.
5743         * scripts/gen-rrtypes.py: New file.
5744         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5745         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5746         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5747         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5748         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5749         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5750         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5751         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5752         ns_t_ta, ns_t_dlv.
5753         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5754         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5755         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5756         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5757         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5758         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5759         Define.
5760         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5761         entry for ns_t_zxfr.
5763 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5765         [BZ #18784]
5766         CVE-2015-5180
5767         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5768         T_UNSPEC.  Adjust value.
5769         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5770         * resolv/res_query.c (__libc_res_nquery): Likewise.
5771         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5772         QTYPEs.
5773         * resolv/tst-resolv-qtypes.c: New file.
5774         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5775         (tst-resolv-qtypes): Link against libresolv and libpthread.
5777 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5779         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5781 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5783         * manual/tunables.texi: New chapter.
5784         * manual/Makefile (chapters): Add it.
5785         * manual/probes.texi (@node): Point to the Tunables chapter.
5787         * Makeconfig (have-tunables): Check for non-negative instead
5788         of positive.
5789         * configure.ac: Add 'valstring' as a valid value for
5790         --enable-tunables.
5791         * configure: Regenerate.
5792         * elf/Makefile (have-tunables): Check for non-negative instead
5793         of positive.
5794         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5795         dl-tunables.c.
5796         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5797         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5798         (tunables_strdup): Likewise.
5799         (disable_tunables): Likewise.
5800         (parse_tunables): Likewise.
5801         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5802         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5803         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5804         (TUNABLES_FRONTEND_yes): New macro, define as
5805         TUNABLES_FRONTEND_valstring by default.
5806         * manual/install.texi: Document new acceptable values for
5807         --enable-tunables.
5808         * INSTALL: Regenerate.
5810         * config.make.in (have-loop-to-function): Define.
5811         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5812         -fno-tree-loop-distribute-patterns.
5813         * elf/dl-tunables.c: Include libc-internals.h.
5814         (GLIBC_TUNABLES): New macro.
5815         (tunables_strdup): New function.
5816         (parse_tunables): New function.
5817         (min_strlen): New function.
5818         (__tunables_init): Use the new functions and macro.
5819         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5820         * malloc/tst-malloc-usable-tunables.c: New test case.
5821         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5822         * malloc/Makefile (tests, tests-static): Add tests.
5824         * manual/install.texi: Add --enable-tunables option.
5825         * INSTALL: Regenerate.
5826         * README.tunables: New file.
5827         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5828         (before-compile): Generate dl-tunable-list.h early.
5829         * config.h.in: Add HAVE_TUNABLES.
5830         * config.make.in: Add have-tunables.
5831         * configure.ac: Add --enable-tunables option.
5832         * configure: Regenerate.
5833         * csu/init-first.c (__libc_init_first): Move
5834         __libc_init_secure earlier...
5835         * csu/init-first.c (LIBC_START_MAIN):... to here.
5836         Include dl-tunables.h, libc-internal.h.
5837         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5838         binaries.
5839         * elf/Makefile (dl-routines): Add dl-tunables.
5840         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5841         namespace.
5842         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5843         only when !HAVE_TUNABLES.
5844         * elf/rtld.c (process_envvars): Likewise.
5845         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5846         (_dl_sysdep_start): Call __tunables_init.
5847         * elf/dl-tunable-types.h: New file.
5848         * elf/dl-tunables.c: New file.
5849         * elf/dl-tunables.h: New file.
5850         * elf/dl-tunables.list: New file.
5851         * malloc/tst-malloc-usable-static.c: New test case.
5852         * malloc/Makefile (tests-static): Add it.
5853         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5854         Define TUNABLE_NAMESPACE.
5855         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5856         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5857         callback functions.
5858         (ptmalloc_init): Set tunable values.
5859         * scripts/gen-tunables.awk: New file.
5860         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5861         (_dl_sysdep_start): Call __tunables_init.
5863 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5865         * resolv/resolv.h (RES_BLAST): Deprecate.
5866         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5867         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5868         to RES_BLAST.
5870 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5872         [BZ #19582]
5873         Deprecate RES_USE_INET6.
5874         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5875         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5876         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5877         RES_USE_INET6.
5878         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5879         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5880         (_nss_nisplus_gethostbyaddr_r): Likewise.
5881         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5882         of res_use_inet6.
5883         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5884         instead of RES_USE_INET6.
5885         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5886         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5887         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5888         Likewise.
5889         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5890         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5891         Likewise.
5892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5893         (_nss_dns_gethostbyname_r): Likewise.
5894         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5895         alternate RES_USE_INET6 handling.
5896         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5897         instead of RES_USE_INET6.
5898         * resolv/res_init.c (res_setoptions): Likewise.
5899         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5900         * resolv/resolv-internal.h: New file.
5901         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5902         make the deprecation warning non-fatal.
5903         * resolv/README (Using the resolver in multi-threaded code): Drop
5904         reference to RES_USE_INET6.
5905         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5906         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5908 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5910         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5911         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5912         tst-resolv-search.
5913         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5914         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5915         with libresolv and libpthread.
5916         * resolv/tst-bug18665.c: New file.
5917         * resolv/tst-bug18665-tcp: Likewise.
5918         * resolv/tst-res_use_inet6: Likewise.
5919         * resolv/tst-resolv-basic: Likewise.
5920         * resolv/tst-resolv-network: Likewise.
5921         * resolv/tst-resolv-search: Likewise.
5922         * support/Makefile (libsupport-routines): Add check_addrinfo,
5923         check_dns_packet, check_hostent, check_netent, resolv_test,
5924         support_format_address_family, support_format_addrinfo,
5925         support_format_dns_packet, support_format_herrno,
5926         support_format_hostent, support_format_netent, support_run_diff,
5927         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5928         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5929         xstrdup, xwrite.
5930         * support/check_addrinfo.c: New file.
5931         * support/check_dns_packet.c: Likewise.
5932         * support/check_hostent.c: Likewise.
5933         * support/check_netent.c: Likewise.
5934         * support/check_nss.h: Likewise.
5935         * support/format_nss.h: Likewise.
5936         * support/resolv_test.c: Likewise.
5937         * support/resolv_test.h: Likewise.
5938         * support/run_diff.h: Likewise.
5939         * support/support_format_address_family.c: Likewise.
5940         * support/support_format_addrinfo.c: Likewise.
5941         * support/support_format_dns_packet.c: Likewise.
5942         * support/support_format_herrno.c: Likewise.
5943         * support/support_format_hostent.c: Likewise.
5944         * support/support_format_netent.c: Likewise.
5945         * support/support_run_diff.c: Likewise.
5946         * support/xaccept.c: Likewise.
5947         * support/xbind.c: Likewise.
5948         * support/xconnect.c: Likewise.
5949         * support/xfclose.c: Likewise.
5950         * support/xfopen.c: Likewise.
5951         * support/xgetsockname.c: Likewise.
5952         * support/xlisten.c: Likewise.
5953         * support/xmemstream.c: Likewise.
5954         * support/xmemstream.h: Likewise.
5955         * support/xpoll.c: Likewise.
5956         * support/xpthread_once.c: Likewise.
5957         * support/xrecvfrom.c: Likewise.
5958         * support/xsendto.c: Likewise.
5959         * support/xsetsockopt.c: Likewise.
5960         * support/xstdio.h: Likewise.
5961         * support/xstrdup.c: Likewise.
5962         * support/support.h (xstrdup): Declare.
5963         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5964         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5965         * support/xthread.h (xpthread_once): Likwise.
5966         * support/xunistd.h (xwrite): Declare.
5968 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5970         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5971         (test_verbose): Declare.
5972         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5973         * support/support_test_main.c (default_options): Likewise.
5974         (usage, support_test_main): Handle 'v'.
5975         (test_verbose): Define.
5976         * support/tst-support_record_failure.c (do_test): Use
5977         test_verbose.
5978         * support/tst-support_record_failure-2.sh (different_status): Add
5979         --verbose test.
5981 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5983         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5984         test failures are recorded.
5985         * support/check.c (support_print_failure_impl): Call
5986         support_record_failure.
5987         (support_exit_failure_impl): Call support_record_failure if status
5988         indicates failure.
5989         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5990         * support/xasprintf.c (xasprintf): Likewise.
5991         * support/xfork.c (xfork): Likewise.
5992         * support/xpthread_check_return.c (xpthread_check_return):
5993         Likewise.
5994         * support/xsocket.c (xsocket): Likeweise.
5995         * support/xwaitpid.c (xwaitpid): Likewise.
5996         * support/support_record_failure.c (struct test_failures): Adjust
5997         to coding style.
5998         * support/support_test_verify_impl.c (support_test_verify_impl):
5999         Adjust error messages.
6000         * support/tst-support_record_failure-2.sh (different_status):
6001         Adjust error messages.
6003 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6005         * support/namespace.h: New file.
6006         * support/support_become_root.c: Likewise.
6007         * support/support_enter_network_namespace.c: Likewise.
6008         * support/tst-support-namespace.c: Likewise.
6009         * support/xsocket.c: Likewise.
6010         * support/xsocket.h: Likewise.
6011         * support/Makefile (libsupport-routines): Add support_become_root,
6012         support_enter_network_namespace, xsocket.
6013         (tests): Add tst-support-namespace.
6015 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6017         [BZ #17252]
6018         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6019         __USE_GNU.
6021 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6023         [BZ #13165]
6024         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6025         use new algorithm.
6026         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6027         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6028         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6029         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6030         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6031         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6032         __condvar_cleanup_waiting, __condvar_dec_grefs,
6033         __pthread_cond_wait_common): New.
6034         (__condvar_cleanup): Remove.
6035         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6036         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6037         Likewise.
6038         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6039         Likewise.
6040         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6041         * nptl/tst-cond1.c: Add comment.
6042         * nptl/tst-cond20.c (do_test): Adapt.
6043         * nptl/tst-cond22.c (do_test): Likewise.
6044         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6045         structure.
6046         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6047         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6048         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6049         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6050         Likewise.
6051         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6052         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6053         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6054         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6055         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6056         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6057         Likewise.
6058         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6059         Likewise.
6060         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6061         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6062         (COND_CLOCK_BITS): Adapt.
6063         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6064         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6065         __PTHREAD_COND_SHARED_MASK): New.
6066         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6067         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6068         * nptl/nptl_lock_constants.pysym: Adapt.
6069         * nptl/test-cond-printers.py: Adapt.
6070         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6071         cond_compat_check_and_clear): Adapt.
6072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6073         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6074         (__pthread_cond_timedwait): ... and move here.
6075         * nptl/DESIGN-condvar.txt: Remove file.
6076         * nptl/lowlevelcond.sym: Likewise.
6077         * nptl/pthread_cond_timedwait.c: Likewise.
6078         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6079         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6083         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6088         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6095 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6097         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6098         (fromfp): New declaration.
6099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6102         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6107         * math/math.h: Include <bits/types.h>.
6108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6109         constant and macro.
6110         (FP_INT_DOWNWARD): Likewise.
6111         (FP_INT_TOWARDZERO): Likewise.
6112         (FP_INT_TONEARESTFROMZERO): Likewise.
6113         (FP_INT_TONEAREST): Likewise.
6114         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6115         (fromfpf): Likewise.
6116         (fromfpl): Likewise.
6117         (ufromfp): Likewise.
6118         (ufromfpf): Likewise.
6119         (ufromfpl): Likewise.
6120         (fromfpx): Likewise.
6121         (fromfpxf): Likewise.
6122         (fromfpxl): Likewise.
6123         (ufromfpx): Likewise.
6124         (ufromfpxf): Likewise.
6125         (ufromfpxl): Likewise.
6126         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6127         s_fromfpxF and s_ufromfpxF.
6128         * math/gen-fromfp-tests.py: New file.
6129         * math/gen-fromfp-tests-inputs: Likewise.
6130         * math/libm-test.inc: Include <stdint.h>
6131         (check_intmax_t): New function.
6132         (check_uintmax_t): Likewise.
6133         (struct test_fiu_M_data): New type.
6134         (struct test_fiu_U_data): Likewise.
6135         (RUN_TEST_fiu_M): New macro.
6136         (RUN_TEST_LOOP_fiu_M): Likewise.
6137         (RUN_TEST_fiu_U): Likewise.
6138         (RUN_TEST_LOOP_fiu_U): Likewise.
6139         (fromfp_test_data): New array.
6140         (fromfp_test): New function.
6141         (fromfpx_test_data): New array.
6142         (fromfpx_test): New function.
6143         (ufromfp_test_data): New array.
6144         (ufromfp_test): New function.
6145         (ufromfpx_test_data): New array.
6146         (ufromfpx_test): New function.
6147         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6148         ufromfpx_test.
6149         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6150         characters.
6151         * math/test-tgmath-ret.c: Include <stdint.h>.
6152         (rm): New variable.
6153         (width): Likewise.
6154         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6155         called function.
6156         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6157         CHECK_RET_CONST_TYPE.
6158         (CHECK_RET_CONST_DOUBLE): Likewise.
6159         (CHECK_RET_CONST_LDOUBLE): Likewise.
6160         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6161         macros.
6162         (fromfp): New CHECK_RET_CONST call.
6163         (ufromfp): Likewise.
6164         (fromfpx): Likewise.
6165         (ufromfpx): Likewise.
6166         (do_test): Call check_return_fromfp, check_return_ufromfp,
6167         check_return_fromfpx and check_return_ufromfpx.
6168         * math/test-tgmath.c: Include <stdint.h>
6169         (NCALLS): Increase to 138.
6170         (F(compile_test)): Initialize i.  Call fromfp functions.
6171         (F(fromfp)): New function.
6172         (F(fromfpx)): Likewise.
6173         (F(ufromfp)): Likewise.
6174         (F(ufromfpx)): Likewise.
6175         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6176         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6177         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6178         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6179         ufromfpxl.
6180         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6181         ufromfp and ufromfpx.
6182         * math/fromfp.h: New file.
6183         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6184         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6185         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6186         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6187         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6188         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6189         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6190         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6191         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6192         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6193         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6194         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6195         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6196         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6197         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6198         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6199         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6200         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6201         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6202         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6203         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6204         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6205         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6206         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6207         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6208         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6209         ufromfp, fromfpx and ufromfpx.
6210         (CFLAGS-nldbl-fromfp.c): New variable.
6211         (CFLAGS-nldbl-fromfpx.c): Likewise.
6212         (CFLAGS-nldbl-ufromfp.c): Likewise.
6213         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6214         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6215         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6216         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6217         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6218         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6219         * sysdeps/nacl/libm.abilist: Update.
6220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6228         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6229         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6231         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6233         Likewise.
6234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6235         Likewise.
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6237         Likewise.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6239         Likewise.
6240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6242         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6244         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6246         Likewise.
6247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6248         Likewise.
6249         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6250         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6251         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6253 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6255         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6256         compat-gethnamaddr.
6257         (CPPFLAGS): Remove.
6258         * resolv/gethnamaddr.c: Rename ...
6259         * resolv/compat-gethnamaddr.c: ... to this file.
6260         (_endhtent): Make static.
6261         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6262         symbol.
6263         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6264         compat symbol.
6265         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6266         symbol.
6267         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6268         Turn into compat symbol.
6269         * include/resolv.h (_endhtent): Remove declaration.
6271 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6273         * bits/types.h (__intmax_t): New typedef.
6274         (__uintmax_t): Likewise.
6275         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6276         (intmax_t): Define using __intmax_t.
6277         (uintmax_t): Define using __uintmax_t.
6279         * support/Makefile (tests-special): Make definition conditional on
6280         [$(run-built-tests) = yes].
6281         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6282         on [$(run-built-tests) = yes].
6284 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6286         * Rules (tests): Add tests-printers-programs to tests to be
6287         built.
6289 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6291         * sysvipc/Makefile (tests): Add test-sysvshm.
6292         * sysvipc/test-sysvshm.c: New file.
6294         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6295         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6296         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6297         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6298         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6299         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6300         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6301         Likewise.
6302         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6303         Likewise.
6304         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6305         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6306         is defined.
6308         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6309         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6310         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6311         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6312         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6313         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6314         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6315         Likewise.
6316         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6317         Likewise.
6318         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6319         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6320         defined.
6322         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6323         oldshmctl.
6324         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6325         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6326         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6327         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6328         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6329         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6330         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6331         Likewise.
6332         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6333         Likewise.
6334         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6335         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6336         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6337         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6338         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6339         implementation.
6340         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6341         if it is defined.
6343         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6344         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6345         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6346         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6347         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6348         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6349         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6350         Likewise.
6351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6352         Likewise.
6353         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6354         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6355         Define to __NR_osf_shmat.
6356         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6357         defined.
6359         * sysvipc/Makefile (tests): Add test-sysvsem.
6360         * sysvipc/test-sysvsem.c: New file.
6362         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6363         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6364         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6365         Likewise.
6366         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6367         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6368         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6369         Likewise.
6370         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6371         Likewise.
6372         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6373         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6374         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6375         add a comment about s390 syscall difference from default one.
6376         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6377         syscall if it is defined.
6379         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6380         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6381         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6382         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6384         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6385         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6390         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6391         defined.
6393         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6394         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6395         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6396         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6397         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6398         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6399         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6400         Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6402         Likewise.
6403         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6404         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6405         if it is defined.
6407         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6408         oldsemctl.
6409         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6410         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6411         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6412         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6413         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6414         implementation.
6415         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6416         syscall if it is defined.
6417         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6418         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6419         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6420         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6421         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6422         Likewise.
6423         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6425         * sysvipc/Makefile (tests): Add test-sysvmsg.
6426         * sysvipc/test-sysvmsg.c: New file.
6427         * support/check.h (FAIL_UNSUPPORTED): New define.
6429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6430         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6431         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6435         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6438         Likewise.
6439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6440         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6441         define.
6443         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6444         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6445         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6446         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6447         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6448         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6449         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6452         Likewise.
6453         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6454         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6455         if defined.
6457         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6458         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6459         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6460         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6461         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6462         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6463         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6464         Likewise.
6465         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6466         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6467         Likewise.
6468         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6469         if defined.
6470         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6472         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6473         oldmsgctl.
6474         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6475         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6476         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6478         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6479         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6480         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6482         Likewise.
6483         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6484         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6485         implementation.
6486         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6487         if defined.
6489         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6490         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6491         definition and define its own.
6492         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6493         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6494         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6495         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6496         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6497         definitions to common header.
6498         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6499         operation from ipc_ops.h.
6501         * sysdeps/unix/sysv/linux/kernel-features.h
6502         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6503         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6504         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6506         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6508         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6509         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6510         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6511         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6512         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6513         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6514         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6515         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6516         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6518 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6520         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6521         overflow in pointer addition.
6523 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6525         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6526         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6528         (strchr): Add __strchr_power8 to list of strchr functions.
6529         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6530         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6532         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6533         (strchr): Add __strchr_power8 to ifunc list.
6534         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6535         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6536         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6537         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6539 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6541         * support/Makefile (libsupport-routines): Add
6542         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6543         (tests): Add tst-support_record_failure.
6544         (tests-special): tst-support_record_failure-2.
6545         (tst-support_record_failure-2.out): Depend on
6546         tst-support_record_failure-2.sh and tst-support_record_failure.
6547         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6548         (support_test_verify_impl, support_record_failure)
6549         (support_report_failure, support_report_failure_reset): Declare.
6550         * support/support_test_main.c (adjust_exit_status): New function.
6551         (support_test_main): Call it to incorporate record test failures.
6552         * support/support_test_verify_impl.c: New file.
6553         * support/support_record_failure.c: Likewise.
6554         * support/tst-support_record_failure.c: Likewise.
6555         * support/tst-support_record_failure-2.sh: Likewise.
6556         * support/xunistd.h: Likewise.
6557         * support/xfork.c: Likewise.
6558         * support/xwaitpid.c: Likewise.
6560 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6562         * scripts/check-c++-types.sh: Add comments.
6564 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6566         [BZ #19514]
6567         * resolv/res_send.c: Fix typo in comment.
6568         * sysdeps/i386/i386-mcount.S: Likewise.
6569         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6570         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6571         * sysdeps/sparc/sparc-mcount.S: Likewise.
6573 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6575         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6576         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6577         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6578         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6579         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6580         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6581         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6582         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6584 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6586         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6588 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6590         [BZ #17252]
6591         * posix/unistd.h (getentropy): Declare.
6593 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6595         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6596         Remove.
6597         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6598         (cmd): Remove spoof, nospoof, spoofalert.
6599         (parse_line): Ignore spoof-related lines.
6600         (do_init): Do not process RESOLV_SPOOF_CHECK.
6602 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6604         [BZ #20964]
6605         sunrpc: Always obtain AF_INET addresses from NSS.
6606         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6607         * sunrpc/rpc_gethostbyname.c: New file.
6608         * sunrpc/Makefile (routines): Add it.
6609         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6610         * sunrpc/clnt_simp.c (callrpc): Likewise.
6611         * sunrpc/getrpcport.c (getrpcport): Likewise.
6613 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6615         * sunrpc/rpcinfo.c: Remove.
6616         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6618 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6620         [BZ #19387]
6621         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6622         addition.
6623         * string/test-memchr.c (do_test): Remove alignment limitation.
6624         (test_main): Add test that trigger BZ #19387.
6626 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6628         [BZ #7065]
6629         Enable stack protectore if requested by ./configure.
6630         * Makeconfig (+stack-protector): New variable.
6631         (+cflags): Use it.
6633 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6635         [BZ #7065]
6636         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6637         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6638         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6639         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6640         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6642 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6644         [BZ #7065]
6645         * login/Makefile (pt_chown-cflags): Remove.
6646         * nscd/Makefile (CFLAGS-nscd): Likewise.
6647         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6649 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6651         [BZ #7065]
6652         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6653         non-libc-linking testcase.
6655 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6656             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6657             Florian Weimer  <fweimer@redhat.com>
6659         [BZ #7065]
6660         PLT avoidance for __stack_chk_fail*.
6661         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6662         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6663         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6664         __stack_chk_fail_local alias.
6665         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6666         (__stack_chk_fail): Turn into hidden reference to
6667         __stack_chk_fail_local.
6669 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6671         [BZ #7065]
6672         * configure.ac: Add check for unsupported stack-protection level.
6673         (libc_cv_predef_stack_protector): Remove.
6674         (no_ssp): New variable.
6675         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6676         (stack_protector): Set to -fno-stack-protector similarly.
6677         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6678         (libc_cv_asm_set_directive): Likewise.
6679         (libc_cv_protected_data): Likewise.
6680         (libc_cv_z_combreloc): Likewise.
6681         (libc_cv_hashstyle): Likewise.
6682         (libc_cv_has_glob_dat): Likewise.
6683         (libc_cv_output_format): Likewise.
6684         (libc_cv_output_format): Likewise.
6685         (libc_cv_ehdr_start): Likewise.
6686         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6687         (LIBC_LINKER_FEATURE): Likewise.
6688         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6690 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6692         [BZ #7065]
6693         * elf/Makefile (dummy-stack-chk-fail): New.
6694         (librtld.map): Use it.
6696 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6698         [BZ #7065]
6699         Compile the dynamic linker without stack protection.
6700         * elf/Makefile (elide-stack-protector): New.
6701         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6702         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6703         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6704         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6706 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6708         [BZ #7065]
6709         * config.make.in (have-ssp, no-stack-protector): New.
6710         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6711         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6712         (CFLAGS-sbrk.op): Likewise.
6713         (CFLAGS-brk.o): Likewise.
6714         (CFLAGS-brk.op): Likewise.
6715         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6716         (CFLAGS-wordcopy.c): Likewise.
6718 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6720         [BZ #7065]
6721         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6722         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6723         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6724         (__ifunc_resolver): Use it.
6725         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6726         inhibit_stack_protector.
6727         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6728         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6729         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6730         (foo_protected_ifunc): Likewise.
6731         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6732         (foo_protected_ifunc): Likewise.
6733         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6734         * sysdeps/nacl/nacl_interface_query.c
6735         (nacl_interface_query_ifunc): Likewise.
6736         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6737         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6738         Likewise.
6739         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6740         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6741         the generated vDSO syscall resolver.
6743 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6744             Florian Weimer  <fweimer@redhat.com>
6746         [BZ #7065]
6747         Initialize the stack guard earlier when linking statically.
6748         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6749         (__pthread_initialize_minimal): Declare.
6750         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6751         declaration.
6752         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6753         stack canary and apply_irel initialization up.  Call
6754         __pthread_initialize_minimal only if linked in.
6755         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6756         constant values.
6757         (__pthread_initialize_minimal): Remove.
6758         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6759         (__pthread_initialize_minimal_internal): Do not call
6760         __libc_setup_tls.
6762 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6764         [BZ #7065]
6765         * configure.ac (libc_cv_ssp): Move up.
6766         (libc_cv_ssp_strong): Likewise.
6767         (libc_cv_ssp_all): New.
6768         (stack_protector): Augment, adding -fstack-protector-all.
6769         (no_stack_protector): New.
6770         (STACK_PROTECTOR_LEVEL): New.
6771         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6772         * manual/install.texi (--enable-stack-protector): Document it.
6773         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6775 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6777         * README.pretty-printers: Must specify CPPFLAGS-* also.
6778         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6779         (CPPFLAGS-test-mutex-printers.c): Define.
6780         (CPPFLAGS-test-condattr-printers.c): Define.
6781         (CPPFLAGS-test-cond-printers.c): Define.
6782         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6783         (CPPFLAGS-test-rwlock-printers.c): Define.
6785         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6786         (tests): Add tst-cancel-getpwuid_r.
6787         * nss/tst-cancel-getpwuid_r.c: New file.
6789         [BZ #11941]
6790         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6791         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6792         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6793         tst-nodelete-dlclose.
6794         (modules-names): Add tst-nodelete-dlclose-dso and
6795         tst-nodelete-dlclose-plugin.
6796         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6797         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6798         ($(objpfx)tst-nodelete-dlclose): Define.
6799         ($(objpfx)tst-nodelete-dlclose.out): Define.
6801 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6803         * scripts/test_printers_common.py: Log GDB output in case of
6804         Python detection failure.
6806 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6808         * configure.ac: Check for python3 or python.
6809         * configure: Regenerated.
6810         * config.make.in (PYTHON): New variable.
6811         * benchtests/Makefile: Don't define PYTHON.
6812         (bench): Define target only if PYTHON was defined.
6813         * Rules: Don't define PYTHON.
6814         Define pretty printer targets only if PYTHON was defined.
6815         (tests-printers): Add to tests-unsupported if PYTHON is not
6816         found.
6817         (python-flags, python-invoke): Remove.
6818         (tests-printers-out): Use PYTHON instead of python-invoke.
6820 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6822         [BZ #20978]
6823         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6824         Compare name == NULL, not name != NULL.
6826         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6827         trailing whitespace removed.
6828         * scripts/config.guess: Update to version 2016-10-02.
6829         * scripts/config.sub: Update to version 2016-11-19.
6830         * scripts/install-sh: Update to version 2016-01-11.22.
6831         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6832         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6834 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6836         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6837         (do_one_test) Restore original string so iteration works.
6838         * string/string-inlines.c (do_test): Create better input strings.
6839         (test_main) Reduce number of testruns.
6840         * string/string-inlines.c (__old_strsep_1c): New function.
6841         (__old_strsep_2c): Likewise.
6842         (__old_strsep_3c): Likewise.
6843         * string/strsep.c (__strsep): Remove case of small delim string.
6844         Call strcspn directly rather than strpbrk.
6845         * string/bits/string2.h (__strsep): Remove define.
6846         (__strsep_1c): Remove.
6847         (__strsep_2c): Remove.
6848         (__strsep_3c): Remove.
6849         (strsep): Remove.
6850         * sysdeps/unix/sysv/linux/internal_statvfs.c
6851         (__statvfs_getflags): Rename to __strsep.
6853 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6855         * csu/libc-tls.c (_dl_tls_setup): Remove.
6856         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6857         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6858         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6860 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6862         [BZ #7065]
6863         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6864         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6866 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6867             Florian Weimer  <fweimer@redhat.com>
6869         [BZ #7065]
6870         * csu/Makefile (tests): Empty assignment and document it.
6871         (tests-static): Remove.
6872         * csu/tst-empty.c: Move to...
6873         * misc/tst-empty.c: ... here.  Switch to new test driver.
6874         * csu/tst-atomic.c: Move to...
6875         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6876         * csu/tst-atomic-long.c: Move to...
6877         * misc/tst-atomic-long.c: ... here.
6878         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6879         tst-atomic-long.
6880         (tests-static): Add tst-empty.
6882 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6884         * manual/nss.texi: Change incorrect @vtable to @table.
6885         * manual/arith.texi: Convert @tables of variables to @vtables
6886         and remove unnecessary indexing.
6887         * manual/filesys.texi: Likewise.
6888         * manual/llio.texi: Likewise.
6889         * manual/memory.texi: Likewise.
6890         * manual/process.texi: Likewise.
6891         * manual/resource.texi: Likewise.
6892         * manual/search.texi: Likewise.
6893         * manual/signal.texi: Likewise.
6894         * manual/socket.texi: Likewise.
6895         * manual/stdio.texi: Likewise.
6896         * manual/sysinfo.texi: Likewise.
6897         * manual/syslog.texi: Likewise.
6898         * manual/terminal.texi: Likewise.
6899         * manual/time.texi: Likewise.
6900         * manual/users.texi: Likewise.
6902 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6904         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6905         (roundeven): New declaration.
6906         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6907         macro.
6908         * math/Versions (roundeven): New libm symbol at version
6909         GLIBC_2.25.
6910         (roundevenf): Likewise.
6911         (roundevenl): Likewise.
6912         * math/Makefile (libm-calls): Add s_roundevenF.
6913         * math/libm-test.inc (roundeven_test_data): New array.
6914         (roundeven_test): New function.
6915         (main): Call roundeven_test.
6916         * math/test-tgmath.c (NCALLS): Increase to 134.
6917         (F(compile_test)): Call roundeven.
6918         (F(roundeven)): New function.
6919         * manual/arith.texi (Rounding Functions): Document roundeven,
6920         roundevenf and roundevenl.
6921         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6922         * include/math.h (roundeven): Use libm_hidden_proto.
6923         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6924         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6925         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6926         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6927         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6928         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6929         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6930         roundeven.
6931         (CFLAGS-nldbl-roundeven.c): New variable.
6932         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6933         * sysdeps/nacl/libm.abilist: Update.
6934         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6951         Likewise.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6953         Likewise.
6954         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6955         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6964         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6965         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6967 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6969         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6970         preprocessor indentation inside #if.
6972 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6974         * math/libm-test.inc (fmt_ftostr): New function.
6975         (print_float, check_float_internal): Replace some uses of
6976         FTOSTR with uses of fmt_ftostr.
6977         (print_max_error, print_complex_max_error, print_function_ulps)
6978         (print_complex_function_ulps): Remove uses of the macros
6979         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6980         * math/test-double.h (FTOSTR): Define to strfromd.
6981         (PRINTF_EXPR): Delete.
6982         (PRINTF_XEXPR): Likewise.
6983         (PRINTF_NEXPR): Likewise.
6984         * math/test-float.h (FTOSTR): Define to strfromf.
6985         (PRINTF_EXPR): Delete.
6986         (PRINTF_XEXPR): Likewise.
6987         (PRINTF_NEXPR): Likewise.
6988         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6989         (PRINTF_EXPR): Delete.
6990         (PRINTF_XEXPR): Likewise.
6991         (PRINTF_NEXPR): Likewise.
6993 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6995         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6996         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6997         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6998         (__lll_lock_elision): Decrement adapt_count while unlocking
6999         instead of before locking.
7000         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7001         (__lll_trylock_elision): Likewise.
7002         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7003         (__lll_unlock_elision): Likewise.
7005 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7007         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7008         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7009         Use __libc_tbegin_retry macro.
7011 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7013         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7014         Add -msoft-float.
7015         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7016         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7017         Use __libc_t* transaction macros instead of __builtin_t*.
7018         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7019         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7021 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7023         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7024         (__lll_lock_elision): Use atomics to load / store adapt_count.
7025         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7026         (__lll_trylock_elision): Likewise.
7028 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7030         Do not require memset elimination in explicit_bzero test.
7031         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7032         (enum test_expectation): Add NO_EXPECTATIONS.
7033         (subtests): NO_EXPECTATIONS for ordinary clear.
7034         (check_test_buffer): Handle NO_EXPECTATIONS.
7035         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7037 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7039         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7040         (fmaxmag): New declaration.
7041         (fminmag): Likewise.
7042         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7043         macro.
7044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7045         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7046         (fmaxmagf): Likewise.
7047         (fmaxmagl): Likewise.
7048         (fminmag): Likewise.
7049         (fminmagf): Likewise.
7050         (fminmagl): Likewise.
7051         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7052         * math/s_fmaxmag_template.c: New file.
7053         * math/s_fminmag_template.c: Likewise.
7054         * math/libm-test.inc (fmaxmag_test_data): New array.
7055         (fmaxmag_test): New function.
7056         (fminmag_test_data): New array.
7057         (fminmag_test): New function.
7058         (main): Call fmaxmag_test and fminmag_test.
7059         * math/test-tgmath.c (NCALLS): Increase to 132.
7060         (F(compile_test)): Call fmaxmag and fminmag.
7061         (F(fminmag)): New function.
7062         (F(fmaxmag)): Likewise.
7063         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7064         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7065         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7066         fminmag.
7067         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7068         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7069         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7070         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7071         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7072         and fminmag.
7073         (CFLAGS-nldbl-fmaxmag.c): New variable.
7074         (CFLAGS-nldbl-fminmag.c): Likewise.
7075         * sysdeps/nacl/libm.abilist: Update.
7076         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7082         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7083         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7089         Likewise.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7093         Likewise.
7094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7095         Likewise.
7096         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7097         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7098         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7099         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7100         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7102         Likewise.
7103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7104         Likewise.
7105         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7106         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7107         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7109 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7111         [BZ #20973]
7112         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7113         wake-up in robust mutexes.
7114         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7116 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7118         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7119         (CFLAGS-bench-fmaxf.c): New rule.
7120         (CFLAGS-bench-fminf.c): Likewise.
7121         * benchtests/fmaxf-inputs: New file.
7122         * benchtests/fminf-inputs: Likewise.
7124         * benchtests/Makefile (bench-math): Add fmin and fmax.
7125         (CFLAGS-bench-fmax.c): New rule.
7126         (CFLAGS-bench-fmin.c): Likewise.
7127         * benchtests/fmax-inputs: New file.
7128         * benchtests/fmin-inputs: Likewise.
7130         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7131         parenthesis.
7132         (CMDLINE_PROCESS): Define using function instead of macro.
7133         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7134         of test-skeleton.
7135         * benchtests/bench-memchr.c: Likewise.
7136         * benchtests/bench-memcmp.c: Likewise.
7137         * benchtests/bench-memcpy-large.c: Likewise.
7138         * benchtests/bench-memcpy.c: Likewise.
7139         * benchtests/bench-memmem.c: Likewise.
7140         * benchtests/bench-memmove-large.c: Likewise.
7141         * benchtests/bench-memmove.c: Likewise.
7142         * benchtests/bench-memset-large.c: Likewise.
7143         * benchtests/bench-memset.c: Likewise.
7144         * benchtests/bench-rawmemchr.c: Likewise.
7145         * benchtests/bench-strcasecmp.c: Likewise.
7146         * benchtests/bench-strcasestr.c: Likewise.
7147         * benchtests/bench-strcat.c: Likewise.
7148         * benchtests/bench-strchr.c: Likewise.
7149         * benchtests/bench-strcmp.c: Likewise.
7150         * benchtests/bench-strcpy.c: Likewise.
7151         * benchtests/bench-strcpy_chk.c: Likewise.
7152         * benchtests/bench-strlen.c: Likewise.
7153         * benchtests/bench-strncasecmp.c: Likewise.
7154         * benchtests/bench-strncmp.c: Likewise.
7155         * benchtests/bench-strncpy.c: Likewise.
7156         * benchtests/bench-strnlen.c: Likewise.
7157         * benchtests/bench-strpbrk.c: Likewise.
7158         * benchtests/bench-strrchr.c: Likewise.
7159         * benchtests/bench-strsep.c: Likewise.
7160         * benchtests/bench-strspn.c: Likewise.
7161         * benchtests/bench-strstr.c: Likewise.
7162         * benchtests/bench-strtok.c: Likewise.
7164 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7166         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7167         stepping identification.
7168         (init_cpu_features): Add handle of Haswell.
7170 2016-11-25  Jim Meyering  <meyering@fb.com>
7172         [BZ #20386]
7173         Let gcc detect assert(a = 1) errors.
7174         * assert/assert.h (assert): Rewrite, retaining the old definintion
7175         when required, but otherwise putting the expression as-is in an "if"
7176         expression (hence, with no added parentheses) within a statement
7177         expression.
7179 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7181         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7182         DSO.
7184 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7186         * Rules (python-flags, python-invoke): New.
7187         ($(test-printers-out)): Use $(python-flags).
7189 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7191         * manual/arith.texi (Math Error Reporting): Document that sNaN
7192         arguments are not considered domain errors.
7194 2016-12-16  Zack Weinberg <zackw@panix.com>
7195             Florian Weimer <fweimer@redhat.com>
7196             Nick Mathewson <nickm@torproject.org>
7198         * string/explicit_bzero.c: New routine.
7199         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7200         * string/Makefile (routines, strop-tests, tests): Add them.
7201         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7202         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7204         * debug/explicit_bzero_chk.c: New routine.
7205         * debug/Makefile (routines): Add it.
7206         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7207         * string/bits/string3.h: Fortify explicit_bzero.
7209         * manual/string.texi: Document explicit_bzero.
7210         * NEWS: Mention addition of explicit_bzero.
7212         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7213         data before returning, using explicit_bzero.
7214         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7215         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7216         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7218         * include/string.h: Redirect internal uses of explicit_bzero
7219         to __explicit_bzero_chk[_internal].
7220         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7221         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7222         * sysdeps/arm/nacl/libc.abilist
7223         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7224         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7225         * sysdeps/unix/sysv/linux/arm/libc.abilist
7226         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7227         * sysdeps/unix/sysv/linux/i386/libc.abilist
7228         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7229         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7230         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7232         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7233         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7234         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7235         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7236         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7241         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7242         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7243         * sysdeps/unix/sysv/linux/sh/libc.abilist
7244         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7245         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7248         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7250         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7251         Add entries for explicit_bzero and __explicit_bzero_chk.
7253 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7255         * math/fenv.h
7256         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7257         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7258         * math/test-fe-snans-always-signal.c: New file.
7259         * math/Makefile (tests): Add test-fe-snans-always-signal.
7260         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7261         * manual/arith.texi (Infinity and NaN): Document
7262         FE_SNANS_ALWAYS_SIGNAL.
7264 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7266         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7267         bracket.
7269 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7271         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7272         before calling execv.
7274 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7276         [BZ #20971]
7277         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7278         overflow in pointer addition.
7279         * string/test-memchr.c (do_test): Add an argument to pass as
7280         the size on memchr.
7281         (test_main): Add check for SIZE_MAX.
7283 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7285         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7286         (libm-calls): Add w_scalblnF.
7287         * math/w_scalbln.c: Remove.
7288         * math/w_scalblnf.c: Likewise.
7289         * math/w_scalblnl.c: Likewise.
7290         * math/w_scalbln_template.c: New file with type-generic
7291         implementation based on math/w_scalbln.c.
7292         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7293         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7295 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7297         [BZ #20947]
7298         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7299         either is a signaling NaN.
7300         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7301         follow fmaxl more closely.
7302         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7303         when either is a signaling NaN.
7304         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7305         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7306         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7307         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7308         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7309         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7310         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7311         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7312         (fmin_test_data): Likewise.
7314 2016-12-15  Andreas Schwab  <schwab@suse.de>
7316         * support/support_test_main.c (support_test_main): Don't shadow
7317         file-local variable test_pid.
7319 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #20947]
7322         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7323         either is a signaling NaN.
7324         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7326 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7328         [BZ #20947]
7329         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7330         when either is a signaling NaN.
7331         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7333         * bits/long-double.h: New file.
7334         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7335         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7336         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7337         * sysdeps/mips/bits/long-double.h: Likewise.
7338         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7339         * math/Makefile (headers): Add bits/long-double.h.
7340         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7341         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7342         <bits/wordsize.h>.
7343         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7344         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7345         * math/math.h: Do not include <bits/mathdef.h>.
7346         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7347         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7348         inclusion.
7349         * sysdeps/ia64/bits/mathdef.h: Remove file.
7350         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7351         * sysdeps/mips/bits/mathdef.h: Likewise.
7352         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7353         * sysdeps/s390/bits/mathdef.h: Likewise.
7354         * sysdeps/sparc/bits/mathdef.h: Likewise.
7355         * sysdeps/x86/bits/mathdef.h: Likewise.
7356         * sysdeps/s390/s390-32/bits/wordsize.h
7357         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7358         conditional code.
7359         * sysdeps/s390/s390-64/bits/wordsize.h
7360         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7361         Likewise.
7362         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7363         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7364         Likewise.
7365         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7366         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7367         Likewise.
7368         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7369         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7370         Likewise.
7372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7373         <linux/falloc.h>.
7374         (FALLOC_FL_KEEP_SIZE): Remove.
7375         (FALLOC_FL_PUNCH_HOLE): Likewise.
7376         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7377         (FALLOC_FL_ZERO_RANGE): Likewise.
7379 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7381         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7383 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7385         * sysdeps/unix/sysv/linux/renameat.c: New file.
7386         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7388         * sysdeps/unix/sysv/linux/rename.c: New file.
7389         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7391 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7393         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7394         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7395         * string/strtok_r.c (__strtok_r): Optimize for performance.
7396         * string/string-inlines.c (__old_strtok_r_1c): New function.
7397         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7399 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7401         * math/Makefile (gen-libm-calls): Add w_log1pF.
7402         (libm-calls): Remove w_log1pF.
7403         * math/w_log1p.c: Remove.
7404         * math/w_log1pf.c: Likewise.
7405         * math/w_log1pl.c: Likewise.
7406         * math/w_log1p_template.c: New file with type-generic
7407         implementation based on math/w_log1p.c.
7408         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7409         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7411 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7413         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7415 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7417         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7418         kernel version to 4.9.
7420 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7422         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7423         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7425 2016-12-13  Andreas Schwab  <schwab@suse.de>
7427         * sysdeps/powerpc/dl-procinfo.c: Don't define
7428         _dl_powerpc_platforms.
7429         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7430         constants instead of referencing _dl_powerpc_platforms.
7431         (_dl_platform_string): Remove.
7433 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7435         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7437 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7439         * Rules (binaries-shared-tests, binaries-pie-tests)
7440         (binaries-static-tests): Link with $(link-extra-libs-tests).
7441         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7442         Remove $(link-extra-libs-tests).
7444 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7446         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7447         (sysdep_routines): Add strncmp_power9.
7448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7449         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7450         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7451         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7452         (strncmp): Add __strncmp_power9 to ifunc list.
7453         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7455 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7457         [BZ #17252]
7458         Add getentropy, getrandom.
7459         * stdlib/sys/random.h: New file.
7460         (headers): Add it.
7461         * stdlib/Makefile (routines): Add getentropy, getrandom.
7462         (tests): Add tst-getrandom.
7463         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7464         * stdlib/getentropy.c: New file.
7465         * stdlib/getrandom.c: Likewise.
7466         * stdlib/tst-getrandom.c: Likewise.
7467         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7468         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7469         * manual/crypt.texi (Unpredictable Bytes): New section.
7470         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7471         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7472         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7474         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7475         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7476         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7484         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7485         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7487         Likewise.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7489         Likewise.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7492         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7493         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7494         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7503 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7505         [BZ #20956]
7506         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7507         as additional compiler barriers.
7508         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7509         (fn2, do_test): Declare with external linkage.
7510         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7511         (do_test): Declare with external linkage.
7512         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7513         (do_test): Declare with external linkage.
7514         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7515         (do_test): Declare with external linkage.
7517 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7519         * support/support_test_main.c (support_test_main): Use correct
7520         timeout.
7522 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7523             Florian Weimer  <fweimer@redhat.com>
7525         [BZ #16421]
7526         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7527         and __u6_addr32 members.
7528         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7529         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7530         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7531         Use __u6_addr32.
7532         * inet/tst-checks.c: Use <support/test-driver.c>
7533         * inet/tst-checks-posix.c: New file.
7534         * inet/Makefile (tests): Add it.
7535         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7537 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7539         New subdirectory support for build and test infrastructure.
7540         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7541         setting install-lib.
7542         * Makeconfig (link-extra-libs-tests): Define.
7543         (+link-pie-tests, +link-static-tests, +link-tests): Use
7544         link-extra-libs-tests.
7545         (rpath-dirs, all-subdirs): Add support.
7546         (built-modules): Add libsupport.
7547         (libsupport): Define.
7548         * support: New directory.
7549         * support/Makefile: New file.
7550         * support/check.c: Likewise.
7551         * support/check.h: Likewise.
7552         * support/delayed_exit.c: Likewise.
7553         * support/ignore_stderr.c: Likewise.
7554         * support/oom_error.c: Likewise.
7555         * support/set_fortify_handler.c: Likewise.
7556         * support/support.h: Likewise.
7557         * support/temp_file-internal.h: Likewise.
7558         * support/temp_file.c: Likewise.
7559         * support/test-driver.c: Likewise.
7560         * support/test-driver.h: Likewise.
7561         * support/test_main.c: Likewise.
7562         * support/write_message.c: Likewise.
7563         * support/xasprintf.c: Likewise.
7564         * support/xcalloc.c: Likewise.
7565         * support/xmalloc.c: Likewise.
7566         * support/xpthread_barrier_destroy.c: Likewise.
7567         * support/xpthread_barrier_init.c: Likewise.
7568         * support/xpthread_barrier_wait.c: Likewise.
7569         * support/xpthread_cancel.c: Likewise.
7570         * support/xpthread_check_return.c: Likewise.
7571         * support/xpthread_cond_wait.c: Likewise.
7572         * support/xpthread_create.c: Likewise.
7573         * support/xpthread_detach.c: Likewise.
7574         * support/xpthread_join.c: Likewise.
7575         * support/xpthread_mutex_lock.c: Likewise.
7576         * support/xpthread_mutex_unlock.c: Likewise.
7577         * support/xpthread_sigmask.c: Likewise.
7578         * support/xpthread_spin_lock.c: Likewise.
7579         * support/xpthread_spin_unlock.c: Likewise.
7580         * support/xrealloc.c: Likewise.
7581         * support/xsignal.h: Likewise.
7582         * support/xthread.h: Likewise.
7583         * support_tempfile.h: Likewise.
7584         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7585         (TEST_DATA_LIMIT): Remove unused macro.
7586         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7587         <support/check.h>.
7588         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7589         (ignore_stderr, set_fortify_handler): Remove.  Now in
7590         <support/support.h>.
7591         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7592         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7593         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7594         (xpthread_join): Remove.  Now in <support/xthread.h>.
7595         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7596         Introduce legacy wrappers.
7597         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7598         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7599         (write_message): Remove.
7600         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7601         test-skeleton.c.
7602         * io/test-open-tmpfile: Likewise.
7603         * io/tst-posix_fallocate-common.c: Likewise.
7604         * libio/tst-fseek.c: Likewise.
7605         * malloc/tst-malloc-backtrace.c: Likewise.
7606         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7607         * malloc/tst-malloc-thread-exit.c: Likewise.
7608         * nptl/tst-cancel7.c: Likewise.
7609         * nptl/tst-cleanup0.c: Likewise.
7610         * posix/tst-posix_fadvise-common.c: Likewise.
7611         * rt/tst-shm.c: Likewise.
7612         * time/bug-getdate1.c: Likewise.
7613         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7614         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7615         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7617 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7619         * Rules [$(run-built-tests) != no] (tests-expected): Add
7620         $(tests-printers).
7621         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7623 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7625         [BZ #20539]
7626         * math/Makefile (install-lib-ldscripts): Add libm.a.
7627         (install_subdir): Remove.
7628         (install-others): Add.
7629         ($(inst_libdir)/libm.a): Add rule for installation as
7630         linker script.
7631         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7633 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7635         * INSTALL: Regenerated.
7636         * Makeconfig: Add comments and whitespace to make the control flow
7637         clearer.
7638         (+link-printers-tests, +link-pie-printers-tests,
7639         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7640         built-rtld-LDFLAGS, link-libc-rpath,
7641         link-libc-tests-after-rpath-link,
7642         link-libc-printers-tests): New.
7643         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7644         link-libc-tests): Use the new variables as required.
7645         * Makerules ($(py-const)): New rule.
7646         generated: Add $(py-const).
7647         * README.pretty-printers: New file.
7648         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7649         (others): Depend on $(py-const).
7650         (tests): Depend on $(tests-printers-programs) or
7651         $(tests-printers-out),
7652         as required.  Pass $(tests-printers) to merge-test-results.sh.
7653         * manual/install.texi: Add requirements for testing the pretty
7654         printers.
7655         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7656         tests-printers, CFLAGS-test-mutexattr-printers.c
7657         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7658         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7659         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7660         * nptl/nptl-printers.py: New file.
7661         * nptl/nptl_lock_constants.pysym: Likewise.
7662         * nptl/test-cond-printers.c: Likewise.
7663         * nptl/test-cond-printers.py: Likewise.
7664         * nptl/test-condattr-printers.c: Likewise.
7665         * nptl/test-condattr-printers.py: Likewise.
7666         * nptl/test-mutex-printers.c: Likewise.
7667         * nptl/test-mutex-printers.py: Likewise.
7668         * nptl/test-mutexattr-printers.c: Likewise.
7669         * nptl/test-mutexattr-printers.py: Likewise.
7670         * nptl/test-rwlock-printers.c: Likewise.
7671         * nptl/test-rwlock-printers.py: Likewise.
7672         * nptl/test-rwlockattr-printers.c: Likewise.
7673         * nptl/test-rwlockattr-printers.py: Likewise.
7674         * scripts/gen-py-const.awk: Likewise.
7675         * scripts/test_printers_common.py: Likewise.
7676         * scripts/test_printers_exceptions.py: Likewise.
7678 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7680         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7681         argument.
7682         (Glibc.build_glibc): Strip installed shared libraries if
7683         requested.
7684         (get_parser): Add --strip option.
7685         (main): Update Context call.
7687 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7688             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7690         [BZ #20847]
7691         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7692         array bounds for else branch.
7693         (__execvpe): Style fixes.
7694         * posix/tst-vfork3.c (run_script): New function.
7695         (create_script): Likewise.
7696         (do_test): Use run_script internal function.
7697         (do_prepare): Use create_script internal function.
7699 2016-12-07  Andreas Schwab  <schwab@suse.de>
7701         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7702         (__elision_available): Don't declare.
7703         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7704         (__elision_available): Don't define.
7705         (elision_init): Don't set __elision_available.
7707 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7709         [BZ #20940]
7710         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7711         return Inf for arguments Inf and sNaN.
7712         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7713         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7714         Likewise.
7715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7716         Likewise.
7717         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7718         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7719         for arguments Inf and sNaN.  When returning a NaN, compute it by
7720         arithmetic on the arguments.
7721         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7722         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7723         arguments.
7725 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #20916]
7728         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7729         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7730         to compute result.
7731         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7732         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7734 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7736         * include/atomic.h (__atomic_check_size_ls): New.
7737         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7738         atomic_store_release): Use it.
7739         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7740         (elision_adapt, ELIDE_LOCK): Use atomics.
7741         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7742         atomics and improve code comments.
7743         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7744         (__lll_trylock_elision): Likewise.
7746 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7748         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7749         programs.
7751 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7753         [BZ #20916]
7754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7755         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7756         arguments to compute result.
7757         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7758         1 for arguments (sNaN, 0) or (1, sNaN).
7759         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7760         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7762         [BZ #20919]
7763         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7764         NaN first argument when raised to power 0.
7765         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7766         raising to power zero.
7767         * math/w_powf.c (__powf): Likewise.
7768         * math/w_powl.c (__powl): Likewise.
7769         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7770         pow (0, 0) or pow (NaN, 0).
7772 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7774         [BZ #20918]
7775         * configure.ac: Test for static NSS cryptographic libraries and set
7776         libc_cv_static_nss_crypt.
7777         * configure: Regenerate.
7778         * config.make.in (static-nss-crypt): Define.
7779         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7780         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7781         (CFLAGS-tst-linkall-static.c): Define.
7782         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7783         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7784         ($(objpfx)tst-linkall-static): Define.
7785         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7786         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7788 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7790         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7791         (one-hundred, tst-tls-many-dynamic-modules): Define.
7792         (modules-names): Add $(tst-tls-many-dynamic-modules).
7793         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7794         macros.
7795         (tst-tls-manydynamic): Link against libdl, libpthread.
7796         (tst-tls-manydynamic.out): The test needs the test modules at run
7797         time.
7798         * elf/tst-tls-manydynamic.c: New file.
7799         * elf/tst-tls-manydynamic.h: Likewise.
7800         * elf/tst-tls-manydynamicmod.c: Likewise.
7802 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7804         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7805         (TLS_DTV_UNALLOCATED): Add.
7806         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7807         offsets.
7809 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7811         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7813 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7815         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7816         Add -fno-optimize-sibling-calls.
7818 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7820         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7821         New declaration.
7822         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7823         macro.
7824         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7825         New macro.
7826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7828         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7829         (llogbf): Likewise.
7830         (llogbl): Likewise.
7831         * math/Makefile (gen-libm-calls): Add w_llogbF.
7832         (tests): Add test-fp-llogb-constants.
7833         * math/w_llogb_template.c: New file.  Based on
7834         math/w_ilogb_template.c.
7835         * math/libm-test.inc (llogb_test_data): New array.
7836         (llogb_test): New function.
7837         (main): Call llogb_test.
7838         * math/test-fp-llogb-constants.c: New file.  Based on
7839         math/test-fp-ilogb-constants.c.
7840         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7841         (do_test): Call check_return_llogb.
7842         * math/test-tgmath.c (NCALLS): Increase to 126.
7843         (F(compile_test)): Call llogb.
7844         (F(llogb)): New function.
7845         * manual/math.texi (Exponents and Logarithms): Document llogb,
7846         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7847         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7848         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7849         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7850         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7851         (CFLAGS-nldbl-llogb.c): New variable.
7852         * sysdeps/nacl/libm.abilist: Update.
7853         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7854         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7858         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7859         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7860         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7866         Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7868         Likewise.
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7870         Likewise.
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7872         Likewise.
7873         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7874         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7875         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7877         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7879         Likewise.
7880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7881         Likewise.
7882         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7883         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7884         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7886 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7888         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7889         _Float128 instead of long double.
7890         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7892         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7893         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7894         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7895         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7896         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7897         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7898         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7899         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7900         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7901         Likewise.
7903 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7905         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7906         Remove redirection to __strrchr_ppc.
7908 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7910         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7911         (sysdep_routines): Add strcmp_power9.
7912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7913         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7914         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7915         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7916         (strcmp): Add __strcmp_power9 to ifunc list.
7917         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7919 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7921         * bits/fp-logb.h: New file.
7922         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7923         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7924         * sysdeps/x86/bits/fp-logb.h: Likewise.
7925         * math/Makefile (headers): Add bits/fp-logb.h.
7926         * math/math.h: Include <bits/fp-logb.h>.
7927         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7928         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7929         * bits/mathdef.h (FP_ILOGB0): Remove.
7930         (FP_ILOGBNAN): Likewise.
7931         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7932         (FP_ILOGBNAN): Likewise.
7933         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7934         (FP_ILOGBNAN): Likewise.
7935         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7936         (FP_ILOGBNAN): Likewise.
7937         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7938         (FP_ILOGBNAN): Likewise.
7939         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7940         (FP_ILOGBNAN): Likewise.
7941         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7942         (FP_ILOGBNAN): Likewise.
7943         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7944         (FP_ILOGBNAN): Likewise.
7945         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7946         (FP_ILOGBNAN): Likewise.
7947         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7948         (FP_ILOGBNAN): Likewise.
7950         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7951         time module.
7952         (Context.__init__): Initialize self.logsdir_old.
7953         (Context.run_builds): Handle bot action.
7954         (Context.bot_cycle): Copy logs directory before running builds.
7955         (Context.bot_run_self): Take argument for whether to check
7956         subprocess result.  Flush stdout before running subprocess.
7957         (Context.bot): New function.
7958         (get_parser): Allow bot action.
7960 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7962         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7963         Import email.mime.text, email.utils and smtplib modules.
7964         (Context.__init__): Initialize self.bot_config_json.
7965         (Context.run_builds): Handle bot-cycle action.
7966         (Context.load_bot_config_json): New function.
7967         (Context.part_build_old): Likewise.
7968         (Context.bot_cycle): Likewise.
7969         (Context.bot_build_mail): Likewise.
7970         (Context.bot_run_self): Likewise.
7971         (get_parser): Allow bot-cycle action.
7973 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7976         Remove redirection to __stpcpy_ppc.
7978 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7980         Remove __libc_memalign from ld.so because it is unused.
7981         * elf/dl-minimal.c: Update comment on the malloc implementation.
7982         (malloc): Renamed from __libc_memalign, replacing the original
7983         malloc implementation.  Replace the align parameter with
7984         MALLOC_ALIGNMENT.
7985         * elf/Versions (ld): Update comment and remove __libc_memalign.
7986         * sysdeps/nacl/ld.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7995         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7996         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7997         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7998         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7999         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8003         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8004         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8010         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8013         * sysdeps/generic/localplt.data (ld.so): Likewise.
8014         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8015         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8016         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8017         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8018         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8019         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8020         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8021         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8022         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8024         (ld.so): Likewise.
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8026         (ld.so): Likewise.
8027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8028         Likewise.
8029         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8030         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8031         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8032         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8033         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8035 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8037         [BZ #16628]
8038         Implement _dl_catch_error, _dl_signal_error in libc.so.
8039         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8040         (catch_hook): Define as thread-local or regular variable,
8041         depending on DL_ERROR_BOOTSTRAP.
8042         (CATCH_HOOK): Remove.
8043         (dl_signal_error, _dl_catch_error): Use
8044         catch_hook.  Add hidden definition for libc.
8045         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8046         for DL_ERROR_BOOTSTRAP only.
8047         * elf/dl-error.c: New file.
8048         * elf/dl-error-minimal.c: Likewise.
8049         * elf/tst-latepthread.c: Likewise.
8050         * elf/tst-latepthreadmod.c: Likewise.
8051         * elf/Makefile (routines): Add dl-error.
8052         (dl-routines): Remove dl-error.
8053         (rtld-routines): Add dl-error-minimal.
8054         [build-shared] (tests): Add tst-latepthread.
8055         (module-names): Add tst-latepthreadmod.
8056         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8057         symbol.
8058         (tst-latepthreadmod.so): Link against libpthread.
8059         (tst-latepthread): Link against libdbl.
8060         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8061         _dl_catch_error.
8062         [ld] (GLIBC_PRIVATE): Likewise.
8063         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8064         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8065         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8066         directly.
8067         * elf/dl-tsd.c: Remove file.
8068         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8069         _dl_catch_error, _dl_signal_error.
8070         (_dl_initial_error_catch_tsd): Remove definition.
8071         (do_preload): Remove initialization of dl_error_catch_tsd.
8072         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8073         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8074         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8075         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8076         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8077         set dl_error_catch_tsd.
8078         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8079         _dl_error_catch_tsd member.
8080         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8081         members.
8082         (_dl_initial_error_catch_tsd): Remove declaration.
8083         (_dl_dprintf): Provide definition for use outside of ld.so.
8084         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8085         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8086         prototype for libc.
8087         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8088         _dl_catch_error.
8089         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8090         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8091         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8092         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8093         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8094         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8095         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8096         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8097         Likewise.
8098         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8100         (ld.so): Likewise.
8101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8102         (ld.so): Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8104         Likewise.
8105         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8106         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8107         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8108         Likewise.
8109         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8110         Likewise.
8111         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8113 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8115         [BZ #4099]
8116         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8117         _IO_BUFSIZ (8192).
8119 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8121         * PROJECTS: Remove file.
8123 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8125         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8127 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8128             Steve Ellcey  <sellcey@caviumnetworks.com>
8130         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8131         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8132         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8133         fxstatat.
8134         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8135         lxstat.
8136         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8137         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8138         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8139         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8140         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8141         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8142         __xstat.
8144 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8146         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8147         Define.
8148         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8149         definition.
8151 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8153         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8154         version and turn into strong alias.  Remove compat symbol.
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8157         (__longjmp): Remove.
8159 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8161         * bits/fp-fast.h: New file.
8162         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8163         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8164         * math/Makefile (headers): Add bits/fp-fast.h.
8165         * math/math.h: Include <bits/fp-fast.h>.
8166         * bits/mathdef.h (FP_FAST_FMA): Remove.
8167         (FP_FAST_FMAF): Likewise.
8168         (FP_FAST_FMAL): Likewise.
8169         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8170         (FP_FAST_FMAF): Likewise.
8171         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8172         (FP_FAST_FMAF): Likewise.
8173         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8174         (FP_FAST_FMAF): Likewise.
8175         (FP_FAST_FMAL): Likewise.
8176         * sysdeps/arm/bits/mathdef.h: Remove file.
8177         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8178         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8179         * sysdeps/tile/bits/mathdef.h: Likewise.
8181 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8183         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8184         * math/w_ilogb.c: Remove.
8185         * math/w_ilogbf.c: Likewise.
8186         * math/w_ilogbl.c: Likewise.
8187         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8188         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8189         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8190         (libm-calls): Remove w_ilogbF.
8191         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8192         (LDOUBLE_ilogbl_libm_version): New macro.
8194         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8196         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8197         [!__STRICT_ANSI__ && !__cplusplus].
8199 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8201         [BZ #20750]
8202         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8203         of PIC.
8205 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8206             Yury Norov  <ynorov@caviumnetworks.com>
8207             Steve Ellcey  <sellcey@caviumnetworks.com>
8209         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8210         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8211         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8212         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8213         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8214         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8215         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8216         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8217         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8218         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8219         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8220         to get correct reg name for ILP32.
8221         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8222         (RELA_SIZE): New Macro.
8223         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8224         to support ILP32.
8225         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8226         cast for ILP32 mode.
8227         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8228         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8229         * sysdeps/aarch64/memset.S (__memset): Ditto.
8230         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8231         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8232         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8233         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8234         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8235         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8236         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8237         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8238         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8239         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8240         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8241         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8242         change PTR_MANGLE call to use register numbers instead of names.
8243         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8244         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8245         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8246         * sysdeps/aarch64/start.S (_start): Ditto.
8247         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8248         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8249         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8250         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8251         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8252         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8253         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8254         Make defined values dependent on __ILP32__.
8255         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8256         (sem_t): Change __align type.
8257         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8258         PTR_SIZE): New Macros.
8259         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8260         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8261         Set when in ILP32 mode.
8262         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8263         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8264         Set elf flags for ILP32.
8265         (add_system_dir): Set ILP32 library directories.
8266         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8267         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8268         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8269         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8270         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8271         New Macros.
8272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8274 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8276         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8277         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8278         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8280 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8282         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8283         <asm/cachectl.h>.
8285 2016-11-27  Zack Weinberg  <zackw@panix.com>
8287         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8288         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8290 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8292         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8293         error_t to fix usage in C++ programs.
8295 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8297         * scripts/build-many-glibcs.py: Import datetime module.
8298         (Context.__init__): Load JSON build state.  Initialize list of
8299         status logs.
8300         (Context.run_builds): Update saved build state.
8301         (Context.add_makefile_cmdlist): Update list of status logs.
8302         (Context.load_build_state_json): New function.
8303         (Context.store_build_state_json): Likewise.
8304         (Context.clear_last_build_state): Likewise.
8305         (Context.update_build_state): Likewise.
8306         (CommandList.status_logs): Likewise.
8308 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8310         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8311         script being executed.
8312         (Context.get_script_text): New function.
8313         (Context.exec_self): Likewise.
8314         (Context.checkout): Re-exec script if changed by checkout process.
8316 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8318         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8319         (setpayloadsig): New declaration.
8320         * math/Versions (setpayloadsig): New libm symbol at version
8321         GLIBC_2.25.
8322         (setpayloadsigf): Likewise.
8323         (setpayloadsigl): Likewise.
8324         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8325         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8326         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8327         (setpayloadsig_test_data): New array.
8328         (setpayloadsig_test): New function.
8329         (main): Call setpayloadsig_test.
8330         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8331         setpayloadsigf and setpayloadsigl.
8332         * manual/libm-err-tab.pl: Update comment on interfaces without
8333         ulps tabulated.
8334         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8335         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8336         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8337         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8338         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8339         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8340         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8341         setpayloadsig.
8342         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8343         * sysdeps/nacl/libm.abilist: Update.
8344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8357         Likewise.
8358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8359         Likewise.
8360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8361         Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8363         Likewise.
8364         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8367         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8370         Likewise.
8371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8372         Likewise.
8373         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8377         * scripts/build-many-glibcs.py: Import json module.
8378         (Context.__init__): Take replace_sources argument.  Load
8379         versions.json.
8380         (Context.load_versions_json): New function.
8381         (Context.store_json): Likewise.
8382         (Context.store_versions_json): Likewise.
8383         (Context.set_component_version): Likewise.
8384         (Context.checkout): Update versions.json.  Check for and handle
8385         changes of version.  Prefer previously explicitly specified
8386         version to default version.
8387         (Context.checkout_vcs): Return a revision identifier.
8388         (Context.git_checkout): Likewise.
8389         (Context.gcc_checkout): Likewise.
8390         (get_parser): Add --replace-sources option.
8391         (main): Pass replace_sources argument to Context call.
8393 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8395         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8396         * nptl/allocatestack.c (allocate_stack): Likewise.
8397         (__reclaim_stacks): Likewise.
8398         (setxid_signal_thread): Obtain pid through syscall.
8399         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8400         (sighandle_setxid): Likewise.
8401         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8402         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8403         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8404         Likewise.
8405         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8406         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8407         comment.
8408         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8409         * nptl/descr.h (struct pthread): Change comment about pid value.
8410         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8411         pid assert.
8412         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8413         Do not set pid value.
8414         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8415         pid cache check.
8416         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8417         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8418         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8419         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8420         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8421         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8422         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8423         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8424         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8425         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8426         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8427         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8428         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8429         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8430         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8431         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8432         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8433         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8434         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8435         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8436         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8437         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8438         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8439         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8440         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8443         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8444         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8445         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8446         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8447         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8448         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8450         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8451         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8452         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8453         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8454         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8455         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8456         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8457         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8458         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8461         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8462         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8463         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8464         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8465         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8466         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8467         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8468         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8469         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8470         struct access.
8471         (clone_test): Remove function.
8472         (do_test): Rewrite to take in consideration pid is not cached anymore.
8474 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8476         * bits/flt-eval-method.h: New file.
8477         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8478         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8479         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8480         * math/Makefile (headers): Add bits/flt-eval-method.h.
8481         * math/math.h: Include <bits/flt-eval-method.h>.
8482         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8483         [__USE_ISOC99] (double_t): Likewise.
8484         * bits/mathdef.h (float_t): Remove.
8485         (double_t): Likewise.
8486         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8487         (double_t): Likewise.
8488         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8489         (double_t): Likewise.
8490         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8491         (double_t): Likewise.
8492         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8493         (double_t): Likewise.
8494         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8495         (double_t): Likewise.
8496         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8497         (double_t): Likewise.
8498         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8499         (double_t): Likewise.
8500         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8501         (double_t): Likewise.
8502         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8503         (double_t): Likewise.
8504         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8505         (double_t): Likewise.
8506         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8507         (double_t): Likewise.
8508         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8509         (double_t): Likewise.
8510         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8511         (double_t): Likewise.
8513 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8515         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8516         instead of PIC.
8518 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8520         [BZ #20859]
8521         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8522         (-0x7fffffff) instead of 0x80000001.
8523         * math/test-fp-ilogb-constants.c: New file.
8524         * math/Makefile (tests): Add test-fp-ilogb-constants.
8526 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8528         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8529         (_init): Use it in place of hardcoded R_MIPS_JALR.
8530         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8531         (_init): Use it in place of hardcoded R_MIPS_JALR.
8532         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8533         (_init): Use it in place of hardcoded R_MIPS_JALR.
8535 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8537         [BZ #20787]
8538         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8539         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8540         (double_t): Do not define to double if [__x86_64__] when
8541         __FLT_EVAL_METHOD__ is nonzero.
8542         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8543         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8544         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8545         test-flt-eval-method-387 and test-flt-eval-method-sse.
8546         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8547         variable.
8548         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8550 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8552         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8553         use of -fno-isolate-erroneous-paths options for tilepro.
8555 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8557         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8558         structure initialization is no longer needed.
8560 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8562         [BZ #20855]
8563         * bits/mathdef.h (float_t): Define to float.
8564         * math/test-flt-eval-method.c: New file.
8565         * math/Makefile (tests): Add test-flt-eval-method.
8566         (CFLAGS-test-flt-eval-method.c): New variable.
8568 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8570         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8571         and __fstatfs.  Make them aliases of __fstatfs64 if
8572         STATFS_IS_STATFS64 is set to non-zero.
8573         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8574         and __statfs64.
8575         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8576         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8577         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8578         for __statfs and statfs.
8579         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8580         to 0.
8581         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8582         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8583         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8584         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8585         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8586         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8589         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8590         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8591         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8592         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8594 2016-11-22  Andreas Schwab  <schwab@suse.de>
8596         * misc/mkstemp.c: Include <fcntl.h>.
8597         * misc/mkstemps.c: Likewise.
8598         * misc/mkostemp.c: Likewise.
8599         * misc/mkostemps.c: Likewise.
8601 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8603         [BZ #20847]
8604         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8605         array bounds.
8606         (__execvpe): Likewise.
8608 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8610         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8611         -fno-isolate-erroneous-paths options for tilepro.
8613 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8615         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8616         to 0 when in 32 bit mode.
8617         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8618         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8619         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8620         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8622         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8623         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8624         XSTAT_IS_XSTAT64 test.
8625         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8626         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8627         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8628         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8629         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8630         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8631         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8632         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8633         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8634         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8635         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8637 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8639         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8640         (setpayload): New declaration.
8641         * math/Versions (setpayload): New libm symbol at version
8642         GLIBC_2.25.
8643         (setpayloadf): Likewise.
8644         (setpayloadl): Likewise.
8645         * math/Makefile (libm-calls): Add s_setpayloadF.
8646         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8647         test_Ff_b1_data.
8648         (RUN_TEST_Ff_b1): New macro.
8649         (RUN_TEST_LOOP_Ff_b1): Likewise.
8650         (canonicalize_test_data): Update type.
8651         (setpayload_test_data): New array.
8652         (setpayload_test): New function.
8653         (main): Call setpayload_test.
8654         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8655         setpayloadf and setpayloadl.
8656         * manual/libm-err-tab.pl: Update comment on interfaces without
8657         ulps tabulated.
8658         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8659         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8660         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8661         Likewise.
8662         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8663         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8668         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8669         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8670         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8671         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8672         setpayload.
8673         (CFLAGS-nldbl-setpayload.c): New variable.
8674         * sysdeps/nacl/libm.abilist: Update.
8675         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8690         Likewise.
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8692         Likewise.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8694         Likewise.
8695         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8703         Likewise.
8704         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8708 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8710         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8711         * include/unistd.h: Extend comment about __access_noerrno return
8712         semantics.
8713         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8714         (access_common): Correct typo for EACCES.
8716 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8718         * sysdeps/tile/math-tests.h: New file.
8720         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8721         (__old_set_dataplane): Rename from set_dataplane and make a
8722         compatibility symbol.
8723         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8724         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8725         sys/dataplane.h.
8727 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8729         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8730         script quote words in command output to log suitably for input to
8731         the shell.
8733 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8734             Maciej W. Rozycki  <macro@imgtec.com>
8736         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8737         `.Lno_weak_fn' label.
8738         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8739         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8741 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8742             Yury Norov  <ynorov@caviumnetworks.com>
8744         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8745         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8746         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8747         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8748         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8750         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8752         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8753         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8754         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8755         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8756         (sysdep_routines): Remove oldgetrlimit64.
8757         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8758         (sysdep_routines): Likewise.
8759         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8760         (sysdep_routines): Likewise.
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8762         [$(subdir) = resource] (sysdep_routines): Likewise.
8763         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8764         [$(subdir) = resource] (sysdep_routines): Likewise.
8765         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8766         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8767         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8768         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8769         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8770         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8771         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8772         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8773         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8774         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8775         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8776         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8777         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8778         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8779         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8780         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8781         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8782         setrlimit and getrlimit.
8783         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8785         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8789         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8790         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8792         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8793         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8794         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8795         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8796         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8797         (__old_getrlimit64): Add compatibility symbol.
8798         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8800 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8802         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8803         newly built gmp, mpfr and mpc.
8805         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8807 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8809         * conform/Makefile (linknamespace-libs): Rename to
8810         linknamespace-libs-thr.
8811         (linknamespace-libs-posix): New variable.
8812         (linknamespace-libs-xsi): Likewise.
8813         (linknamespace-libs-XPG3): Include libcrypt.a.
8814         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8815         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8816         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8817         (linknamespace-libs-XOPEN2K): Likewise.
8818         (linknamespace-libs-XOPEN2K8): Likewise.
8819         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8821         [BZ #20829]
8822         * stdio-common/Versions (__snprintf): Add to version
8823         GLIBC_PRIVATE.
8824         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8825         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8826         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8827         of snprintf.
8828         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8830 2016-11-16  Zack Weinberg  <zackw@panix.com>
8832         * string/string.h: Remove obsolete comment stating that
8833         strcoll_l and strxfrm_l have not yet been standardized.
8835 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8837         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8838         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8839         __access_noerrno.
8840         * io/access.c (__access_noerrno): New function.
8841         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8842         (hurd_fail_seterrno): Likewise.
8843         (access_common): Likewise.
8844         (__access_noerrno): Likewise.
8845         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8846         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8847         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8848         macro.
8850 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8852         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8853         Only declare fpregs if [__SH_FPU_ANY__].
8855 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8857         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8858         Make code unconditional.
8859         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8861 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8863         * manual/sysinfo.texi (S_APPEND): Delete.
8864         (S_IMMUTABLE): Likewise.
8866 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8867             Magnus Granberg  <zorry@gentoo.org>
8868             Mike Frysinger  <vapier@gentoo.org>
8870         [BZ #20662]
8871         * configure.ac (libc_cv_predef_stack_protector): Also check for
8872         __stack_chk_fail_local symbols.
8873         * configure: Regenerated.
8875 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8877         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8878         (libc_hidden_def): Remove redefinition.
8879         (__sigsetjmp): Add hidden definition.
8880         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8881         (libc_hidden_def): Remove redefinition.
8882         (__sigsetjmp): Add hidden definition.
8884 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8886         * scripts/build-many-glibcs.py (os.path): Do not import.
8887         (Context): Inherit explicitly from object.  Remove blank line
8888         between class and docstring.
8889         (Config): Likewise.
8890         (Glibc): Likewise.
8891         (Command): Likewise.
8892         (CommandList): Likewise.
8893         (Context.write_files): Store chmod mode in a variable.
8895         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8896         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8897         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8899 2016-11-14  Zack Weinberg  <zackw@panix.com>
8901         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8902         creating or re-creating it.
8904         * string/bits/string2.h: Fix typo in comment.
8906 2016-11-14  Zack Weinberg  <zackw@panix.com>
8908         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8909         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8910         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8911         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8912         of redirected function names.
8914         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8915         as well.  Document that MESSAGE must be a single string literal.
8917 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8919         * scripts/build-many-glibcs.py: New file.
8921         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8922         (do_test): Disable -Wmaybe-uninitialized around uses of
8923         except_mask.
8925         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8927 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8929         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8930         (atomic_store_release): Provide tilepro-specific implementations.
8932 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8934         * math/math.h (__MATH_TG): New macro.
8935         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8936         [__USE_ISOC99] (signbit): Likewise.
8937         [__USE_ISOC99] (isfinite): Likewise.
8938         [__USE_ISOC99] (isnan): Likewise.
8939         [__USE_ISOC99] (isinf): Likewise.
8940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8943         __MATH_TG and __MATH_EVAL_FMT2.
8944         * sysdeps/generic/math_private.h (fabs_tg): Define using
8945         __MATH_TG.
8946         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8947         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8948         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8949         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8950         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8951         macro.
8952         (__iscanonical): Likewise.
8953         (iscanonical): Define using __MATH_TG.
8955 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8957         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8958         guards.
8960         * sysdeps/unix/sysv/linux/access.c: New file.
8961         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8963 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8965         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8966         and __WORDSIZE32_PTRDIFF_LONG.
8968 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8970         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8972 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8974         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8975         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8976         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8977         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8978         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8980         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8981         * sysdeps/unix/sysv/linux/truncate.c: New file.
8982         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8983         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8984         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8985         Remove.
8986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8987         Likewise.
8989         * posix/tst-truncate-common.c: New file.
8990         * posix/tst-truncate.c: Use tst-truncate-common.c.
8991         * posix/tst-truncate64.c: Likewise and add LFS tests.
8992         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8993         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8994         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8995         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8996         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8998         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8999         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9000         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9001         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9002         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9003         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9004         Remove.
9005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9006         Likewise.
9008 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9010         [BZ #20790]
9011         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9012         to MAXLINESIZE.
9013         * sunrpc/bug20790.x: New file.
9014         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9015         variable.
9016         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9017         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9019         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9021         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9023         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9024         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9025         calloc, realloc, free, memalign and __libc_memalign rather than
9026         making them optional.
9028         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9029         for libc.so.
9031 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9033         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9034         ptw-lseek64.
9035         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9036         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9039         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9040         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9041         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9042         * sysdeps/unix/sysv/linux/lseek.c: New file.
9043         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9044         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9045         __libc_lseek64 from auto-generation.
9046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9047         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9049 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9051         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9052         * nptl/tst-cleanup1.c (do_test): Likewise.
9053         * nptl/tst-cleanup3.c (do_test): Likewise.
9054         * nptl/tst-key1.c (do_test): Likewise.
9055         * nptl/tst-key2.c (tf, do_test): Likewise.
9056         * nptl/tst-key3.c (tf, do_test): Likewise.
9057         * nptl/tst-stdio1.c (do_test): Likewise.
9058         * nptl/tst-stdio2.c (do_test): Likewise.
9060         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9061         * nptl/tst-kill6.c (handler): Likewise.
9062         * nptl/tst-tls2.c (CB): Likewise.
9063         * nptl/tst-tls3.c (CB): Likewise.
9065 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9067         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9069 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9070             Steve Ellcey  <sellcey@caviumnetworks.com>
9072         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9073           __ASSUME_ST_INO_64_BIT as 0
9074         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9075         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9076           over the code where __ASSUME_ST_INO_64_BIT is used.
9077         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9078         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9079         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9081 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9083         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9084         Document ABI exposure of the __kind offset.
9085         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9086         Mention reason for the __kind offset exposure in the ABI.
9087         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9088         Likewise.
9089         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9090         Likewise.
9091         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9092         Likewise.
9093         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9094         (struct __pthread_mutex_s): Likewise.
9095         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9096         Likewise.
9097         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9098         Likewise.
9099         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9100         Likewise.
9101         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9102         Likewise.
9103         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9104         Likewise.
9105         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9108         (struct __pthread_mutex_s): Likewise.
9109         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9110         (struct __pthread_mutex_s): Likewise.
9111         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9112         Likewise.
9114 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9116         * test-skeleton.c: Document do_test usage.
9118 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9120         * iconv/gconv.h (__gconv_info): Define __data element using a
9121         zero-length array.
9123 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9125         * math/test-tgmath2.c: Split up test function.
9127 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9129         * Rules (tests-expected): New variable, depending on
9130         $(run-built-tests).
9131         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9132         $(tests).
9134         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9135         $(tests-unsupported).
9137 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9139         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9140         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9142 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9144         [BZ #20768]
9145         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9146         __fegetenv instead of fegetenv.
9148         [BZ #14139]
9149         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9150         (find_files): Obtain platform name from libm-test-ulps-name and
9151         store in %pplatforms.
9152         (canonicalize_platform): Remove.
9153         (print_platforms): Use $pplatforms directly.
9154         (by_platforms): Do not allow for platforms missing from
9155         %pplatforms.
9156         * sysdeps/aarch64/libm-test-ulps-name: New file.
9157         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9158         * sysdeps/arm/libm-test-ulps-name: Likewise.
9159         * sysdeps/generic/libm-test-ulps-name: Likewise.
9160         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9161         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9162         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9163         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9164         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9165         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9166         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9167         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9168         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9169         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9170         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9171         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9172         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9173         * sysdeps/sh/libm-test-ulps-name: Likewise.
9174         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9175         * sysdeps/tile/libm-test-ulps-name: Likewise.
9176         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9178         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9180         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9181         (test-xfail-check-execstack): New variable.
9183         * sysdeps/mips/localplt.data: New file.
9185 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9186             Steve Ellcey  <sellcey@caviumnetworks.com>
9188         * bits/wordsize.h: Add documentation.
9189         * sysdeps/aarch64/bits/wordsize.h : New file
9190         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9191         definitions.
9192         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9193         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9194         with #if instead of #ifdef.
9195         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9196         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9197         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9198         Add or change defines.
9199         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9200         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9201         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9202         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9203         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9204         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9205         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9206         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9207         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9208         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9209         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9210         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9211         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9212         * sysdeps/x86/bits/wordsize.h: Likewise.
9214 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9215             Kevin Petit  <kevin.petit@arm.com>
9217         * sysdeps/aarch64/memchr.S (__memchr): New file.
9219 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9221         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9223 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9225         [BZ #19398]
9226         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9227         $(linknamespace-symlists-tests).
9229 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9231         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9233 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9234             Carlos O'Donell  <carlos@redhat.com>
9236         [Bug #20729]
9237         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9238         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9239         for -Os related change.
9241 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9243         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9245 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9247         [BZ #19673]
9248         * manual/math.texi (Exponents and Logarithms): Correct description
9249         of clog10.
9251 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9253         [Bz #20729]
9254         * locale/weight.h: Include libc-internal.h.
9255         * locale/weightwc.h: Likewise.
9256         * nptl/nptl_dbP.h: Likewise.
9258 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9260         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9261         when it is MACH_PORT_NULL.
9263 2016-10-31  Andreas Schwab  <schwab@suse.de>
9265         [BZ #20707]
9266         * posix/glob.c (glob): Initialize pglob before checking for
9267         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9268         valid brace expression despite GLOB_BRACE.
9269         * posix/globtest.sh: Test it.
9271 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9273         [BZ #20729]
9274         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9275         Define.
9276         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9277         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9278         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9279         for seq2.back_us and seq1.back_us only for -Os compiles.
9280         * locale/weightwc.h (findix): Likewise.
9281         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9282         DB_GET_FIELD_ADDRESS only for -Os compiles.
9283         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9284         for slen only for -Os compiles.
9285         * string/strcoll_l.c (get_next_seq): Ignore
9286         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9287         for -Os compiles.
9289         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9290         * include/crypt.h: New file.
9292 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9294         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9295         from test-skeleton.c.
9296         (statclass): Replace calls to write with calls to write_message.
9298 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9300         * math/math.h
9301         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9302         New macro.
9303         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9304         Likewise.
9305         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9306         Likewise.
9307         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9308         SNANL.
9309         * math/test-double.h (snan_value_MACRO): New macro.
9310         * math/test-float.h (snan_value_MACRO): Likewise.
9311         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9312         * math/libm-test.inc (issignaling_test_data): Add tests of
9313         snan_value_MACRO.
9315 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9317         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9318         behavior when eliding a lock not held by the current thread.
9319         * sysdeps/powerpc/nptl/elide.h: Likewise.
9321 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9323         [BZ #20728]
9324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9325         branch to _exit() by a function call.
9327 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9329         * malloc/malloc.c: Update chunk layout comments.
9330         (chunk_main_arena): Update comment.
9332 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9334         * crypt/sha256.c, crypt/sha256-block.c,
9335         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9336         sha256_process_block to __sha256_process_block.
9337         * crypt/sha512.c, crypt/sha512-block.c,
9338         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9339         sha512_process_block to __sha512_process_block.
9341 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9343         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9345         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9347 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9349         [BZ #20019]
9350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9351         definition in unrelocated shared library.
9352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9354 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9356         [BZ #20729]
9357         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9358         * sysdeps/unix/sysv/linux/i386/Makefile
9359         (uses-6-syscall-arguments): Define.
9360         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9361         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9362         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9363         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9364         Likewise.
9365         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9366         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9367         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9368         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9369         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9370         (CFLAGS-fallocate64.os): Likewise.
9371         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9372         (CFLAGS-pthread_rwlock_timedrdlock.os)
9373         (CFLAGS-pthread_rwlock_timedwrlock.o)
9374         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9375         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9376         (CFLAGS-sem_timedwait.os): Likewise.
9378 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9380         * elf/tst-linkall-static.c: New file.
9381         * elf/Makefile (tests-static): Add tst-linkall-static.
9382         (tst-linkall-static): Link against static libraries.
9384 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9386         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9387         mmaped chunks.
9389 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9391         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9392         members to mchunk_prev_size, mchunk_size.
9393         (chunk_main_arena): Reverse sense and rename from
9394         chunk_non_main_arena.
9395         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9396         mchunk_size instead of size.
9397         (set_non_main_arena): Define.
9398         (chunksize): Use chunksize_nomask instead of direct member access.
9399         (chunksize_nomask): Define.
9400         (next_chunk): Use chunksize instead of direct member access.
9401         (prev_size, set_prev_size): Define.
9402         (prev_chunk): Use prev_size instead of direct member access.
9403         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9404         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9405         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9406         (mchunk_prev_size, mchunk_size): Poison tokens.
9407         (unlink): Use chunksize_nomask, prev_size accessors.
9408         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9409         (do_check_free_chunk): Use prev_size accessor.
9410         (sysmalloc): Use set_prev_size, set_head accessors.
9411         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9412         (__libc_free): Use chunksize_nomask accessor.
9413         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9414         chunk_main_arena accessors.
9415         (_int_free): Use chunksize_nomask, prev_size accessors.
9416         (malloc_consolidate): Use chunksize, prev_size accessors.
9417         (_int_realloc): Use chunksize_nomask accessor.
9418         (_int_memalign): Use set_prev_size accessor.
9419         (__malloc_info): Use chunksize_nomask accessor.
9420         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9421         accessors.
9422         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9423         (heap_trim): Use chunksize_nomask, prev_size accessors.
9425 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9427         [BZ #19380]
9428         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9429         for inexact results.
9430         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9431         of inexact result where mpfr_subnormalize is the only inexact
9432         step.
9433         * stdlib/tst-strtod-round-data.h: Regenerated.
9434         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9435         Define to 0.
9436         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9438 2016-10-27  David S. Miller  <davem@davemloft.net>
9440         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9442 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9444         * malloc/malloc.c (do_set_mallopt_check): New function.
9445         (do_set_mmap_threshold): Likewise.
9446         (do_set_mmaps_max): Likewise.
9447         (do_set_top_pad): Likewise.
9448         (do_set_perturb_byte): Likewise.
9449         (do_set_trim_threshold): Likewise.
9450         (do_set_arena_max): Likewise.
9451         (do_set_arena_test): Likewise.
9452         (__libc_mallopt): Use them.
9454 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9456         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9457         (canonicalize): New declaration.
9458         * math/Versions (canonicalize): New libm symbol at version
9459         GLIBC_2.25.
9460         (canonicalizef): Likewise.
9461         (canonicalizel): Likewise.
9462         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9463         * math/s_canonicalize_template.c: New file.
9464         * math/libm-test.inc: Update comment on functions tested and
9465         testing of NaN payloads.
9466         (TEST_NAN_PAYLOAD): New macro.
9467         (NO_TEST_INLINE): Update value.
9468         (XFAIL_TEST): Likewise.
9469         (ERRNO_UNCHANGED): Likewise.
9470         (ERRNO_EDOM): Likewise.
9471         (ERRNO_ERANGE): Likewise.
9472         (IGNORE_RESULT): Likewise.
9473         (NON_FINITE): Likewise.
9474         (TEST_SNAN): Likewise.
9475         (NO_TEST_MATHVEC): Likewise.
9476         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9477         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9478         (struct test_Ffp_b1_data): New type.
9479         (RUN_TEST_Ffp_b1): New macro.
9480         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9481         (canonicalize_test_data): New array.
9482         (canonicalize_test): New function.
9483         (main): Call canonicalize_test.
9484         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9485         canonicalizef and canonicalizel.
9486         * manual/libm-err-tab.pl: Update comment on interfaces without
9487         ulps tabulated.
9488         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9489         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9490         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9491         canonicalize.
9492         (CFLAGS-nldbl-canonicalize.c): New variable.
9493         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9494         to ...
9495         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9496         ... here.
9497         (do_test): Also test canonicalizel.
9498         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9499         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9500         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9501         file.
9502         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9503         Use libm_hidden_def.
9504         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9505         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9506         (do_test): Also test canonicalizel.
9507         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9508         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9509         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9510         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9511         libm_hidden_def.
9512         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9513         macro.
9514         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9515         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9516         * sysdeps/nacl/libm.abilist: Update.
9517         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9545         Likewise.
9546         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9550         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9551         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9552         getpayload.
9553         (CFLAGS-nldbl-getpayload.c): New variable.
9555 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9557         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9558         integer from the format string.
9560 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9562         [BZ #19473]
9563         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9564         declarations.
9565         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9566         weak aliases.
9567         * malloc/hooks.c (__malloc_get_state): Remove definition.
9568         (malloc_get_state): New stub implementation as
9569         compatibility symbol.
9570         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9571         compat symbol.
9572         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9573         malloc_set_state.
9574         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9576 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9578         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9579         (names): Turn into concatenation of strings.
9580         (gconv_init): Adapt iteration over names.
9582 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9584         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9585         make const.
9586         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9587         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9588         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9589         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9590         character in sbconv.
9591         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9592         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9593         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9595 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9597         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9599         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9600         (M_TRIM_THRESHOLD): Likewise.
9602         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9603         (M_ARENA_MAX): Likewise.
9604         * malloc/malloc.c: Remove obsolete comment.
9606         * manual/memory.texi: Add environment variable alternatives to
9607         setting mallopt parameters.
9609 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9611         * include/atomic.h
9612         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9613         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9615 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9617         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9618         * stdlib/tst-strfrom.h: New file.
9619         * stdlib/tst-strfrom.c: New file.
9620         * stdlib/tst-strfrom-locale.c: New file.
9622         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9623         * stdlib/bug-strtod2.c: Likewise.
9624         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9625         * stdlib/tst-strtod6.c: Likewise.
9626         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9628 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9630         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9631         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9632         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9633         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9634         * stdlib/stdlib.h (strfromd): New declaration.
9635         (strfromf): Likewise.
9636         (strfroml): Likewise.
9637         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9638         strfrom.
9639         * stdlib/strfromd.c: New file.
9640         * stdlib/strfromf.c: Likewise.
9641         * stdlib/strfroml.c: Likewise.
9642         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9643         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9644         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9645         * sysdeps/arm/nacl/libc.abilist: Update.
9646         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9647         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9648         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9649         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9657         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9666         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9672         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9675 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9677         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9678         instead of cmpli.
9679         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9680         instead of cmpli.
9682 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9684         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9685         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9686         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9687         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9688         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9689         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9691 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9693         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9694         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9695         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9696         SYSCALL_LL64_PRW.
9697         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9698         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9699         __ASSUME_PRW_DUMMY_ARG.
9700         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9701         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9702         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9703         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9704         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9705         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9707 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9709         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9711 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9713         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9714         "C++", to override a potential extern "C" directive around the
9715         header file inclusion.
9717 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9719         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9721 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9723         * sysdeps/powerpc/fpu/fenv_private.h:
9724         (_FPU_MASK_ALL): Rename to...
9725         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9726         XE FPSCR bits.
9728         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9730         (_FPU_MASK_ROUNDING): Rename to...
9731         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9732         NI bits.
9734         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9735         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9736         bits and rounding bits.
9738         (__libc_feholdbits_ppc): New inline function to mask, set,
9739         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9740         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9741         (libc_feholdexcept_setround_ppc): Likewise.
9743         (__libc_femergeenv_ppc): New function to dynamically mask both
9744         old and new FP environments and merge.
9745         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9746         (libc_feresetround_ppc): Likewise.
9747         (libc_feupdateenv_test_ppc): Likewise.
9748         (libc_feupdateenv_ppc): Likewise.
9750         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9751         of ISA RN bits, and update macro names.
9752         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9753         effectively the same as the previously mentioned function.
9755         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9756         usage with fe_resetround_ppc.
9758         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9759         to be used.
9760         (libc_feholdexcept_setround_ctxf): Likewise.
9761         (libc_feholdexcept_setround_ctxl): Likewise.
9763 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9765         [BZ #20715]
9766         * math/math.h [__cplusplus] (iszero): Define as function template.
9767         * math/Makefile [CXX] (tests): Add test-math-iszero.
9768         (CFLAGS-test-math-iszero.cc): Set.
9769         * math/test-math-iszero.cc: New file.
9771 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9773         [BZ #20660]
9774         * sysdeps/arm/e_sqrt.c: New file.
9775         * sysdeps/arm/e_sqrtf.c: Likewise.
9777 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9779         [BZ #20718]
9780         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9781         not use floating-point comparisons to test sign.
9782         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9783         Likewise.
9785         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9786         (getpayload): New declaration.
9787         * math/Versions (getpayload): New libm symbol at version
9788         GLIBC_2.25.
9789         (getpayloadf): Likewise.
9790         (getpayloadl): Likewise.
9791         * math/Makefile (libm-calls): Add s_getpayloadF.
9792         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9793         (struct test_f_f_data): Add comment.
9794         (RUN_TEST_fp_f): New macro.
9795         (RUN_TEST_LOOP_fp_f): Likewise.
9796         (getpayload_test_data): New array.
9797         (getpayload_test): New function.
9798         (main): Call getpayload_test.
9799         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9800         descriptor.
9801         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9802         getpayloadf and getpayloadl.
9803         * manual/libm-err-tab.pl: Update comment on interfaces without
9804         ulps tabulated.
9805         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9806         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9807         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9808         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9809         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9810         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9811         * sysdeps/nacl/libm.abilist: Update.
9812         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9818         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9820         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9821         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9825         Likewise.
9826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9827         Likewise.
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9829         Likewise.
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9831         Likewise.
9832         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9833         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9834         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9835         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9836         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9838         Likewise.
9839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9842         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9843         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9845 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9847         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9848         tst-fallocate{64}.
9849         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9850         on syscall return.
9852 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9854         [BZ #20689]
9855         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9856         usable.
9858 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9860         * sysdeps/generic/nan-high-order-bit.h: New file.
9861         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9862         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9863         * sysdeps/hppa/math_private.h: Remove file.
9864         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9865         not define here.
9866         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9867         <nan-high-order-bit.h>.
9868         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9869         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9870         <nan-high-order-bit.h>.
9871         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9872         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9873         <nan-high-order-bit.h>.
9874         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9875         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9876         <nan-high-order-bit.h>.
9877         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9878         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9879         <nan-high-order-bit.h>.
9880         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9881         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9882         <nan-high-order-bit.h>.
9883         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9884         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9885         <nan-high-order-bit.h>.
9886         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9887         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9888         <nan-high-order-bit.h>.
9889         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9890         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9891         <nan-high-order-bit.h>.
9892         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9893         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9894         <nan-high-order-bit.h>.
9895         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9896         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9897         <nan-high-order-bit.h>.
9898         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9899         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9900         <nan-high-order-bit.h>.
9901         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9902         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9903         <nan-high-order-bit.h>.
9904         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9905         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9906         <nan-high-order-bit.h>.
9907         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9908         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9909         <nan-high-order-bit.h>.
9910         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9911         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9912         <nan-high-order-bit.h>.
9913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9914         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9915         <nan-high-order-bit.h>.
9916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9917         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9918         <nan-high-order-bit.h>.
9919         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9921 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9923         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9925 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9927         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9928         abort-instr.h.
9929         (EFAULT): Remove conditional define.
9930         (ENOSYS): Likewise.
9931         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9932         instead of conditional branch instructions.
9934 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9936         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9937         (totalordermag): New declaration.
9938         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9939         New macro.
9940         * math/Versions (totalordermag): New libm symbol at version
9941         GLIBC_2.25.
9942         (totalordermagf): Likewise.
9943         (totalordermagl): Likewise.
9944         * math/Makefile (libm-calls): Add s_totalordermagF.
9945         * math/libm-test.inc (totalordermag_test_data): New array.
9946         (totalordermag_test): New function.
9947         (main): Call totalordermag_test.
9948         * math/test-tgmath.c (NCALLS): Increase to 125.
9949         (F(compile_test)): Call totalordermag.
9950         (F(totalordermag)): New function.
9951         * manual/arith.texi (FP Comparison Functions): Document
9952         totalordermag, totalordermagf and totalordermagl.
9953         * manual/libm-err-tab.pl: Update comment on interfaces without
9954         ulps tabulated.
9955         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9956         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9957         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9958         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9959         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9960         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9961         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9962         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9963         totalordermag.
9964         (CFLAGS-nldbl-totalordermag.c): New variable.
9965         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9966         (do_test): Also test totalordermagl.
9967         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9968         Likewise.
9969         * sysdeps/nacl/libm.abilist: Update.
9970         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9971         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9972         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9973         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9976         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9977         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9978         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9979         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9980         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9981         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9983         Likewise.
9984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9985         Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9987         Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9991         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9992         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9993         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9994         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9996         Likewise.
9997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9998         Likewise.
9999         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10000         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10001         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10003 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10005         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10006         boolean.
10008 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10010         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10011         raising FE_INVALID with feraisexcept in case where part of
10012         argument is infinite, subtract that part of argument from itself.
10013         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10014         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10015         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10017 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10019         * math/libm-test.inc (totalorder_test_data): Add more tests.
10021 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10023         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10024         Undefine weak_alias and add a comment why mips64 require
10025         versioning.
10027 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10029         [BZ #20647]
10030         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10031         maximum CPUID level is less than 2.
10033 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10035         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10036         (totalorder): New declaration.
10037         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10038         New macro.
10039         * math/Versions (totalorder): New libm symbol at version
10040         GLIBC_2.25.
10041         (totalorderf): Likewise.
10042         (totalorderl): Likewise.
10043         * math/Makefile (libm-calls): Add s_totalorderF.
10044         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10045         string.
10046         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10047         (qnan_value_pl): Likewise.
10048         (snan_value_pl): Likewise.
10049         (qnan_value): Define using qnan_value_pl.
10050         (snan_value): Define using snan_value_pl.
10051         (struct test_ff_i_data): Add comment about which tests use this
10052         structure.
10053         (RUN_TEST_ff_b): New macro.
10054         (RUN_TEST_LOOP_ff_b): Likewise.
10055         (totalorder_test_data): New array.
10056         (totalorder_test): New function.
10057         (main): Call totalorder_test.
10058         * math/test-tgmath.c (NCALLS): Increase to 122.
10059         (F(compile_test)): Call totalorder.
10060         (F(totalorder)): New function.
10061         * manual/arith.texi (FP Comparison Functions): Document
10062         totalorder, totalorderf and totalorderl.
10063         * manual/libm-err-tab.pl: Update comment on interfaces without
10064         ulps tabulated.
10065         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10066         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10067         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10068         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10069         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10070         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10071         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10072         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10073         totalorder.
10074         (CFLAGS-nldbl-totalorder.c): New variable.
10075         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10076         file.
10077         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10078         Add test-totalorderl-ldbl-128ibm.
10079         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10080         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10081         test-totalorderl-ldbl-96.
10082         * sysdeps/nacl/libm.abilist: Update.
10083         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10091         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10109         Likewise.
10110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10111         Likewise.
10112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10116 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10118         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10119         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10120         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10121         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10122         remove ENOSYS implementation.
10123         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10124         Consolidate all Linux implementations.
10126 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10128         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10129         * resolv/herror.c (herror): Cast away const-ness.
10130         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10131         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10133 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10135         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10136         instead of M_NAN + M_NAN.
10137         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10139 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10141         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10142         unused variable 'p'.
10144 2016-10-09  Alan Modra  <amodra@gmail.com>
10145             Andreas Schwab  <schwab@linux-m68k.org>
10147         [BZ #20554]
10148         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10149         [PIC && !SHARED]: Set up PIC register for PLT call.
10151 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10153         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10154         conditional on value of [__FLT_EVAL_METHOD__].
10155         * math/test-iseqsig-excess-precision.c: New file.
10156         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10158 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10160         * math/s_iseqsig_template.c: Include math-private.h.
10162         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10163         * posix/tst-posix_fadvise.c: New file.
10164         * posix/tst-posix_fadvise64.c: Likewise.
10165         * posix/tst-posix_fadvise-common.c: Likewise.
10166         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10167         (__ASSUME_FADVISE64_64_6ARG): Define.
10168         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10169         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10170         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10171         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10172         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10173         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10174         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10175         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10176         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10177         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10178         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10179         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10182         Likewise.
10183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10185         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10186         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10187         Alias to __posix_fadvise64_l32.
10188         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10189         Add compat definition to posix_fadvise64.
10190         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10191         Add versioned definition to posix_fadvise64.
10192         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10193         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10194         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10195         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10196         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10198         * io/Makefile (tests): Add tst-posix_fallocate and
10199         tst-posix_fallocate64.
10200         * io/tst-posix_fallocate-common.c: New file.
10201         * io/tst-posix_fallocate.c: Likewise.
10202         * io/tst-posix_fallocate64.c: Likewise.
10203         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10204         file.
10205         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10206         Likewise.
10207         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10208         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10209         Likewise.
10210         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10211         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10213         SYSCALL_LL to pass both offset and len arguments.
10214         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10215         Likewise.
10216         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10217         __libc_pwrite64 alias used by posix_fallocate64.
10219         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10220         tst-fallocate64.
10221         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10222         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10223         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10224         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10225         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10226         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10227         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10228         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10229         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10230         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10231         macro on offset argument.
10232         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10233         SYSCALL_LL64 on offset argument.
10235         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10236         tst-fallocate64.
10237         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10238         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10239         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10240         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10241         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10242         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10243         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10244         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10245         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10246         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10247         macro on offset argument.
10248         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10249         SYSCALL_LL64 on offset argument.
10250         * test-skeleton.c (FAIL_RET): Add macro.
10251         (FAIL_EXIT): Likewise.
10252         (FAIL_EXIT1): Likewise.
10253         (_FAIL): Likewise.
10255 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10257         [BZ #20629]
10258         resolv: Remove RES_USEBSTRING and its implementation.
10259         * resolv/resolv.h (RES_USEBSTRING): Remove.
10260         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10261         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10262         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10263         (labellen): Remove extended label types support.
10264         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10265         * resolv/res_init.c (res_setoptions): Likewise.
10266         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10268 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10270         resolv: Remove RES_NOIP6DOTINT and its implementation.
10271         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10272         (RES_NOIP6DOTINT): Remove.
10273         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10274         handling.
10275         * resolv/res_debug.c (p_option): Likewise.
10276         * resolv/res_init.c (res_setoptions): Likewise.
10277         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10279 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10281         resolv: Deprecate unimplemented flags.
10282         * misc/sys/cdefs.h (__glibc_macro_warning1)
10283         (__glibc_macro_warning): Define.
10284         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10285         (RES_KEEPTSIG): Mark as deprecated.
10286         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10287         RES_NOCHECKNAME, RES_KEEPTSIG.
10288         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10290 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10292         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10293         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10294         Use strong_alias to create symbols for glibc verison 2.19.
10296 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10298         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10300 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10302         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10306         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10308 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10311         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10312         in header for using it as type for ifunc function because __GI_* symbols
10313         for ppc32 do not target the ifunc symbols.
10314         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10316 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10318         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10319         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10320         libc_ifunc_hidden_def.
10321         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10322         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10323         Redirect ifunced function in header for using it as type of ifunc'ed
10324         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10325         function for __GI_* symbol.
10326         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10327         * include/libc-symbols.h
10328         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10330 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10332         [BZ #20478]
10333         * sysdeps/s390/multiarch/ifunc-resolve.h
10334         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10335         to create ifunc symbols.
10336         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10337         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10338         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10339         for using it as type for ifunc function.
10340         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10341         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10342         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10343         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10344         * sysdeps/s390/multiarch/strcat.c: Likewise.
10345         * sysdeps/s390/multiarch/strchr.c: Likewise.
10346         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10347         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10348         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10349         * sysdeps/s390/multiarch/strlen.c: Likewise.
10350         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10351         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10352         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10353         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10354         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10355         * sysdeps/s390/multiarch/strspn.c: Likewise.
10356         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10357         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10358         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10359         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10360         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10361         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10362         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10363         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10364         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10365         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10366         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10367         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10369 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10371         * include/libc-symbols.h (__ifunc_resolver):
10372         New macro is used by __ifunc* macros.
10373         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10374         depending on HAVE_GCC_IFUNC.
10375         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10376         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10378         Redirect ifunced function in header for using as type for ifunc function.
10379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10383         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10384         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10385         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10386         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10387         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10388         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10389         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10390         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10398         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10400         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10401         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10402         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10403         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10404         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10405         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10406         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10407         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10408         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10409         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10410         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10411         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10413         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10414         instead of libc_ifunc() macro.
10415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10418 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10420         * config.h.in (HAVE_GCC_IFUNC): New undef.
10421         * configure.ac: Add check if gcc supports attribute ifunc feature.
10422         * configure: Regenerated.
10423         * manual/install.texi: Add recommendation for gcc with
10424         indirect-function support.
10425         * INSTALL: Regenerated.
10427 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10429         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10430         macro.
10431         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10432         (__iseqsig): New declaration.
10433         * math/s_iseqsig_template.c: New file.
10434         * math/Versions (__iseqsigf): New libm symbol at version
10435         GLIBC_2.25.
10436         (__iseqsig): Likewise.
10437         (__iseqsigl): Likewise.
10438         * math/libm-test.inc (iseqsig_test_data): New array.
10439         (iseqsig_test): New function.
10440         (main): Call iseqsig_test.
10441         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10442         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10443         * manual/libm-err-tab.pl: Update comment on interfaces without
10444         ulps tabulated.
10445         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10446         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10447         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10448         * sysdeps/nacl/libm.abilist: Update.
10449         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10450         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10451         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10452         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10453         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10454         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10455         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10456         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10457         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10458         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10462         Likewise.
10463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10464         Likewise.
10465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10466         Likewise.
10467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10468         Likewise.
10469         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10477         Likewise.
10478         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10479         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10480         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10482 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10484         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10485         do_sincos_2, sloww, sloww1): Update comments.
10487         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10488         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10490         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10491         K boolean and rename it.
10492         (__sin): Adjust.
10493         (__cos): Adjust.
10495 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10496             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10498         * manual/nss.texi: Fix typos in the manual.
10500 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10502         * manual/contrib.texi: Fix typos in the manual.
10504         * manual/maint.texi: Fix typos in the manual.
10506         * manual/install.texi: Fix typos in the manual.
10507         * INSTALL: Regenerated.
10509         * manual/lang.texi: Fix typos in the manual.
10511         * manual/probes.texi: Fix typos in the manual.
10513         * manual/threads.texi: Fix typos in the manual.
10515         * manual/debug.texi: Fix typos in the manual.
10517         * manual/crypt.texi: Fix typos in the manual.
10519         * manual/conf.texi: Fix typos in the manual.
10521         * manual/sysinfo.texi: Fix typos in the manual.
10523         * manual/users.texi: Fix typos in the manual.
10525         * manual/job.texi: Fix typos in the manual.
10527         * manual/process.texi: Fix typos in the manual.
10529         * manual/argp.texi: Fix typos in the manual.
10530         * manual/getopt.texi: Likewise.
10531         * manual/startup.texi: Likewise.
10533         * manual/signal.texi: Fix typos in the manual.
10535         * manual/setjmp.texi: Fix typos in the manual.
10537         * manual/resource.texi: Fix typos in the manual.
10539         * manual/time.texi: Fix typos in the manual.
10541         * manual/arith.texi: Fix typos in the manual.
10543         * manual/math.texi: Fix typos in the manual.
10545         * manual/syslog.texi: Fix typos in the manual.
10547         * manual/terminal.texi: Fix typos in the manual.
10549         * manual/socket.texi: Fix typos in the manual.
10551         * manual/filesys.texi: Fix typos in the manual.
10553         * manual/llio.texi: Fix typos in the manual.
10555         * manual/stdio.text: Fix typos in the manual.
10557 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10559         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10560         instead of K1.
10562         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10563         SHIFT_QUADRANT and make it bool.
10564         (do_sincos_2): Likewise.
10565         (sloww): Likewise.
10566         (sloww1): Likewise.
10567         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10568         (__cos): Likewise.
10570 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10572         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10574 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10576         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10577         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10578         0x7fffffffL].
10579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10581 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10583         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10584         inline by __inline__.
10585         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10586         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10587         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10588         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10589         sigset_t from signal.h.
10590         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10591         which is already required.
10593 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10595         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10597 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10599         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10600         (struct tcp_repair_window): New type.
10602 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10604         * libio/tst-memstream3.c: Include string.h.
10606 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10608         [BZ #18241]
10609         [BZ #20181]
10610         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10611         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10612         write position is at the end the buffer.
10613         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10614         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10615         (_IO_str_seekoff): Set correct offset from negative displacement and
10616         set EINVAL for invalid ones.
10617         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10618         buffer length.
10619         (_IO_wstr_switch_to_get_mode): New function.
10620         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10621         set EINVAL for invalid ones.
10622         * libio/tst-memstream3.c: New file.
10623         * libio/tst-wmemstream3.c: Likewise.
10624         * manual/examples/memstrm.c: Remove warning when priting size_t.
10626 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10628         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10629         macro to use __builtin_fma.
10630         * sysdeps/x86_64/fpu/dla.h: Remove file.
10632         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10633         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10634         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10636 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10638         [BZ #20292]
10639         * elf/Makefile (routines): Add dl-addr-obj.
10640         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10641         tst-_dl_addr_inside_object.
10642         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10643         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10644         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10645         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10646         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10647         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10648         * elf/dl-open.c: Likewise.
10649         * elf/dl-addr-obj.c: New file.
10650         * elf/tst-_dl_addr_inside_object.c: New file.
10652 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10654         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10655         <bits/iscanonical.h>.
10656         * bits/iscanonical.h: New file.
10657         * math/s_iscanonicall.c: Likewise.
10658         * math/Versions (__iscanonicall): New libm symbol at version
10659         GLIBC_2.25.
10660         * math/libm-test.inc (iscanonical_test_data): New array.
10661         (iscanonical_test): New function.
10662         (main): Call iscanonical_test.
10663         * math/Makefile (headers): Add bits/iscanonical.h.
10664         (type-ldouble-routines): Add s_iscanonicall.
10665         * manual/arith.texi (Floating Point Classes): Document
10666         iscanonical.
10667         * manual/libm-err-tab.pl: Update comment on interfaces without
10668         ulps tabulated.
10669         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10670         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10671         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10672         Likewise.
10673         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10674         test-iscanonical-ldbl-128ibm.
10675         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10676         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10677         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10678         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10679         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10683         Likewise.
10684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10685         Likewise.
10686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10689         Likewise.
10690         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10691         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10693 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10695         * string/bits/string3.h: Remove C++ style comments.
10697 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10699         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10700         instead of ternary condition.
10701         (do_sincos_2): Likewise.
10702         (__sin): Likewise.
10703         (__cos): Likewise.
10704         (slow): Likewise.
10705         (sloww): Likewise.
10706         (sloww1): Likewise.
10707         (bsloww): Likewise.
10708         (bsloww1): Likewise.
10710         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10711         instead of ternary condition.
10712         (do_sin_slow): Likewise.
10713         (do_sincos_1): Likewise.
10714         (do_sincos_2): Likewise.
10715         (__cos): Likewise.
10716         (sloww): Likewise.
10717         (sloww1): Likewise.
10718         (sloww2): Likewise.
10719         (bsloww): Likewise.
10720         (bsloww1): Likewise.
10721         (bsloww2): Likewise.
10723         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10724         check from here...
10725         (slow2): ... and here...
10726         (__sin): ... to here.
10728 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10730         * math/math.h
10731         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10732         Cast argument to its own type.
10733         * math/test-iszero-excess-precision.c: New file.
10734         * math/Makefile (tests): Add test-iszero-excess-precision.
10735         (CFLAGS-test-iszero-excess-precision.c): New variable.
10737 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10739         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10740         field, add err field.
10741         (__spawni_child): Report error through err member instead of pipe.
10742         (__spawnix): Likewise.
10744 2016-09-28  Zack Weinberg  <zackw@panix.com>
10746         * scripts/check-installed-headers.sh: Generalize treatment of
10747         sys/elf.h to all target architectures.
10749         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10750         deleted typedef ucontext_t.
10752 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10754         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10755         (__INTERNAL_SYSCALL1): Likewise.
10756         (__INTERNAL_SYSCALL2): Likewise.
10757         (__INTERNAL_SYSCALL3): Likewise.
10758         (__INTERNAL_SYSCALL4): Likewise.
10759         (__INTERNAL_SYSCALL5): Likewise.
10760         (__INTERNAL_SYSCALL6): Likewise.
10761         (__INTERNAL_SYSCALL7): Likewise.
10762         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10763         (__INTERNAL_SYSCALL_NARGS): Likewise.
10764         (__INTERNAL_SYSCALL_DISP): Likewise.
10765         (INTERNAL_SYSCALL_CALL): Likewise.
10766         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10767         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10768         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10769         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10770         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10771         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10772         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10773         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10774         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10775         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10776         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10777         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10778         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10780 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10782         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10783         macro.
10784         * math/libm-test.inc (iszero_test_data): New array.
10785         (iszero_test): New function.
10786         (main): Call iszero_test.
10787         * manual/arith.texi (Floating Point Classes): Document iszero.
10788         * manual/libm-err-tab.pl: Update comment on interfaces without
10789         ulps tabulated.
10791 2016-09-23  Zack Weinberg  <zackw@panix.com>
10793         * scripts/check-installed-headers.sh: New script.
10794         * Rules: In each directory that defines header files to be installed,
10795         run check-installed-headers.sh on them as a special test.
10796         * Makefile: Likewise for the headers installed at top level.
10798         * include/aliases.h, include/alloca.h, include/argz.h
10799         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10800         * include/elf.h, include/envz.h, include/err.h
10801         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10802         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10803         * include/link.h, include/malloc.h, include/mcheck.h
10804         * include/mntent.h, include/netinet/ether.h
10805         * include/nss.h, include/obstack.h, include/printf.h
10806         * include/pty.h, include/resolv.h, include/rpc/auth.h
10807         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10808         * include/rpc/clnt.h, include/rpc/des_crypt.h
10809         * include/rpc/key_prot.h, include/rpc/netdb.h
10810         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10811         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10812         * include/rpc/rpc_msg.h, include/rpc/svc.h
10813         * include/rpc/svc_auth.h, include/rpc/xdr.h
10814         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10815         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10816         * include/rpcsvc/ypupd.h, include/shadow.h
10817         * include/stdio_ext.h, include/sys/epoll.h
10818         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10819         * include/sys/prctl.h, include/sys/profil.h
10820         * include/sys/statfs.h, include/sys/sysctl.h
10821         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10822         * sysdeps/arm/nacl/include/bits/setjmp.h
10823         * sysdeps/mips/include/sys/asm.h
10824         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10825         * sysdeps/unix/sysv/linux/include/sys/timex.h
10826         * sysdeps/x86/fpu/include/bits/fenv.h:
10827         Add #ifndef _ISOMAC guard around internal declarations.
10828         Add multiple-inclusion guard if not already present.
10830 2016-09-23  Zack Weinberg  <zackw@panix.com>
10832         * sysdeps/generic/sys/ucontext.h
10833         * sysdeps/arm/sys/ucontext.h
10834         * sysdeps/i386/sys/ucontext.h
10835         * sysdeps/m68k/sys/ucontext.h
10836         * sysdeps/mips/sys/ucontext.h
10837         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10838         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10839         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10840         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10841         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10842         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10843         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10844         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10845         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10846         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10847         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10848         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10849         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10850         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10851         Include both bits/sigcontext.h and bits/sigstack.h.
10852         Fix grammar error in comment, if present.
10854         * bits/sigstack.h
10855         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10856         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10857         * sysdeps/unix/sysv/linux/bits/sigstack.h
10858         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10859         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10860         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10861         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10862         * bits/sigcontext.h
10863         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10864         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10865         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10866         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10867         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10868         as well as signal.h, if this was not already allowed.  Request
10869         definition of size_t if necessary.  Minimize semantically-null
10870         differences across files.
10872 2016-09-23  Zack Weinberg  <zackw@panix.com>
10874         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10875         Remove all logic conditional on __need macros.  Move all the
10876         conditionally defined types to their own headers...
10877         * time/bits/types/clock_t.h: Define clock_t here.
10878         * time/bits/types/clockid_t.h: Define clockid_t here.
10879         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10880         * time/bits/types/struct_timespec.h: Define struct timespec here.
10881         * time/bits/types/struct_timeval.h: Define struct timeval here.
10882         * time/bits/types/struct_tm.h: Define struct tm here.
10883         * time/bits/types/time_t.h: Define time_t here.
10884         * time/bits/types/timer_t.h: Define timer_t here.
10885         * time/Makefile: Install the new headers.
10887         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10888         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10889         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10890         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10891         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10892         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10893         * sysdeps/unix/sysv/linux/bits/resource.h
10894         * sysdeps/unix/sysv/linux/bits/timex.h
10895         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10896         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10898         * sysdeps/unix/sysv/linux/sys/acct.h
10899         * sysdeps/unix/sysv/linux/sys/timerfd.h
10900         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10901         * time/sys/time.h, time/sys/timeb.h
10902         Use the new bits/types headers.
10904         * include/time.h: Remove __need logic.
10905         * include/bits/time.h
10906         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10907         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10908         * include/bits/types/struct_itimerspec.h
10909         * include/bits/types/struct_timespec.h
10910         * include/bits/types/struct_timeval.h
10911         * include/bits/types/struct_tm.h:
10912         New wrapper headers.
10914 2016-09-23  Zack Weinberg  <zackw@panix.com>
10916         * sysdeps/mach/hurd/net/if_ppp.h
10917         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10918         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10919         if __USE_MISC is defined, to ensure struct ifreq is declared.
10921         * inet/netinet/ether.h: Condition all function prototypes
10922         on __USE_MISC, to ensure struct ether_addr is declared.
10924         * socket/bits/types/struct_osockaddr.h: New header.
10925         * include/bits/types/struct_osockaddr.h: New wrapper.
10926         * socket/Makefile: Install the new header.
10927         * socket/sys/socket.h, inet/protocols/talkd.h:
10928         Refer to bits/types/struct_osockaddr.h for the definition of
10929         struct osockaddr.
10931 2016-09-23  Zack Weinberg  <zackw@panix.com>
10933         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10934         * inet/protocols/routed.h, inet/protocols/talkd.h
10935         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10936         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10937         * sysdeps/generic/netinet/if_ether.h
10938         * sysdeps/generic/netinet/in_systm.h
10939         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10940         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10941         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10942         * sysdeps/mach/hurd/net/if_arp.h
10943         * sysdeps/mach/hurd/net/if_ppp.h
10944         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10945         * sysdeps/unix/sysv/linux/bits/in.h
10946         * sysdeps/unix/sysv/linux/net/ethernet.h
10947         * sysdeps/unix/sysv/linux/net/if_arp.h
10948         * sysdeps/unix/sysv/linux/net/if_ppp.h
10949         * sysdeps/unix/sysv/linux/net/if_shaper.h
10950         * sysdeps/unix/sysv/linux/net/route.h
10951         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10952         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10953         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10954         * sysdeps/unix/sysv/linux/netipx/ipx.h
10955         * sysdeps/unix/sysv/linux/sys/acct.h
10956         * include/arpa/nameser.h, include/resolv.h:
10957         Change all uses of u_char to unsigned char,
10958         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10959         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10960         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10961         and u_int64_t and u_quad_t to uint64_t.
10963         * mach/sys/reboot.h: Remove two casts of integer literals
10964         to the types they already have.
10966         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10967         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10968         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10969         from referring to 'unsigned char' to 'uint8_t' for consistency with
10970         the macro definition below.
10972         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10973         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10974         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10975         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10976         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10977         * sysdeps/unix/sysv/linux/sys/acct.h
10978         * include/arpa/nameser.h, include/resolv.h:
10979         Fix indentation disrupted by mechanical edits.
10981         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10982         * sysdeps/generic/netinet/in_systm.h
10983         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10984         * sysdeps/gnu/netinet/udp.h
10985         * sysdeps/unix/sysv/linux/net/ethernet.h
10986         * sysdeps/unix/sysv/linux/net/if_arp.h
10987         * sysdeps/unix/sysv/linux/net/if_ppp.h
10988         * sysdeps/unix/sysv/linux/net/if_shaper.h
10989         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10990         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10991         * sysdeps/unix/sysv/linux/netipx/ipx.h
10992         * sysdeps/unix/sysv/linux/sys/acct.h
10993         Include stdint.h for uintNN_t definitions.
10994         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10996 2016-09-23  Zack Weinberg  <zackw@panix.com>
10998         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10999         * sysdeps/unix/sysv/linux/netrose/rose.h:
11000         Include sys/socket.h and netax25/ax25.h.
11002         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11003         * resolv/arpa/nameser_compat.h:
11004         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11006         * sysdeps/unix/sysv/linux/sys/quota.h:
11007         Use __caddr_t instead of caddr_t.
11008         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11009         Use __clockid_t instead of clockid_t.
11011         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11013         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11014         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11015         expanding it.
11017         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11018         Define __glibc_c99_flexarr_available to 1 when the compiler
11019         supports C99-compatible flexible array members, 0 otherwise.
11020         * sysdeps/unix/sysv/linux/bits/socket.h
11021         * sysdeps/mach/hurd/bits/socket.h
11022         * bits/socket.h: Use __glibc_c99_flexarr_available in
11023         definitions of struct cmsghdr and CMSG_DATA.
11025 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11027         * manual/nss.texi (NSS Modules Interface): Adjust function return
11028         type to enum nss_status.  Document errnop argument.  Clarify
11029         h_errnop semantics.  Fix cross-reference formatting.
11030         (NSS Module Function Internals): Mention that *errnop needs to be
11031         set on failure, but not to zero.
11033 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11035         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11036         (get_random_name): New functions.
11037         (check_wrapper_flags_mode): Use linkat to give the new file a name
11038         determined by get_random_name.
11039         (do_test): Add calls to test open64 and openat64.
11041 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11043         * test-skeleton.c: Remove #include <stdarg.h>.
11045 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11047         [BZ #19826]
11048         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11049         initialization of static TLS entries.
11050         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11051         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11053 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11055         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11056         _hurd_malloc_fork_prepare.
11057         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11058         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11059         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11060         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11061         (_hurd_fork_child_hook): Drop malloc_fork_child.
11062         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11063         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11064         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11065         after locking locks (notably hurd_dtable_lock). Call
11066         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11067         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11068         __malloc_fork_unlock_child.
11069         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11071 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11073         * soft-fp/extendhftf2.c: New.
11074         * soft-fp/fixhfti.c: Likewise.
11075         * soft-fp/fixunshfti.c: Likewise.
11076         * soft-fp/floattihf.c: Likewise.
11077         * soft-fp/floatuntihf.c: Likewise.
11078         * soft-fp/half.h: Likewise.
11079         * soft-fp/trunctfhf2.c: Likewise.
11081 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11083         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11084         macro.
11085         * math/libm-test.inc (issubnormal_test_data): New array.
11086         (issubnormal_test): New function.
11087         * manual/arith.texi (Floating Point Classes): Document
11088         issubnormal.
11089         * manual/libm-err-tab.pl: Update comment on interfaces without
11090         ulps tabulated.
11092         * sysdeps/generic/stdint.h: Define
11093         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11094         <bits/libc-header-start.h> instead of including <features.h>.
11095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11120         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11128         * manual/arith.texi (Integers): Document these macros for types
11129         specified by width properties.
11130         * manual/lang.texi (Width of Type): Document these macros for
11131         other standard typedefs.
11132         * stdlib/tst-width-stdint.c: New file.
11133         * stdlib/Makefile (tests): Add tst-width-stdint.
11135 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11137         [BZ #20016]
11138         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11139         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11140         Move ...
11141         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11142         ... here, as compatibility symbols in a new file.
11143         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11144         * resolv/res_init.c (__res_vinit): Adjust member names.
11145         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11146         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11147         (res_send_rhook): Remove.
11148         (struct __res_state): Rename qhook, rhook members.
11150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11152         malloc: Use __libc_lock wrappers.
11153         * malloc/arena.c (list_lock, free_list_lock): Define using
11154         __libc_lock_define_initialized.
11155         (arena_lock): Adjust formatting.
11156         * malloc/malloc.c (struct malloc_state): Define mutex using
11157         __libc_lock_define.
11158         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11159         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11160         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11161         (mutex_unlock, mutex_trylock): Remove.
11162         (__pthread_initialize): Remove unused macro.
11163         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11164         (mutex_unlock, mutex_trylock): Remove.
11166 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11168         [BZ #20592]
11169         Remove RR type classification macros.
11170         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11171         (ns_t_udp_p, ns_t_xfr_p): Remove.
11173 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11175         Remove misleading version information.
11176         * resolv/arpa/nameser.h (__NAMESER): Remove.
11177         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11179 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11181         Remove the always-defined BIND_4_COMPAT macro.
11182         * resolv/arpa/nameser.h: Unconditionally include
11183         <arpa/nameser_compat.h>.
11184         (BIND_4_COMPAT): Remove.
11185         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11187 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11189         [BZ #20591]
11190         Remove obsolete DNSSEC support.
11191         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11192         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11193         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11194         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11195         (ns_cert_types): Add comment.
11196         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11197         separately.
11198         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11199         (dst_s_dns_key_id): Remove.
11200         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11201         variables.
11203 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11205         [BZ #20524]
11206         * manual/string.texi (String/Array Comparison): Clarify the
11207         strverscmp behavior.
11209 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11211         * test-skeleton.c (xasprintf): Add function.
11212         * io/tst-open-tmpfile.c: New test.
11213         * io/Makefile (tests): Add it.
11215 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11217         Avoid running $(CXX) during build to obtain header file paths.
11218         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11219         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11220         * Makerules (cstdlib, cmath): Remove variables.  Use
11221         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11222         * configure: Regenerate.
11224 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11226         * Makeconfig (all-object-suffixes): Include .op only if
11227         $(build-profile).
11229 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11231         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11232         conditionals.  Do not define PATH_MAX.
11234 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11236         * posix/Makefile (tests): Add tst-spawn3.
11237         * posix/tst-spawn3.c: New file.
11238         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11239         if it is already opened for open action.
11241         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11242         all signals when executing the clone vfork child.
11243         (SIGALL_SET): Remove macro.
11245         * nptl/Makefile (tests): Add tst-exec5.
11246         * nptl/tst-exec5.c: New file.
11247         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11248         asynchronous cancellation.
11250 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11252         * hurd/exc2signal.c: #include <hurd/signal.h>
11253         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11254         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11255         accordingly.
11256         * mach/mach_error.c (mach_error): Fix old-style function definition.
11257         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11259 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11261         * math/Makefile (libm-calls): Remove s_nanF.
11262         (gen-libm-calls): Add s_nanF.
11264         * math/s_nan.c: Refactor into ...
11265         * math/s_nan_template.c: New file.
11267         * math/s_nanf.c: Removed.
11268         * math/s_nanl.c: Removed.
11269         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11270         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11272         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11273         (LDOUBLE_nanl_libm_version): New macro.
11275         * sysdeps/generic/math-type-macros-double.h:
11276         (M_STRTO_NAN): New macro.
11277         * sysdeps/generic/math-type-macros-float.h: Likewise.
11278         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11280         * sysdeps/generic/math-type-macros.h: Document
11281         M_STRTO_NAN.
11283 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11285         * math/s_nanf.c: Remove __nanf undef.
11286         * math/s_nan.c: Remove __nan undef.
11287         * math/s_nanl.c: Remove __nanl undef.
11289         * sysdeps/generic/math_private.h (__nan): Remove macro
11290         override.
11291         (__nanf): Likewise.
11292         (__nanl): Likewise.
11294 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11296         * math/Makefile (gen-all-calls): New variable.
11297         (generated): Replace gen-libm-calls with gen-all-calls.
11298         (gen-libm-templates.stmp): Likewise.  Also, ensure
11299         the output directory exists or is created and add
11300         dependency on the Makefile.
11301         (calls): Move s_ldexpF into gen-calls.
11302         (gen-calls): New variable.
11304         * math/s_ldexpf.c: Removed.
11305         * math/s_ldexpl.c: Removed.
11306         * math/s_ldexp.c: Refactored into ...
11307         * math/s_ldexp_template.c: New file.
11309         * sysdeps/generic/math-type-macros-double.h: Remove
11310         redundant fall-through definition of declare_mgen_alias.
11311         (declare_mgen_alias_2): New macro.
11313         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11314         New macro for function aliased to two exported symbols.
11316         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11317         new template file.
11318         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11320 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11322         * Makeconfig (all-object-suffixes): Remove .og.
11323         * Makerules (elide-routines.og): Remove.
11324         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11325         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11326         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11328 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11330         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11331         .os objects.
11333 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11335         [BZ #20615]
11336         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11337         fpu directory by non-fpu.
11338         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11339         on non-fpu directory from a fpu directory.
11341 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11343         * include/limits.h: Define
11344         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11345         <bits/libc-header-start.h> instead of including <features.h>.
11346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11357         * manual/lang.texi (Width of Type): Document these macros.
11358         * stdlib/tst-width.c: New file.
11359         * stdlib/Makefile (tests): Add tst-width.
11361 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11363         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11364         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11366 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11368         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11369         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11370         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11372 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11374         [BZ #18243]
11375         * rt/Makefile (test): Add tst-shm-cancel.
11376         * rt/tst-shm-cancel.c: New file.
11377         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11379         [BZ #18243]
11380         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11381         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11382         definition.
11383         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11384         uncontended case.
11385         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11386         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11387         (tf): Fix check for uncontended case.
11388         (do_test): Likewise.
11389         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11390         (tf): Fix check for uncontended case.
11391         (do_test): Likewise.
11392         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11393         (tf): Fix check for uncontended case.
11394         (do_test): Likewise.
11395         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11396         (tf): Fix check for uncontended case.
11397         (do_test): Likewise.
11399         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11400         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11402         [BZ #15765]
11403         * nptl/Makefile (tests): Add tst-sem16.
11404         * nptl/tst-sem16.c: New file.
11405         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11407         * nptl/sem_open.c (sem_open): Init pad value to 0.
11408         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11409         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11411 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11413         [BZ #20611]
11414         * inet/Makefile (routines): Add inet6_scopeid_pton.
11415         (tests): Add tst-inet6_scopeid_pton.
11416         * inet/inet6_scopeid_pton.c: New file.
11417         * inet/net-internal.h: Likewise.
11418         * inet/tst-inet6_scopeid_pton.c: New test.
11419         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11420         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11423 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11425         Remove support for compiling wrappers with PTW.
11426         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11427         * nptl/Makefile (pthread-compat-wrappers): Define.
11428         (libpthread-routines): Use pthread-compat-wrappers.
11429         * sysdeps/unix/sysv/linux/alpha/Makefile
11430         (libpthread-routines, libpthread-shared-only-routines): Remove
11431         ptw- prefix.
11432         * sysdeps/s390/nptl/Makefile
11433         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11434         * sysdeps/ia64/nptl/Makefile
11435         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11436         * sysdeps/nacl/Makefile (libpthread-routines): Use
11437         pthread-compat-wrappers to filter the routines list instead of the
11438         ptw- prefix.
11440 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11442         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11443         with L() and remove explicit suffix, convert real literals
11444         which can be equivalentally substituted with integers, and
11445         transform -L(x) to L(-x).
11447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11452         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11453         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11454         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11455         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11456         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11460         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11461         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11462         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11463         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11464         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11465         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11466         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11467         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11468         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11469         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11470         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11471         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11472         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11477         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11478         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11479         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11480         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11481         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11482         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11483         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11495         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11498 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11500         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11502 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11504         * malloc/Makefile (tests): Remove individual static test names
11505         and just add all of tests-static.
11507         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11509 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11511         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11512         file.
11514         * sysdeps/sparc/fpu/fegetmode.c: New file.
11515         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11517         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11518         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11520         * sysdeps/s390/fpu/fegetmode.c: New file.
11521         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11523         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11524         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11525         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11526         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11527         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11528         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11530         * sysdeps/mips/fpu/fegetmode.c: New file.
11531         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11533         * sysdeps/m68k/fpu/fegetmode.c: New file.
11534         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11536         * sysdeps/ia64/fpu/fegetmode.c: New file.
11537         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11539         * sysdeps/hppa/fpu/fegetmode.c: New file.
11540         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11542         * sysdeps/arm/fegetmode.c: New file.
11543         * sysdeps/arm/fesetmode.c: Likewise.
11545         * sysdeps/alpha/fpu/fegetmode.c: New file.
11546         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11548         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11549         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11551         * math/fegetmode.c: New file.
11552         * math/fesetmode.c: Likewise.
11553         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11554         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11555         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11556         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11557         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11559         declaration.
11560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11561         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11562         typedef.
11563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11564         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11565         (femode_t): New typedef.
11566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11567         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11568         (femode_t): New typedef.
11569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11570         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11571         (femode_t): New typedef.
11572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11573         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11574         (femode_t): New typedef.
11575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11576         * sysdeps/ia64/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/m68k/fpu/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/microblaze/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/mips/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/nios2/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         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11592         (femode_t): New typedef.
11593         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11594         declaration.
11595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11596         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11597         (femode_t): New typedef.
11598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11599         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11600         (femode_t): New typedef.
11601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11602         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11603         (femode_t): New typedef.
11604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11605         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11606         (femode_t): New typedef.
11607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11608         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11609         (femode_t): New typedef.
11610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11611         * manual/arith.texi (FE_DFL_MODE): Document macro.
11612         (fegetmode): Document function.
11613         (fesetmode): Likewise.
11614         * math/Versions (fegetmode): New libm symbol at version
11615         GLIBC_2.25.
11616         (fesetmode): Likewise.
11617         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11618         (tests): Add test-femode and test-femode-traps.
11619         * math/test-femode-traps.c: New file.
11620         * math/test-femode.c: Likewise.
11621         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11622         alias for __fe_dfl_env.
11623         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11624         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11625         (__fe_dfl_mode): Likewise.
11626         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11627         version GLIBC_2.25.
11628         * sysdeps/nacl/libm.abilist: Update.
11629         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11630         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11631         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11632         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11633         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11634         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11635         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11636         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11637         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11638         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11639         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11640         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11644         Likewise.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11646         Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11650         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11651         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11652         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11653         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11657         Likewise.
11658         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11659         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11662 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11664         [BZ #20495]
11665         [BZ #20508]
11666         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11667         processors, set Use_dl_runtime_resolve_slow and set
11668         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11669         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11670         New.
11671         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11672         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11673         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11674         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11675         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11676         if Use_dl_runtime_resolve_opt is set.  Use
11677         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11678         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11679         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11680         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11681         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11682         New.
11683         (_dl_runtime_resolve_opt): Likewise.
11684         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11685         defined.
11687 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11689         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11690         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11692 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11694         Convert malloc to __libc_lock.  Automated part, using this Perl
11695         s/// command:
11696           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11697             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11698         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11699         conversion.
11701 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11703         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11704         (linknamespace-symlists-tests): Likewise.
11705         (linknamespace-header-tests): Likewise.
11707 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11709         [BZ #19810]
11710         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11711         * elf/tst-noload.c: New test case.
11712         * elf/Makefile (tests): Add tst-noload.
11714 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11716         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11718         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11719         not any more.
11721         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11723 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11725         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11726         (do_cos_slow): Likewise.
11727         (do_sin): Likewise.
11728         (do_sin_slow): Likewise.
11729         (slow): Likewise.
11730         (slow1): Likewise.
11731         (slow2): Likewise.
11732         (sloww): Likewise.
11733         (sloww1): Likewise.
11734         (sloww2): Likewise.
11735         (bsloww): Likewise.
11736         (bsloww1): Likewise.
11737         (bsloww2): Likewise.
11738         (cslow2): Likewise.
11740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11742         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11743         arguments.  Consolidate input partitioning from callers here.
11744         (do_cos_slow): Likewise.
11745         (do_sin): Likewise.
11746         (do_sin_slow): Likewise.
11747         (do_sincos_1): Remove the no longer necessary input partitioning.
11748         (do_sincos_2): Likewise.
11749         (__sin): Likewise.
11750         (__cos): Likewise.
11751         (slow1): Likewise.
11752         (slow2): Likewise.
11753         (sloww1): Likewise.
11754         (sloww2): Likewise.
11755         (bsloww1): Likewise.
11756         (bsloww2): Likewise.
11757         (cslow2): Likewise.
11759 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11761         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11762         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11763         outside of allocated array.
11765 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11767         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11768         instead of MB_CUR_MAX to avoid variable-length array.
11770 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11772         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11773         (type-double-routines): Add k_rem_pio2.
11774         (type-float-routines): Add k_rem_pio2f.
11776         * sysdeps/generic/math_private.h:
11777         (__kernel_rem_pio2l): Removed.
11779         * math/k_rem_pio2l.c: Removed.
11780         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11781         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11782         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11783         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11785 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11787         * math/Makefile (gen-libm-calls): Add s_fmin
11788         (libm-calls): Remove above.
11790         * math/s_fmin.c: Refactor into ...
11791         * math/s_fmin_template.c: New file.
11793         * math/s_fminf.c: Removed.
11794         * math/s_fminl.c: Removed.
11795         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11796         (LDOUBLE_fmin_libm_version): New macro.
11798         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11799         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11801 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11803         * math/Makefile: (gen-libm-calls): Add s_fmax.
11804         (libm-calls): Remove above.
11806         * math/s_fmax.c: Refactor into ...
11807         * math/s_fmax_template.c: New file.
11808         * math/s_fmaxf.c: Removed.
11809         * math/s_fmaxl.c: Removed.
11811         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11812         (LDOUBLE_fmaxl_libm_version): New macro.
11814         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11815         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11817         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11818         s_fmin.c to pick the aarch64 version of the file.
11819         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11820         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11822 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11824         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11825         (libm-calls): Remove above.
11827         * math/s_nextdown.c: Refactor into ...
11828         * math/s_nextdown_template.c: New file.
11829         * math/s_nextdownf.c: Removed.
11830         * math/s_nextdownl.c: Removed.
11832         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11834 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11836         * math/Makefile (gen-libm-calls): Add s_fdim.
11837         (libm-calls): Move to above.
11839         * math/s_fdim.c: Renamed and refactored into to ...
11840         * math/s_fdim_template.c: New file.
11841         * math/s_fdiml.c: Removed.
11842         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11843         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11845         * sysdeps/generic/math-type-macros-double.h:
11846         (declare_mgen_alias): Don't declare if already declared.
11847         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11848         Likewise.
11850         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11851         (declare_mgen_alias): Don't declare if already declared.
11852         (M_LIBM_NEED_COMPAT): Likewise.
11853         (declare_mgen_libm_compat): Likewise.
11854         (LDOUBLE_fdiml_libm_version): New macro.
11856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11857         Include math/s_fdim.c now that ldbl-opt version is not needed.
11858         (declare_mgen_alias): New macro to disable aliasing.
11860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11861         (declare_mgen_alias): Likewise.
11862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11863         (declare_mgen_alias): Likewise.
11864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11865         (declare_mgen_alias): Likewise.
11866         (M_LIBM_NEED_COMPAT): Likewise.
11868 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11870         [BZ #20525]
11871         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11872         Include <linux/quota.h>.
11873         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11874         and btodb.
11875         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11876         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11877         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11878         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11879         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11880         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11881         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11882         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11883         types.
11884         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11885         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11887 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11890         (gammal_positive): Fix spacing.
11891         (__ieee754_gammal_r): Likewise.
11893 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11895         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11896         (_Float128): Define as long double, always.
11897         (L): Apply long double type suffix, always.
11899         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11900         _Float128, excepting comments.
11902         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11903         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11904         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11905         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11906         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11907         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11908         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11909         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11911         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11912         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11913         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11914         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11916         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11917         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11918         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11920         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11921         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11922         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11926         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11928         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11929         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11930         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11931         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11932         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11933         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11934         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11935         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11937         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11938         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11939         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11940         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11941         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11942         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11943         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11944         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11945         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11946         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11947         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11948         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11949         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11950         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11951         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11952         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11953         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11954         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11955         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11956         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11957         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11958         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11959         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11960         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11961         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11962         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11963         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11964         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11965         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11966         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11967         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11968         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11969         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11971         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11972         _Float128, and include math_private.h.
11973         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11976         long double semantics.
11977         (_Float128): Likewise.
11978         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11979         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11980         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11981         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11983 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11985         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11986         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11987         * sysdeps/s390/configure: Regenerated.
11988         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11989         instruction for raising over-/underflow if z196 zarch is supported
11990         by default.
11991         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11993 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11995         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11996         it point to a dumb buffer for RPC to fill it.
11998 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12000         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12001         instead of if/else.
12002         (do_sin_slow): Likewise.
12003         (do_sincos_1): Use fabs instead of if/else.
12004         (do_sincos_2): Likewise.
12005         (__sin): Likewise.
12006         (__cos): Likewise.
12007         (slow2): Likewise.
12008         (sloww): Likewise.
12009         (sloww1): Likewise.  Drop argument M.
12010         (sloww2): Use fabs instead of if/else.
12011         (bsloww): Likewise.
12012         (bsloww1): Likewise.
12013         (bsloww2): Likewise.
12015         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12016         fall through comment.
12017         (do_sincos_1): Likewise.
12019         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12020         Consolidate switch cases 0 and 2.
12022 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12024         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12025         (libm-calls): Remove the above.
12027         * math/s_cexp_template.c: Update using type-generic macros.
12028         * math/s_clog10_template.c: Likewise.
12029         * math/s_cpow_template.c: Likewise.
12030         * math/s_clog_template.c: Likewise.
12031         * math/s_cproj_template.c: Likewise.
12032         * math/s_csqrt_template.c: Likewise.
12034         * math/s_cexp.c: Removed.
12035         * math/s_cexpf.c: Removed.
12036         * math/s_cexpl.c: Removed.
12037         * math/s_clog10.c: Removed.
12038         * math/s_clog10f.c: Removed.
12039         * math/s_clog10l.c: Removed.
12040         * math/s_cpow.c: Removed.
12041         * math/s_cpowf.c: Removed.
12042         * math/s_cpowl.c: Removed.
12043         * math/s_clog.c: Removed.
12044         * math/s_clogf.c: Removed.
12045         * math/s_clogl.c: Removed.
12046         * math/s_cproj.c: Removed.
12047         * math/s_cprojf.c: Removed.
12048         * math/s_cprojl.c: Removed.
12049         * math/s_csqrt.c: Removed.
12050         * math/s_csqrtf.c: Removed.
12051         * math/s_csqrtl.c: Removed.
12053         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12054         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12055         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12056         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12057         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12058         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12060         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12061         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12062         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12063         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12064         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12065         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12066         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12067         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12068         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12069         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12070         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12072         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12073         version.
12075         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12076         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12077         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12078         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12080 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12082         * s_cexp_template.c: Copy of s_cexp.c.
12083         * s_clog_template.c: Copy of s_clog.c.
12084         * s_clog10_template.c: Copy of s_clog10.c.
12085         * s_cpow_template.c: Copy of s_cpow.c.
12086         * s_cproj_template.c: Copy of s_cproj.c.
12087         * s_csqrt_template.c: Copy of s_csqrt.c.
12089 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12091         [BZ #20517]
12092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12093         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12094         exported.
12096 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12098         * math/fetestexceptflag.c: New file.
12099         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12100         Stefan Liebler.
12101         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12102         (fetestexceptflag): New function declaration.
12103         * manual/arith.texi (fetestexceptflag): Document function.
12104         * math/Versions (fetestexceptflag): New libm symbol at version
12105         GLIBC_2.25.
12106         * math/Makefile (libm-support): Add fetestexceptflag.
12107         (tests): Add test-fetestexceptflag.
12108         * math/test-fetestexceptflag.c: New file.
12109         * sysdeps/nacl/libm.abilist: Update.
12110         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12112         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12113         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12114         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12116         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12117         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12118         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12119         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12120         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12121         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12123         Likewise.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12125         Likewise.
12126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12127         Likewise.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12143 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12145         [BZ #20432]
12146         Avoid strong references to malloc-internal symbols when linking
12147         statically, to support statically interposed mallocs.
12148         * include/libc-symbols.h (call_function_static_weak): New macro.
12149         * malloc/Makefile (tests): Add tst-interpose-nothread,
12150         tst-interpose-thread, tst-interpose-static-nothread,
12151         tst-interpose-static-thread.
12152         (tests-static): Add tst-interpose-static-nothread,
12153         tst-interpose-static-thread.
12154         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12155         tst-interpose-aux-thread.o.
12156         (test-extras): Add tst-interpose-aux-nothread,
12157         tst-interpose-aux-thread.
12158         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12159         tst-interpose-aux-nothread.o.
12160         (tst-interpose-thread, tst-interpose-static-thread): Link with
12161         tst-interpose-aux-thread.o and libthread.
12162         * malloc/tst-interpose-aux-nothread.c: New file.
12163         * malloc/tst-interpose-aux-thread.c: Likewise.
12164         * malloc/tst-interpose-aux.c: Likewise.
12165         * malloc/tst-interpose-aux.h: Likewise.
12166         * malloc/tst-interpose-nothread.c: Likewise.
12167         * malloc/tst-interpose-skeleton.c: Likewise.
12168         * malloc/tst-interpose-static-nothread.c: Likewise.
12169         * malloc/tst-interpose-static-thread.c: Likewise.
12170         * malloc/tst-interpose-thread.c: Likewise.
12171         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12172         * sysdeps/mach/hurd/fork.c (__fork): Only call
12173         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12174         __malloc_fork_unlock_child if defined.
12175         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12177 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12179         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12180         timespec C99 designated initialization.
12182 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12184         [BZ #19946]
12185         Avoid expected SIGALRM signals.
12186         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12187         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12188         (xpthread_create, xpthread_detach, xpthread_join)
12189         (delayed_exit_thread, delayed_exit): New functions.
12190         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12191         (tf): Use xpthread_cond_wait.
12192         (do_test): Likewise.  Replace alarm with delayed_exit.
12193         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12194         (do_test): Call delayed_exit.  Report failure.
12195         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12196         (do_test): Call delayed_exit.
12197         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12198         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12199         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12200         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12201         error.
12202         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12203         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12204         error.
12205         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12206         (do_test): Call delayed_exit.
12207         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12208         (do_test): Call delayed_exit.
12209         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12210         (do_test): Call delayed_exit instead of alarm.  Use
12211         xpthread_mutex_lock.
12212         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12213         (do_test): Call delayed_exit instead of alarm.  Use
12214         xpthread_mutex_lock.
12215         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12216         (do_test): Call delayed_exit instead of alarm.
12217         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12218         (do_test): Call delayed_exit instead of alarm.  Use
12219         xpthread_spin_lock.
12220         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12221         (do_test): Call delayed_exit instead of alarm.  Use
12222         xpthread_join.
12224 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12226         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12227         adjust CFA when allocating register save area on re-aligned
12228         stack.
12230 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12232         * string/tst-cmp.c: New test.
12233         * string/Makefile (tests): Add it.
12235 2016-08-25  Mark Wielaard  <mark@klomp.org>
12237         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12238         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12239         (check_tree_recurse): Use newly defined accessors.
12240         (check_tree): Likewise.
12241         (maybe_split_for_insert): Likewise.
12242         (__tfind): Likewise.
12243         (__tdelete): Likewise.
12244         (trecurse): Likewise.
12245         (tdestroy_recurse): Likewise.
12246         (__tsearch): Likewise. And add asserts for malloc alignment.
12247         (__twalk): Cast root to node in case CHECK_TREE is defined.
12249 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12251         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12253 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12255         * math/Makefile (libm-gen-calls): Add
12256         catan, catanh, ctan, ctanh.
12257         (libm-calls): Remove the above.
12259         * math/s_catan_template.c: Update using type-generic macros.
12260         * math/s_catanh_template.c: Likewise.
12261         * math/s_ctan_template.c: Likewise.
12262         * math/s_ctanh_template.c: Likewise.
12264         * math/s_catanf.c: Removed.
12265         * math/s_catan.c: Removed.
12266         * math/s_catanl.c: Removed.
12267         * math/s_catanhf.c: Removed.
12268         * math/s_catanh.c: Removed.
12269         * math/s_catanhl.c: Removed.
12270         * math/s_ctanf.c: Removed.
12271         * math/s_ctan.c: Removed.
12272         * math/s_ctanl.c: Removed.
12273         * math/s_ctanhf.c: Removed.
12274         * math/s_ctanh.c: Removed.
12275         * math/s_ctanhl.c: Removed.
12277         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12278         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12279         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12280         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12281         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12282         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12284         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12285         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12286         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12287         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12289 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12291         * s_catan_template.c: Copy of s_catan.c.
12292         * s_catanh_template.c: Copy of s_catanh.c.
12293         * s_ctan_template.c: Copy of s_ctan.c.
12294         * s_ctanh_template.c: Copy of s_ctanh.c.
12296 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12298         * math/Makefile (gen-libm-calls): Move
12299         casin, casinh, csin, csinh here.
12300         (libm-calls): Remove the above.
12302         * math/s_casin_template.c: Update using type-generic macros.
12303         * math/s_casinh_template.c: Likewise.
12304         * math/s_csin_template.c: Likewise.
12305         * math/s_csinh_template.c: Likewise.
12306         * math/k_casinh_template.c: Likewise.
12308         * math/s_casinf.c: Removed.
12309         * math/s_casin.c: Removed.
12310         * math/s_casinl.c: Removed.
12311         * math/s_casinh.c: Removed.
12312         * math/s_casinhf.c: Removed.
12313         * math/s_casinhl.c: Removed.
12314         * math/s_csin.c: Removed.
12315         * math/s_csinf.c: Removed.
12316         * math/s_csinl.c: Removed.
12317         * math/s_csinh.c: Removed.
12318         * math/s_csinhf.c: Removed.
12319         * math/s_csinhl.c: Removed.
12320         * math/k_casinh.c: Removed.
12321         * math/k_casinhf.c: Removed.
12322         * math/k_casinhl.c: Removed.
12324         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12325         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12326         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12327         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12329         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12330         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12331         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12332         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12333         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12334         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12335         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12336         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12338         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12339         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12340         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12341         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12343         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12344         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12345         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12346         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12348 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12350         * s_casin_template.c: Copy of s_casin.c.
12351         * s_casinh_template.c: Copy of s_casinh.c.
12352         * s_csin_template.c: Copy of s_csin.c.
12353         * s_csinh_template.c: Copy of s_csinh.c.
12354         * k_casinh_template.c: Copy of k_casinh.c.
12356 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12358         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12360 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12362         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12363         (mul_split) Remove, rename as mul_splitl, remove
12364         redundant float.h include, and include via mul_splitl.h
12366         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12367         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12368         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12369         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12370         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12372         * math/mul_splitl.h: New file.
12374         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12375         Move into mul_split.h, and remove redundant float.h include.
12377         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12378         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12382         * math/mul_split.h: New file.
12384 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12386         * math/Makefile (libm-gen-calls): Move
12387         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12388         (libm-calls): Remove above.
12390         * math/s_cacos_template.c: Update using type-generic macros.
12391         * math/s_cacosh_template.c: Likewise.
12392         * math/s_ccos_template.c: Likewise.
12393         * math/s_ccosh_template.c: Likewise.
12395         * math/s_cacosf.c: Removed.
12396         * math/s_cacos.c: Removed.
12397         * math/s_cacosl.c: Removed.
12398         * math/s_cacoshf.c: Removed.
12399         * math/s_cacosh.c: Removed.
12400         * math/s_cacoshl.c: Removed.
12401         * math/s_ccosf.c: Removed.
12402         * math/s_ccos.c: Removed.
12403         * math/s_ccosl.c: Removed.
12404         * math/s_ccoshf.c: Removed.
12405         * math/s_ccosh.c: Removed.
12406         * math/s_ccoshl.c: Removed.
12408         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12409         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12410         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12411         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12412         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12413         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12415         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12416         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12417         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12418         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12420         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12421         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12422         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12423         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12425 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12427         * s_cacos_template.c: Copy of s_cacos.c.
12428         * s_cacosh_template.c: Copy of s_cacosh.c.
12429         * s_ccos_template.c: Copy of s_ccos.c.
12430         * s_ccosh_template.c: Copy of s_ccosh.c.
12432 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12434         * stdlib/tst-strtod-round-skeleton.c:
12435         Refactored from tst-strtod-round.c.
12437         (L_): New macro to apply literal modifier.
12438         (FNPFX): New macro to select str or wcs prefix.
12439         (CHAR): New macro to choose wchar_t or char.
12440         (STRM): New macro to choose printf for tested character type.
12442         (STRTO): New macro to choose appropriate string -> real function.
12443         (FNPFXS): Stringitized version of FNPFX.
12444         (STR): Support for above macro.
12445         (STRX): Likewise.
12447         (TEST): Update with above macros.
12448         (test): Likewise.
12449         (GEN_ONE_TEST): Likewise.
12450         (test_in_one_mode): Likewise.
12452         * stdlib/tst-strtod-round.c: New file.
12453         * wcsmbs/tst-wcstod-round.c: New file.
12455         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12456         (tst-wcstod-round): Add libm depencency for fesetround.
12458 2016-08-19  Zack Weinberg  <zackw@panix.com>
12460         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12462 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12464         [BZ #20477]
12465         * resolv/res_hconf.c (do_init): Use atomic access.
12466         * resolv/res_hconf.h: Add comments.
12467         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12468         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12471 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12474         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12476         Likewise.
12478 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12480         [BZ #16907]
12481         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12482         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12483         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12484         (__attribute__): Remove definition.
12486 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12488         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12489         Remove unused sqrtl declaration.
12491 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12493         * math/Makefile: (gen-libm-templates.stmp): New rule.
12494         (libm-calls): Move carg conj cimag and cabs into ...
12495         (gen-libm-calls): New variable.
12496         (generated): Inform Make objects from gen-libm-calls
12497         may be generated.
12499         * sysdeps/generic/math-type-macros.h: New file.
12500         * sysdeps/generic/math-type-macros-float.h: Likewise.
12501         * sysdeps/generic/math-type-macros-double.h: Likewise.
12502         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12503         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12504         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12506         * math/cabs.c: Refactor into
12507         * math/cabs_template.c: new file.
12508         * math/cabsf.c: Removed.
12509         * math/cabsl.c: Removed.
12510         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12511         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12513         * math/carg.c: Refactor into
12514         * math/carg_template.c: new file.
12515         * math/cargf.c: Removed.
12516         * math/cargl.c: Removed.
12517         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12518         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12520         * math/conj.c: Refactor into
12521         * math/conj_template.c: new file.
12522         * math/conjf.c: Removed.
12523         * math/conjl.c: Removed.
12524         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12525         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12527         * math/cimag.c: Refactor into
12528         * math/cimag_template.c: new file.
12529         * math/cimagf.c: Removed.
12530         * math/cimagl.c: Removed.
12531         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12532         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12534         * math/cimag.c: Refactor into
12535         * math/cimag_template.c: new file.
12536         * math/cimagf.c: Removed.
12537         * math/cimagl.c: Removed.
12538         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12539         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12541 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12543         Reduce time to expected nptl/tst-once5 failure.
12544         * nptl/tst-once5.cc (TIMEOUT): Define.
12546 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12548         [BZ #20452]
12549         Avoid additional copies of objects in libc.a in static libraries.
12550         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12551         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12552         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12553         rt-sysdep.
12554         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12555         Add nptl-sysdep.
12556         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12557         Add ptw-sysdep.
12558         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12559         rt-sysdep.
12560         * sysdeps/unix/sysv/linux/alpha/Makefile
12561         (libpthread-shared-only-routines): Add ptw-sysdep,
12562         ptw-sigprocmask, ptw-rt_sigaction.
12563         * sysdeps/unix/sysv/linux/ia64/Makefile
12564         (librt-shared-only-routines): Add rt-sysdep.
12565         * sysdeps/unix/sysv/linux/i386/Makefile
12566         (libpthread-shared-only-routines): Add libc-do-syscall.
12567         * sysdeps/unix/sysv/linux/microblaze/Makefile
12568         (libpthread-shared-only-routines): Add sysdep.
12569         * sysdeps/unix/sysv/linux/powerpc/Makefile
12570         (librt-shared-only-routines): Add rt-sysdep.
12571         (libpthread-shared-only-routines): Add sysdep.
12572         * sysdeps/unix/sysv/linux/s390/Makefile
12573         (librt-shared-only-routines): Add rt-sysdep.
12574         * sysdeps/unix/sysv/linux/sparc/Makefile
12575         (librt-shared-only-routines): Add rt-sysdep.
12576         (libpthread-shared-only-routines): Add sysdep.
12577         * sysdeps/unix/sysv/linux/tile/Makefile
12578         (libpthread-shared-only-routines): Likewise.
12580 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12582         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12583         Mask implicit bit out of unpacked value.
12584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12588         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12590         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12592         * sysdeps/s390/fpu/fesetexcept.c: New file.
12594         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12595         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12596         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12598         * sysdeps/mips/fpu/fesetexcept.c: New file.
12600         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12602         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12604         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12606         * sysdeps/arm/fesetexcept.c: New file.
12608         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12610         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12612         * math/fesetexcept.c: New file.
12613         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12614         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12615         * math/fenv.h: Define
12616         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12617         <bits/libc-header-start.h> instead of including <features.h>.
12618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12619         declaration.
12620         * manual/arith.texi (fesetexcept): Document function.
12621         * math/Versions (fesetexcept): New libm symbol at version
12622         GLIBC_2.25.
12623         * math/Makefile (libm-support): Add fesetexcept.
12624         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12625         * math/test-fesetexcept.c: New file.
12626         * math/test-fesetexcept-traps.c: Likewise.
12627         * sysdeps/nacl/libm.abilist: Update.
12628         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12630         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12631         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12632         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12633         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12634         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12635         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12636         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12637         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12638         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12639         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12641         Likewise.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12643         Likewise.
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12645         Likewise.
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12647         Likewise.
12648         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12649         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12650         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12651         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12652         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12654         Likewise.
12655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12656         Likewise.
12657         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12658         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12659         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12661 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12663         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12664         New.
12665         (do_test): Apply default_stack_size_in_mb if not set.
12666         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12668 2016-08-15  Andreas Schwab  <schwab@suse.de>
12670         [BZ #20435]
12671         CVE-2016-6323
12672         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12673         as .cantunwind.
12675 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12677         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12678         comment from fraiseexcpt.c.
12680         * math/test-fexcept.c (feraiseexcept_exact): New function.
12681         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12682         (test_except): Likewise.
12684 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12686         [BZ #20455]
12687         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12688         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12689         to be restored.
12691         * math/test-fexcept-traps.c: New file.
12692         * math/test-fexcept.c: Likewise.
12693         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12694         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12695         macro.
12696         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12697         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12699 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12701         * include/atomic.h (atomic_fetch_and_relaxed,
12702         atomic_fetch_and_release, atomic_fetch_or_release,
12703         atomic_fetch_xor_release): New.
12705 2016-08-06  Christian Seiler  <christian@iwakd.de>
12707         [BZ #20444]
12708         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12709         MACH_PORT_NULL.
12711 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12713         * math/s_fdim.c: Avoid alias renamed.
12714         * math/s_fdimf.c: Likewise.
12715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12716         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12717         Add s_fdimf-vis3, s_fdim-vis3.
12718         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12719         (CFLAGS-s_fdim-vis3.c): Likewise.
12720         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12721         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12723 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12726         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12727         Remove s_fdimf-vis3, s_fdim-vis3.
12728         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12729         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12736         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12737         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12739 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12741         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12742         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12743         -Wa,-Av9a -mvis.
12745 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12747         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12748         LIT() to individual constants in simple expressions
12749         after splitting on spaces.
12750         (_apply_lit): Rename replaced version, and use it to
12751         apply to what appears to be a token.
12753         * math/libm-test.inc: Fix many, many issues with
12754         spacing.
12756 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12758         * math/math.h: Move comment about <bits/mathdef.h> definitions
12759         above inclusion of <bits/mathdef.h>.  Do not mention
12760         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12762 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12764         * include/atomic.h (atomic_exchange_relaxed): New.
12766 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12768         * math/e_scalb.c: Do not include <fenv.h>.
12769         (invalid_fn): Do calculation resulting in NaN instead of raising
12770         FE_INVALID and returning a NaN explicitly.
12771         * math/e_scalbf.c: Do not include <fenv.h>.
12772         (invalid_fn): Do calculation resulting in NaN instead of raising
12773         FE_INVALID and returning a NaN explicitly.
12774         * math/e_scalbl.c: Do not include <fenv.h>.
12775         (invalid_fn): Do calculation resulting in NaN instead of raising
12776         FE_INVALID and returning a NaN explicitly.
12778 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12780         * po/de.po: Updated from Translation Project.
12781         * po/fi.po: Likewise.
12782         * po/sv.po: Likewise.
12784 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12786         [BZ #20452]
12787         Use sysdep.o from libc.a in static libraries.
12788         * sysdeps/unix/sysv/linux/i386/Makefile
12789         (libpthread-shared-only-routines): Add sysdep.
12790         (librt-shared-only-routines): Likewise.
12792 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12794         * math/tgmath.h (nextdown): Define if
12795         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12796         (nextup): Likewise.
12798         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12799         macro.
12800         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12801         Document.
12802         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12803         Document macro.
12804         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12805         (exp10f): Likewise.
12806         (exp10l): Likewise.
12807         * math/bits/mathcalls.h (exp10): Declare if
12808         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12810         * manual/arith.texi (nextup): Fix typo in last change.
12812 2016-08-03  Zack Weinberg  <zackw@panix.com>
12814         [BZ #19239]
12815         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12816         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12817         define major, minor, and makedev to issue deprecation warnings on use.
12818         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12819         previously-activated deprecation warnings for these macros and prevent
12820         subsequent inclusions of this header from having any effect.
12821         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12822         including <sys/sysmacros.h>, and undefine it again afterward.
12824 2016-08-03  Zack Weinberg  <zackw@panix.com>
12826         * sysdeps/generic/sys/sysmacros.h: Delete file.
12827         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12828         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12829         * bits/sysmacros.h: ... here; this encoding is now the generic
12830         encoding.  Now defines only the following macros:
12831         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12832         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12833         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12835         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12836         bits/sysmacros.h and the above new macros to generate the
12837         public implementations of major, minor, and makedev.
12838         * misc/tst-makedev.c: New test.
12839         * include/sys/sysmacros.h: New wrapper.
12841         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12842         (routines): Add makedev.
12843         (tests): Add tst-makedev.
12844         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12845         gnu_dev_makedev.
12846         * posix/Makefile (headers): Remove sys/sysmacros.h.
12847         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12849         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12850         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12851         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12852         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12853         * sysdeps/unix/sysv/linux/arm/libc.abilist
12854         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12855         * sysdeps/unix/sysv/linux/i386/libc.abilist
12856         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12857         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12858         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12859         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12860         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12862         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12863         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12864         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12869         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12870         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12871         * sysdeps/unix/sysv/linux/sh/libc.abilist
12872         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12873         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12877         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12878         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12879         Add GLIBC_2.25.
12881         * include/features.h (__glibc_clang_prereq): New macro.
12882         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12883         (__attribute_deprecated_msg__): New macros.
12885 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12887         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12888         macro.
12889         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12890         * manual/arith.texi (issignaling): Document as ISO from TS
12891         18661-1:2014.
12892         (nextup): Likewise.
12893         (nextupf): Likewise.
12894         (nextupl): Likewise.
12895         (nextdown): Likewise.
12896         (nextdownf): Likewise.
12897         (nextdownl): Likewise.
12898         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12899         macro.
12900         * math/math.h: Define
12901         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12902         <bits/libc-header-start.h> instead of including <features.h>.
12903         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12904         [__USE_GNU].
12905         * math/bits/mathcalls.h (nextdown): Declare if
12906         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12907         (nextup): Likewise.
12908         (__issignaling): Likewise.
12910 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12912         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12913         check, and remove __glibc_likely hint
12914         from FP_INFINITE check.
12915         * s_csinhf.c (__csinhf): Likewise.
12917         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12918         hint from FP_INFINITE check.
12919         * s_csinhl.c (__csinhl): Likewise.
12921 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12923         * math/Makefile (libm-calls): Insert F placeholder into
12924         object names.  Move w_lgamma_compat* routines into
12925         (libm-compat-calls): New variable.
12926         (libm-compat-calls-ldouble-yes): New variable.
12927         (calls): Insert F placeholder.
12928         (generated): Redefine using new type-foreach macro call.
12929         (routines): Likewise.
12931         (types): New variable to hold a list of symbolic names
12932         for each type supported by the target machine.
12933         (libm-routines): Redefine using new types variable.
12934         (type-foreach): macro to replace fooF with the
12935         appropriately suffixed foo for each types.
12937         (type-ldouble-suffix): New variable.
12938         (type-ldouble-routines): Likewise.
12939         (type-ldouble-yes): Likewise.
12940         (type-double-suffix): Likewise.
12941         (type-double-routines): Likewise.
12942         (type-float-suffix): Likewise.
12943         (type-float-routines): Likewise.
12945         (dbl-only-routines): Remove.
12946         (long-c-yes): Likewise.
12947         (long-m-routines): Likewise.
12948         (long-m-support): Likewise.
12949         (long-m-yes): Likewise.
12950         (test-longdouble-yes): Likewise.
12952         (test-float.o): Simplify by increasing the scope of the
12953         recipe which adds libm-test.stmp to the vector types.
12954         (test-ifloat.o): Likewise.
12955         (test-float-finite.o): Likewise.
12956         (test-double.o): Likewise
12957         (test-idouble.o): Likewise.
12958         (test-double-finite.o): Likewise.
12959         (test-ldouble.o): Likewise
12960         (test-ildoubl.o): Likewise.
12961         (test-ldouble-finite.o): Likewise.
12963         (libm-tests): Redefine type tests using foreach and the
12964         list of types in types.
12966         (CPPFLAGS-test-ildoubl.c): Rename to
12967         (CPPFLAGS-test-ildouble.c): New variable
12969         * math/test-ildoubl.c: Rename to
12970         * math/test-ildouble.c: New file.
12972 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12974         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12975         Use fabsl instead of fabs.
12976         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12977         Likewise.
12978         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12979         Add long double suffix to constant to ensure proper
12980         promotion to long double.
12982 2016-08-03  Tom Tromey  <tom@tromey.com>
12984         [BZ #20311]
12985         * nptl_db/Makefile (headers): Add proc_service.h.
12986         * nptl_db/proc_service.h: Add include guard.  Use
12987         __BEGIN/__END_DECLS.
12988         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12989         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12990         arguments.
12993 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12995         [BZ #17730]
12996         Avoid using memalign for TCB allocations.
12997         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12998         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12999         Avoid alignment gap in the TLS_DTV_AT_TP case.
13000         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13001         determine the pointer to free.
13002         * nptl/tst-tls3-malloc.c: New test.
13003         * nptl/Makefile (tests): Add it.
13004         (tst-tls3-malloc): Link with libdl, libpthread.
13005         (LDFLAGS-tst-tls3-malloc): Set.
13006         (tst-tls3-malloc.out): Depend on DSO used in test.
13008 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13010         [BZ #17730]
13011         Avoid using memalign for TLS allocations.
13012         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13013         is_static member with to_free member.
13014         (union dtv): Use struct dtv_pointer.
13015         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13016         dtv_pointer instead of is_static.
13017         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13018         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13019         instead of val.
13020         (allocate_dtv_entry): New function.
13021         (allocate_and_init): Return struct dtv_pointer.  Call
13022         allocate_dtv_entry instead of __libc_memalign.
13023         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13024         instead of val.
13025         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13026         instead of is_static.  Adjust call to allocate_and_init.
13027         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13028         struct dtv_pointer instead of val.
13030 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13032         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13033         (MALLOC_ALIGN_MASK): Move ...
13034         * malloc/malloc-internal.h: ... to here.
13035         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13037 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13039         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13040         (UDP_ENCAP_GTP1U): Likewise.
13042         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13043         (PF_MAX): Update value.
13044         (AF_QIPCRTR): New macro.
13046 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13048         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13049         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13050         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13052         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13053         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13054         s_truncf-vis3, s_trunc-vis3.
13055         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13056         (CFLAGS-s_ceil-vis3.c): Likewise.
13057         (CFLAGS-s_floorf-vis3.c): Likewise.
13058         (CFLAGS-s_floor-vis3.c): Likewise.
13059         (CFLAGS-s_truncf-vis3.c): Likewise.
13060         (CFLAGS-s_trunc-vis3.c): Likewise.
13061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13069         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13070         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13071         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13072         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13074 2016-08-02  David S. Miller  <davem@davemloft.net>
13076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13077         (__nearbyint_vis3): Don't check for sNaN before float register is
13078         loaded with the incoming argument.
13079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13080         (__nearbyintf_vis3): Likewise.
13081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13082         Likewise.
13083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13084         Likewise.
13086         * string/test-strncmp.c (do_test_limit): Make sure the test data
13087         stream is aligned as required for the type "CHAR".
13088         (do_test): Likewise.
13090 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13092         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13093         by beq instructions jumping to the end of the function.
13094         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13095         clobber list. Use "i" constraint instead of "X".
13096         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13097         of "X".
13099 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13101         * bits/libc-header-start.h: New file.
13102         * Makefile (headers): Add bits/libc-header-start.h.
13103         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13104         (__GLIBC_USE): New macro.
13105         * libio/stdio.h: Define
13106         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13107         <bits/libc-header-start.h> instead of including <features.h>.
13108         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13109         (open_memstream): Likewise.
13110         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13111         (__asprintf): Likewise.
13112         (asprintf): Likewise.
13113         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13114         (getdelim): Likewise.
13115         (getline): Likewise.
13116         * string/string.h: Define
13117         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13118         <bits/libc-header-start.h> instead of including <features.h>.
13119         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13120         (strndup): Likewise.
13121         * wcsmbs/wchar.h: Define
13122         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13123         <bits/libc-header-start.h> instead of including <features.h>.
13124         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13125         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13127 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13129         Support linking against compatibility symbols, for use in tests.
13130         * include/libc-symbols.h (symbol_version_reference): New macro.
13131         (symbol_version): Use it.
13132         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13133         (compat_symbol): Use compat_symbol_reference.
13134         (compat_symbol_1, compat_symbol_2): Remove.
13135         (compat_symbol_reference, compat_symbol_reference_1)
13136         (compat_symbol_reference_2): New macro.  Use
13137         symbol_version_reference.
13139 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13141         [BZ #19469]
13142         * malloc/Makefile (CPPFLAGS): Compile tests with
13143         -DTEST_NO_MALLOPT.
13144         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13146 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13148         [BZ #20033]
13149         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13150         finite version.
13151         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13153         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13154         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13155         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13156         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13157         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13159         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13162         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13163         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13165         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13166         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13167         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13168         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13169         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13170         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13171         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13172         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13173         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13174         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13175         in zero power.
13177 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13179         [BZ #20370]
13180         * malloc/arena.c (get_free_list): Update comment.  Assert that
13181         arenas on the free list have no attached threads.
13182         (remove_from_free_list): New function.
13183         (reused_arena): Call it.
13185 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13187         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13188         when it is a NaN.
13189         [_IEEE_FP_INEXACT] Remove.
13190         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13191         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13192         when it is a NaN.
13193         [_IEEE_FP_INEXACT] Remove.
13194         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13195         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13196         when it is a NaN.
13197         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13198         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13199         when its absolute value is greater than 0x1.0p52.
13200         [_IEEE_FP_INEXACT] Remove.
13201         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13202         when its absolute value is greater than 0x1.0p23.
13203         [_IEEE_FP_INEXACT] Remove.
13205 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13207         * version.h (RELEASE): Set to "development"
13208         (VERSION): Set to 2.24.90.
13209         * NEWS: Add 2.25 section.
13211         * version.h (RELEASE): Set to "stable"
13212         (VERSION): Set to 2.24.
13213         * include/features.h (__GLIBC_MINOR__): Set to 24.
13215         * NEWS: Add 2.24 fixed bugs.
13216         * po/libc.pot: Regenerate.
13218 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13221         [$(subdir) = math] (libm-sysdep_routines): Remove.
13222         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13223         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13224         s_truncf-vis3, s_trunc-vis3.
13225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13227         file.
13228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13261         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13262         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13263         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13264         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13265         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13266         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13267         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13268         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13269         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13270         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13272 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13274         [BZ #20384]
13275         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13276         test-double-libmvec-sincos-avx-main.o,
13277         test-double-libmvec-sincos-avx2-main.o,
13278         test-double-libmvec-sincos-main.o,
13279         test-float-libmvec-sincosf-avx-main.o,
13280         test-float-libmvec-sincosf-avx2-main.o and
13281         test-float-libmvec-sincosf-main.o.
13282         test-float-libmvec-sincosf-avx512-main.o.
13283         ($(objpfx)test-double-libmvec-sincos): Also link with
13284         $(objpfx)test-double-libmvec-sincos-main.o.
13285         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13286         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13287         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13288         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13289         ($(objpfx)test-float-libmvec-sincosf): Also link with
13290         $(objpfx)test-float-libmvec-sincosf-main.o.
13291         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13292         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13293         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13294         test-double-libmvec-sincos-avx512-main.o and
13295         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13296         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13297         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13298         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13299         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13300         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13301         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13302         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13303         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13304         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13305         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13306         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13307         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13308         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13309         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13310         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13311         -DREQUIRE_AVX2.
13312         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13313         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13314         -DREQUIRE_AVX512F.
13315         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13316         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13317         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13318         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13319         file.
13320         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13321         Likewise.
13322         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13323         Likewise.
13324         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13325         Likewise.
13326         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13327         Likewise.
13328         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13329         Likewise.
13330         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13331         Likewise.
13332         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13333         Likewise.
13335 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13337         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13339 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13341         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13342         and typo in a comment about AT_HWCAP entry.
13344 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13346         * sysdeps/aarch64/libm-test-ulps: Updated.
13348 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13350         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13351         of r13 as it is not restored in mvcle case.
13353 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13355         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13356         Rename "ret" to "__ret".
13357         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13358         inline_syscall5, inline_syscall6): Likewise.
13360 2016-07-19   Will Newton  <will.newton@gmail.com>
13362         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13363         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13364         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13365         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13366         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13368 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13370         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13371         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13372         -mfpmath=387 with $(rtld-CFLAGS).
13373         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13374         $(rtld-CFLAGS).
13376 2016-07-18   Ross Burton  <ross.burton@intel.com>
13377              Khem Raj  <raj.khem@gmail.com>
13379         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13380         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13381         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13382         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13383         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13384         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13385         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13386         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13387         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13388         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13389         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13390         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13391         R_METAG_TLS_DTPOFF): New.
13393 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13394             Matt Clay  <mclay@lycos.com>
13396         [BZ #20357]
13397         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13398         to call __mpsin/__mpcos and to negate values.
13399         * math/auto-libm-test-in: Add test.
13400         * math/auto-libm-test-out: Regenerate.
13402 2016-07-18  Zack Weinberg  <zackw@panix.com>
13404         * grp/Makefile: Don't install the internal header grp-merge.h.
13406 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13408         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13410 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13412         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13414 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13416         [BZ #15368]
13417         * sysdeps/unix/sysv/linux/nptl-signals.h
13418         (__nptl_clear_internal_signals): New function.
13419         (__libc_signal_block_all): Likewise.
13420         (__libc_signal_block_app): Likewise.
13421         (__libc_signal_restore_set): Likewise.
13422         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13423         implementation.
13424         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13425         the cached pid/tid value in pthread structure.
13427 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13429         [BZ #20347]
13430         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13432 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13434         [BZ #20348]
13435         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13436         preadv64, pwrite64 and pwritev64.
13438 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13440         [BZ #20350]
13441         * posix/tst-preadwrite.c: Renamed to ...
13442         * posix/tst-preadwrite-common.c: This.
13443         (PREAD): Removed.
13444         (PWRITE): Likewise.
13445         (STRINGIFY): Likewise.
13446         (STRINGIFY2): Likewise.
13447         (do_prepare): Make it static and remove function arguments.
13448         (do_test): Likewise.
13449         (PREPARE): Updated.
13450         (TEST_FUNCTION): New.
13451         (name): Make it static.
13452         (fd): Likewise.
13453         (do_prepare): Use create_temp_file.
13454         (do_test): Renamed to ...
13455         (do_test_with_offset): This.  Make it static and accept offset.
13456         Properly check return value of PWRITE and PREAD.  Return bytes
13457         read.  Don't close fd nor unlink name.
13458         * posix/tst-preadwrite.c: Rewrite.
13459         * posix/tst-preadwrite64.c: Likewise.
13461 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13463         [BZ #20309]
13464         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13465         -mtls-dialect=gnu2 works.
13466         * configure: Regenerated.
13467         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13468         (tests): Add tst-gnu2-tls1.
13469         (modules-names): Add tst-gnu2-tls1mod.
13470         ($(objpfx)tst-gnu2-tls1): New.
13471         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13472         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13473         * elf/tst-gnu2-tls1.c: New file.
13474         * elf/tst-gnu2-tls1mod.c: Likewise.
13475         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13476         bytes for push in the PLT entry to align the stack.
13478 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13480         [BZ #20349]
13481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13483 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13485         [BZ #18707]
13486         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13487         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13489 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13491         * sysdeps/unix/sysv/linux/sysdep.h
13492         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13493         guards.
13494         * misc/tst-preadvwritev-common.c: New file.
13495         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13496         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13497         a check for files larger than 2GB.
13499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13500         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13501         * sysdeps/unix/sysv/linux/pread.c
13502         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13503         __OFF_T_MATCHES_OFF64_T.
13504         * sysdeps/unix/sysv/linux/pread64.c
13505         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13506         * sysdeps/unix/sysv/linux/preadv.c
13507         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13508         * sysdeps/unix/sysv/linux/preadv64.c
13509         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13510         * sysdeps/unix/sysv/linux/pwrite.c
13511         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13512         * sysdeps/unix/sysv/linux/pwrite64.c
13513         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13514         * sysdeps/unix/sysv/linux/pwritev.c
13515         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13516         * sysdeps/unix/sysv/linux/pwritev64.c
13517         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13519 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13522         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13524 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13526         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13528 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13530         [BZ #20240]
13531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13532         (CFLAGS-s_modf-ppc32.c): New variable.
13533         (CFLAGS-s_modff-ppc32.c): Likewise.
13534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13535         (CFLAGS-s_modf-ppc64.c): Likewise.
13536         (CFLAGS-s_modff-ppc64.c): Likewise.
13538 2016-07-07  Andreas Schwab  <schwab@suse.de>
13540         [BZ #20263]
13541         * nptl/tst-robust10.c: New test.
13542         * nptl/Makefile (tests): Add tst-robust10.
13544 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13546         [BZ #20263]
13547         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13549 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13551         * sysdeps/s390/linkmap.h (struct link_map_machine):
13552         Remove member gotplt and add member jmprel.
13553         * sysdeps/s390/s390-32/dl-machine.h
13554         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13555         instead of gotplt with &got[3].
13556         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13557         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13559 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13561         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13563 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13565         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13566         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13567         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13568         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13569         * libio/vtables.c (_IO_vtable_check)
13570         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13571         * libio/libioP.h (IO_set_accept_foreign_vtables)
13572         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13574 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13576         [BZ #20314]
13577         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13578         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13579         $(common-objpfx)cmath.
13580         ($(common-objpfx)cstdlib): New target.
13581         ($(common-objpfx)cmath): Likewise.
13583 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13585         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13587 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13589         [BZ #20327]
13590         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13591         are not part of the string.
13593 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13595         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13596         * nptl/tst-cancel4-common.h (fifoname): New variable.
13597         (fifofd): Likewise.
13598         (cl_fifo): New function.
13599         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13600         SIGINT.
13601         (tf_open): Add early cancel test.
13603 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13605         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13607 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13609         * sysdeps/generic/ldsodefs.h
13610         (dl_symbol_visibility_binds_local_p): New inline function.
13611         * elf/dl-addr.c (determine_info): Treat hidden and internal
13612         symbols as local.
13613         * elf/dl-lookup.c (do_lookup_x): Likewise.
13614         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13616 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13618         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13619         invalid exception for a sNaN input.
13620         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13621         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13622         (__nearbyint_vis3): Likewise
13623         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13624         (__nearbyintf_vis3): Likewise
13625         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13626         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13627         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13628         Likewise.
13629         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13630         Likewise.
13632 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13634         [BZ #20139]
13635         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13636         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13637         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13638         2.24 or above.
13639         (HAVE_AVX512_ASM_SUPPORT): Removed.
13640         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13641         * sysdeps/x86_64/configure: Regenerated.
13642         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13643         check unconditional.
13644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13645         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13647         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13648         Likewise.
13649         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13650         Likewise.
13651         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13652         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13653         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13654         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13655         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13656         Likewise.
13657         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13658         Likewise.
13659         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13660         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13662         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13664         Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13666         Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13668         Likewise.
13669         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13670         Likewise.
13671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13672         Likewise.
13673         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13674         Likewise.
13675         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13676         Likewise.
13677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13678         Likewise.
13679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13680         Likewise.
13681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13682         Likewise.
13683         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13684         Likewise.
13686 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13688         [BZ #20024]
13689         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13691         of this implementation of vector function.
13692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13695         Likewise.
13696         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13697         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13698         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13699         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13700         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13701         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13702         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13703         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13704         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13705         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13706         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13707         for testing vector sincos with fixed ABI.
13708         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13709         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13710         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13711         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13712         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13713         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13714         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13715         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13716         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13717         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13718         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13719         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13720         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13721         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13722         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13723         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13725 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13727         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13729 2016-06-30  Anton Blanchard  <anton@samba.org>
13731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13732         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13733         s_sinf-ppc64.
13734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13737         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13739 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13743         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13744         e_expf-ppc64.
13745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13747         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13748         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13750 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13752         [BZ #20277]
13753         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13754         when SHARED is defined.
13756 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13758         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13759         (index_arch_Prefer_ERMS): Likewise.
13760         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13761         __memcpy_erms for Prefer_ERMS.
13762         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13763         (__memmove_erms): Enabled for libc.a.
13764         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13765         __memmove_erms or Prefer_ERMS.
13766         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13767         __mempcpy_erms for Prefer_ERMS.
13768         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13769         __memset_erms for Prefer_ERMS.
13771 2016-06-30  Andreas Schwab  <schwab@suse.de>
13773         [BZ #20262]
13774         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13775         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13776         of memory.
13778 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13780         [BZ #18645]
13781         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13782         (test-extras): Add tst-cleanupx4aux.
13783         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13784         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13785         tst-cleanupx4aux.o.
13786         * nptl/tst-cleanupx4aux.c: New file.
13788 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13790         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13792 2016-06-29  Andreas Schwab  <schwab@suse.de>
13794         [BZ #20260]
13795         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13796         address before the beginning of the string as an integer to avoid
13797         array-bounds warning.
13799 2016-06-28  Richard Henderson  <rth@redhat.com>
13801         * elf/elf.h (EM_BPF): New.
13802         (EM_NUM): Update.
13803         (R_BPF_NONE, R_BPF_MAP_FD): New.
13805         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13806         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13807         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13808         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13809         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13810         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13811         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13812         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13813         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13814         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13815         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13816         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13817         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13818         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13819         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13820         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13821         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13822         (EM_NUM): Update.
13824 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         [BZ #18960]
13827         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13828         Set _nl_current_LC_CATEGORY_used to two instead of one.
13830 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13832         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13833         (do_test): ... this.
13834         (TEST_FUNCTION): New macro.
13835          Include test-skeleton.c.
13836         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13837         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13839 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #15479]
13842         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13843         floating-point environment rather than just control word.
13844         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13845         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13846         floating-point environment, with "invalid" exceptions merged in,
13847         rather than just control word.
13848         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13849         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13850         "inexact" exceptions.
13852         [BZ #15479]
13853         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13854         floating-point environment rather than just control word.
13855         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13856         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13857         floating-point environment, with "invalid" exceptions merged in,
13858         rather than just control word.
13859         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13860         * math/libm-test.inc (floor_test_data): Do not allow spurious
13861         "inexact" exceptions.
13863         [BZ #15479]
13864         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13865         floating-point environment rather than just control word.
13866         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13867         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13868         floating-point environment, with "invalid" exceptions merged in,
13869         rather than just control word.
13870         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13871         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13872         "inexact" exceptions.
13874 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13876         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13877         __libc_vfork.
13878         (__vfork) [IS_IN (libc)]: Remove alias.
13879         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13880         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13881         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13883 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13885         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13886         of atomic_compare_and_exchange_bool_rel.
13887         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13888         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13889         catomic_compare_and_exchange_bool_rel): Remove.
13890         * sysdeps/aarch64/atomic-machine.h
13891         (atomic_compare_and_exchange_bool_rel): Likewise.
13892         * sysdeps/alpha/atomic-machine.h
13893         (atomic_compare_and_exchange_bool_rel): Likewise.
13894         * sysdeps/arm/atomic-machine.h
13895         (atomic_compare_and_exchange_bool_rel): Likewise.
13896         * sysdeps/mips/atomic-machine.h
13897         (atomic_compare_and_exchange_bool_rel): Likewise.
13898         * sysdeps/microblaze/atomic-machine.h
13899         ( __arch_compare_and_exchange_bool_8_rel,
13900         __arch_compare_and_exchange_bool_16_rel): Likewise.
13901         * sysdeps/powerpc/atomic-machine.h
13902         ( __arch_compare_and_exchange_bool_8_rel,
13903         __arch_compare_and_exchange_bool_16_rel): Likewise.
13904         * sysdeps/powerpc/powerpc32/atomic-machine.h
13905         ( __arch_compare_and_exchange_bool_32_rel,
13906         __arch_compare_and_exchange_bool_64_rel): Likewise.
13907         * sysdeps/powerpc/powerpc64/atomic-machine.h
13908         ( __arch_compare_and_exchange_bool_32_rel,
13909         __arch_compare_and_exchange_bool_64_rel): Likewise.
13910         * sysdeps/tile/atomic-machine.h
13911         (atomic_compare_and_exchange_bool_rel): Likewise.
13913 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13915         [BZ #20296]
13916         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13917         when either argument is a NaN.
13918         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13919         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13921         * math/libm-test.inc (snan_value_ld): New macro.
13922         (isgreater_test_data): Add sNaN tests.
13923         (isgreaterequal_test_data): Likewise.
13924         (isless_test_data): Likewise.
13925         (islessequal_test_data): Likewise.
13926         (islessgreater_test_data): Likewise.
13927         (isunordered_test_data): Likewise.
13928         (nextafter_test_data): Likewise.
13929         (nexttoward_test_data): Likewise.
13930         (remainder_test_data): Likewise.
13931         (remquo_test_data): Likewise.
13932         (significand_test_data): Likewise.
13933         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13935 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13937         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13938         environment macros are defined.
13939         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13941 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13943         [BZ #20191]
13944         Implement vtable verification in libio.
13945         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13946         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13947         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13948         _IO_new_file_init_internal instead of _IO_file_init.
13949         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13950         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13951         * libio/Makefile (routines): Add vtables.
13952         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13953         (_IO_init): Remove, not for internal use.
13954         (_IO_init_internal): Declare, internal replacement for _IO_init.
13955         (_IO_file_init): Remove, not for internal use.
13956         (_IO_new_file_init): Remove, not for internal use.
13957         (_IO_new_file_init_internal): Declare, internal replacement for
13958         _IO_new_file_init.
13959         (_IO_old_file_init): Remove, not for internal use.
13960         (_IO_old_file_init_internal): Declare, internal replacement for
13961         _IO_old_file_init.
13962         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13963         internal use.
13964         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13965         Declare.
13966         (libio_vtable): New macro.
13967         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13968         functions.
13969         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13970         _IO_new_file_init.
13971         (_IO_new_file_init): New externally visible wrapper which disables
13972         vtable verification.
13973         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13974         Define as vtables.
13975         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13976         (_IO_init): New externally visible wrapper which disables
13977         vtable verification.
13978         * libio/iofdopen.c (_IO_new_fdopen): Call
13979         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13980         comment.
13981         * libio/iofopen.c (__fopen_internal): Call
13982         _IO_new_file_init_internal instead of _IO_file_init.
13983         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13984         Define as vtables.
13985         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13986         _IO_new_file_init_internal instead of _IO_file_init.
13987         * libio/iopopen.c (_IO_new_popen): Likewise.
13988         (_IO_proc_jumps): Define as vtable.
13989         * libio/iovdprintf.c (_IO_vdprintf): Call
13990         _IO_new_file_init_internal instead of _IO_file_init.
13991         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13992         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13993         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13994         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13995         _IO_old_file_init.
13996         (_IO_old_file_init): New externally visible wrapper which disables
13997         vtable verification.
13998         (_IO_old_file_jumps): Define as vtable.
13999         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14000         _IO_old_file_init_internal instead of _IO_old_file_init.
14001         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14002         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14003         (_IO_old_proc_jumps): Define as vtable.
14004         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14005         Define as vtables.
14006         * libio/vtables.c: New file.
14007         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14008         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14009         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14010         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14011         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14012         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14013         instead of _IO_init.
14015 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14017         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14019 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14021         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14022         potentially unused.
14024 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14026         * test-skeleton.c (write_message): New function.
14027         * malloc/tst-mallocfork2.c (write_message): Remove.
14028         * debug/tst-longjmp_chk2.c (write_indented): New function.
14029         (write_message): Remove.
14030         (stackoverflow_handler): Call write_indented.
14032 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14034         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14035         "inexact" exceptions after fnstenv.
14036         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14037         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14038         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14040 2015-06-22  Zack Weinberg  <zackw@panix.com>
14042         * sysdeps/generic/bits/hwcap.h: Moved to ...
14043         * bits/hwcap.h: Here.
14045 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14047         * sysdeps/aarch64/memcpy.S (memcpy):
14048         Further tuning for performance.
14050 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14052         [BZ #20284]
14053         * malloc/arena.c (reused_arena): Do not return NULL if we start
14054         out with a non-corrupted arena.
14056 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14058         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14059         * misc/tst-preadvwritev.c: New file.
14060         * misc/tst-preadvwritev64.c: Likewise.
14061         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14062         usage.
14063         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14064         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14065         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14066         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14068 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14070         [BZ #19654]
14071         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14072         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14073         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14074         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14075         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14076         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14077         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14078         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14079         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14080         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14081         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14082         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14083         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14084         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14085         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14086         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14087         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14088         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14089         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14090         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14091         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14092         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14093         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14094         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14095         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14096         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14098 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14100         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14101         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14103 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14105         * sysdeps/aarch64/memcpy.S (memcpy):
14106         Rewrite of optimized memcpy and memmove.
14107         * sysdeps/aarch64/memmove.S (memmove): Remove
14108         memmove code (merged into memcpy.S).
14110 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14112         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14113         * sysdeps/generic/dl-dtv.h: New file.
14114         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14115         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14116         (dtv_t): Remove.
14117         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14118         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14119         (dtv_t): Remove.
14120         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14121         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14122         (dtv_t): Remove.
14123         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14124         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14125         (dtv_t): Remove.
14126         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14127         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14128         (dtv_t): Remove.
14129         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14130         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14131         (dtv_t): Remove.
14132         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14133         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14134         (dtv_t): Remove.
14135         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14136         (dtv_t): Remove.
14137         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14138         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14139         (dtv_t): Remove.
14140         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14141         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14142         (dtv_t): Remove.
14143         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14144         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14145         (dtv_t): Remove.
14146         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14147         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14148         (dtv_t): Remove.
14149         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14150         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14151         (dtv_t): Remove.
14152         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14153         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14154         (dtv_t): Remove.
14155         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14156         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14157         (dtv_t): Remove.
14158         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14159         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14160         (dtv_t): Remove.
14162 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14164         Revert symbol poisoning of  __malloc_initialize_hook.
14165         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14166         poisoning.
14167         * malloc/Makefile: Remove un-poisoning.
14168         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14169         instead of old__malloc_initialize_hook.
14170         * malloc/malloc-hooks.h: Likewise.
14171         * malloc/malloc.c: Likewise.
14172         * malloc/mcheck-init.c: Likewise.
14174 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14176         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14178 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14180         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14181         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14182         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14183         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14185 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14187         * NEWS: Mention addition of nextup and nextdown.
14188         * manual/arith.texi: Document nextup and nextdown.
14189         * manual/libm-err-tab.pl: Add nextup and nextdown.
14190         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14191         * math/Versions (libm): Add GLIBC_2.24.
14192         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14193         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14194         Add new test.
14195         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14196         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14197         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14198         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14199         (nextup_test_data): Likewise.
14200         (nextdown_test_data): Likewise.
14201         * math/s_nextdown.c: New file.
14202         * math/s_nextdownf.c: Likewise.
14203         * math/s_nextdownl.c: Likewise.
14204         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14205         F(nextup): New function.
14206         F(nextdown): Likewise.
14207         * math/tgmath.h: Add nextup and nextdown.
14208         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14209         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14210         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14211         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14212         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14213         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14214         Add nextup and nextdown.
14215         (CFLAGS-nldbl-nextup.c): New variable.
14216         (CFLAGS-nldbl-nextdown.c): Likewise.
14217         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14218         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14219         * sysdeps/nacl/libm.abilist: Update.
14220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14221         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14222         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14225         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14226         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14228         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14229         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14231         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14234         Likewise.
14235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14237         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14238         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14239         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14241         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14244         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14245         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14246         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14247         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14249 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14251         * manual/pattern.texi: Fix typos & grammar errors.
14253 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14255         * manual/search.texi: Fix typos & grammar errors.
14257 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14259         * manual/message.texi: Fix typos & grammar errors.
14261 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14263         * manual/contrib.texi: Fix spelling typos.
14264         * manual/crypt.texi: Likewise.
14265         * manual/filesys.texi: Likewise.
14266         * manual/locale.texi: Likewise.
14267         * manual/message.texi: Likewise.
14268         * manual/nss.texi: Likewise.
14269         * manual/string.texi: Likewise.
14271 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14273         * manual/locale.texi: Fix typos & grammar errors.
14275 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14277         * manual/charset.texi: Fix typos & grammar errors.
14279 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14281         * manual/string.texi: Fix typos.
14283 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14285         * manual/ctype.texi: Fix typos.
14287 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14289         * manual/memory.texi: Fix various typos & grammar errors.
14291 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14293         [BZ #20255]
14294         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14295         * math/libm-test.inc (fdim_test_data): Add another test.
14297         [BZ #6796]
14298         [BZ #20255]
14299         [BZ #20256]
14300         * math/s_fdim.c: Include <math_private.h>.
14301         (__fdim): Use math_narrow_eval on result.
14302         * math/s_fdimf.c: Include <math_private.h>.
14303         (__fdimf): Use math_narrow_eval on result.
14304         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14305         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14306         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14307         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14308         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14309         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14310         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14311         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14312         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14313         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14314         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14315         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14316         overflow.  Add sNaN tests.
14318         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14319         fpclassify.
14320         * math/s_fdimf.c (__fdimf): Likewise.
14321         * math/s_fdiml.c (__fdiml): Likewise.
14323 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14325         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14326         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14328         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14329         ifunc'ed strcasecmp/strncasecmp.
14330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14331         [EALIGN]: Removed.
14332         [END]: Likewise.
14333         [__strcasecmp]: Define instead of the above to control symbol name.
14334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14335         for __strcasecmp_power8.
14336         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14337         for __strncasecmp_power8.
14338         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14339         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14340         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14341         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14342         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14343         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14345 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14347         [BZ #20252]
14348         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14349         arguments when second argument is a NaN.
14350         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14351         qNaN tests.
14353         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14354         (conj_test_data): Likewise.
14355         (copysign_test_data): Likewise.
14356         (creal_test_data): Likewise.
14357         (fma_test_data): Likewise.
14358         (fmod_test_data): Likewise.
14360         [BZ #20250]
14361         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14362         itself.
14363         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14364         zero input to itself.
14365         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14366         Likewise.
14367         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14368         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14369         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14370         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14371         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14373 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14375         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14376         * nptl/tst-cancel4-common.c: New file.
14377         * nptl/tst-cancel4-common.h: Likewise.
14378         * nptl/tst-cancel4.c: Move common definitions to
14379         tst-cancel4-common.{c,h} file.
14380         * nptl/tst-cancel4_1.c: New test.
14381         * nptl/tst-cancel4_2.c: New test.
14383 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14385         [BZ #20248]
14386         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14387         (write_message): New function.
14388         (stackoverflow_handler): Call it instead of printf, to avoid
14389         excessive stack usage by printf.
14390         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14392 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14394         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14395         (prio_inherit_missing): Remove define.
14396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14397         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14399         Likewise.
14400         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14401         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14403         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14404         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14405         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14407 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14409         [BZ #19670]
14410         [BZ #19672]
14412         * io/test-lfs.c (do_prepare): Use xmalloc.
14413         * io/tst-fcntl.c (do_prepare): Likewise.
14414         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14415         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14416         * login/tst-utmp.c (do_prepare): Likewise.
14417         * posix/tst-exec.c (do_prepare): Likewise.
14418         * posix/tst-pathconf.c (prepare): Likewise.
14419         * posix/tst-spawn.c (do_prepare): Likewise.
14420         * posix/tst-truncate.c (do_prepare): Likewise.
14421         * rt/tst-aio.c (do_prepare): Likewise.
14422         * rt/tst-aio64.c (do_prepare): Likewise.
14424 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14426         [BZ #20237]
14427         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14428         (get*ent): Set entidx to NULL during initialization.  If entidx is
14429         NULL, start iteration from the beginning.
14431 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14433         * malloc/malloc.c (musable): Return correct size for dumped fake
14434         mmapped chunk.
14436 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14438         [BZ #20222]
14439         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14440         (_IO_cookie_write): Likewise.
14441         (_IO_cookie_seek): Likewise.
14442         (_IO_cookie_close): Likewise.
14443         (_IO_old_cookie_seek): Likewise.
14444         (set_callbacks): New function.
14445         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14447 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14449         * locale/programs/localedef.c (oldstyle_tables): Remove.
14450         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14452 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14454         [BZ #20240]
14455         * math/Makefile (CFLAGS-s_modf.c): New variable.
14456         (CFLAGS-s_modff.c): Likewise.
14457         (CFLAGS-s_modfl.c): Likewise.
14458         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14460 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14462         [BZ #20215]
14463         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14464         [!__GNUC_PREREQ (3,2)]: Likewise.
14466 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14468         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14469         (msghdr.msg_controllen): Likewise.
14470         (cmsghdr.cmsg_len): Likewise.
14471         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14472         ptw-oldsendmsg.
14473         (CFLAGS-oldrecvmsg.c): Remove rule.
14474         (CFLAGS-oldsendmsg.c): Likewise.
14475         (CFLAGS-recvmsg.c): Add rule.
14476         (CFLAGS-sendmsg.c): Likewise.
14477         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14478         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14479         (CFLAGS-recvmsg.c): Remove rule.
14480         (CFLAGS-sendmsg.c): Likewise.
14481         (CFLAGS-oldrecvmsg.c): Likewise.
14482         (CFLAGS-oldsendmsg.c): Likewise.
14483         (CFLAGS-recvmmsg.c): Likewise.
14484         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14485         to kernel defined interfaces.
14486         (msghdr.msg_controllen): Likewise.
14487         (cmsghdr.cmsg_len): Likewise.
14488         (msghdr.__glibc_reserved1): Remove member.
14489         (msghdr.__glibc_reserved2): Likewise.
14490         (cmsghdr.__glibc_reserved1): Likewise.
14491         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14492         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14493         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14494         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14495         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14496         version.
14497         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14498         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14499         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14500         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14501         Remove recvmsg and sendmsg.
14502         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14503         Likewise.
14504         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14505         Likewise.
14506         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14507         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14508         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14509         Likewise.
14510         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14511         Likewise.
14512         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14513         [libc] (GLIBC_2.24): Likewise.
14514         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14515         Likewise.
14516         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14517         Likewise.
14518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14519         [libc] (GLIBC_2.24): Likewise.
14520         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14521         Likewise.
14522         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14523         Likewise.
14524         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14525         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14526         Likewise.
14527         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14528         Likewise.
14529         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14532         Likewise.
14533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14534         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14535         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14536         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14537         version for {recv,send,recm,sendm}msg.
14538         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14539         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14540         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14541         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14542         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14543         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14544         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14545         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14546         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14547         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14548         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14549         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14551         Likewise.
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14553         Likewise.
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14568 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14570         [BZ #19564]
14571         Remove __malloc_initialize_hook from the API.
14572         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14573         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14574         #pragma GCC poison.
14575         * malloc/malloc-hooks.h: New file.
14576         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14577         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14578         (old__malloc_initialize_hook): Rename from
14579         __malloc_initialize_hook to evade poisoning.  Turn into compat
14580         symbol.
14581         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14582         __malloc_initialize_hook.
14583         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14584         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14585         * manual/memory.texi (Hooks for Malloc): Remove
14586         __malloc_initialize_hook.  Adjust hook example.
14588 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14590         [BZ #20235]
14591         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14592         itself.
14593         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14594         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14596         [BZ #20234]
14597         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14598         infinity or NaN input to itself.
14600         [BZ #20233]
14601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14602         to itself.
14604         [BZ #20232]
14605         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14606         itself.
14608 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14610         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14611         __libc_start_main via GOT.
14613 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14615         * sysdeps/x86_64/memcopy.h: New file.
14616         * sysdeps/x86_64/wordcopy.c: Likewise.
14618 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14620         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14621         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14622         <cstdlib>.
14623         (optimization_barrier): New.
14624         (do_test): Use it.  Call quick_exit in the global namespace.
14625         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14626         instead of <cstdlib>, <thread>.
14627         (optimization_barrier): New.
14628         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14629         Call quick_exit in the global namespace.
14630         (do_test): Call optimization_barrier.  Use pthread_create,
14631         pthread_join instead of std::thread.
14633 2016-06-09  Andreas Schwab  <schwab@suse.de>
14635         [BZ #19755]
14636         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14637         new entries in auto-propagate mode.
14638         * nscd/grpcache.c (cache_addgr): Likewise.
14640 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14642         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14643         New functions.
14644         (add_temp_file): Use them.
14646 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14648         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14650 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14652         [BZ #20229]
14653         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14654         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14655         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14657         [BZ #20228]
14658         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14659         itself.
14660         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14661         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14663         [BZ #20227]
14664         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14665         itself.
14666         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14667         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14668         * math/libm-test.inc (log_test_data): Add sNaN tests.
14670         [BZ #20226]
14671         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14672         itself.
14673         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14674         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14675         (exp10_test_data): Likewise.
14676         (expm1_test_data): Likewise.
14678         [BZ #20225]
14679         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14680         itself.
14681         * math/s_ldexpf.c (__ldexpf): Likewise.
14682         * math/s_ldexpl.c (__ldexpl): Likewise.
14683         * math/w_scalbln.c (__w_scalbln): Likewise.
14684         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14685         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14686         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14687         (scalbln_test_data): Likewise.
14689         [BZ #20224]
14690         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14691         argument to itself.
14692         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14694 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14696         [BZ #19776]
14697         * sysdeps/x86_64/memcpy.S: Make it dummy.
14698         * sysdeps/x86_64/mempcpy.S: Likewise.
14699         * sysdeps/x86_64/memmove.S: New file.
14700         * sysdeps/x86_64/memmove_chk.S: Likewise.
14701         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14702         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14703         * sysdeps/x86_64/memmove.c: Removed.
14704         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14705         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14706         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14707         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14708         Likewise.
14709         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14710         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14712         memcpy-sse2-unaligned, memmove-avx-unaligned,
14713         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14715         (__libc_ifunc_impl_list): Replace
14716         __memmove_chk_avx512_unaligned_2 with
14717         __memmove_chk_avx512_unaligned.  Remove
14718         __memmove_chk_avx_unaligned_2.  Replace
14719         __memmove_chk_sse2_unaligned_2 with
14720         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14721         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14722         with __memmove_avx512_unaligned.  Replace
14723         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14724         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14725         with __memcpy_chk_avx512_unaligned.  Remove
14726         __memcpy_chk_avx_unaligned_2.  Replace
14727         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14728         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14729         Replace __memcpy_avx512_unaligned_2 with
14730         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14731         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14732         with __mempcpy_chk_avx512_unaligned.  Remove
14733         __mempcpy_chk_avx_unaligned_2.  Replace
14734         __mempcpy_chk_sse2_unaligned_2 with
14735         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14736         Replace __mempcpy_avx512_unaligned_2 with
14737         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14738         Replace __mempcpy_sse2_unaligned_2 with
14739         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14740         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14741         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14742         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14743         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14744         (ENTRY): Removed.
14745         (END): Likewise.
14746         (ENTRY_CHK): Likewise.
14747         (libc_hidden_builtin_def): Likewise.
14748         Don't include ../memcpy.S.
14749         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14750         __memcpy_chk_avx512_unaligned_erms and
14751         __memcpy_chk_avx512_unaligned.  Use
14752         __memcpy_chk_avx_unaligned_erms and
14753         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14754         Default to __memcpy_chk_sse2_unaligned.
14755         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14756         Change function suffix from unaligned_2 to unaligned.
14757         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14758         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14759         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14760         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14761         (ENTRY): Removed.
14762         (END): Likewise.
14763         (ENTRY_CHK): Likewise.
14764         (libc_hidden_builtin_def): Likewise.
14765         Don't include ../mempcpy.S.
14766         (mempcpy): New.  Add a weak alias.
14767         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14768         __mempcpy_chk_avx512_unaligned_erms and
14769         __mempcpy_chk_avx512_unaligned.  Use
14770         __mempcpy_chk_avx_unaligned_erms and
14771         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14772         Default to __mempcpy_chk_sse2_unaligned.
14774 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14776         [BZ #19881]
14777         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14778         into ...
14779         * sysdeps/x86_64/memset.S: This.
14780         (__bzero): Removed.
14781         (__memset_tail): Likewise.
14782         (__memset_chk): Likewise.
14783         (memset): Likewise.
14784         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14785         defined.
14786         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14787         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14788         (__memset_zero_constant_len_parameter): Check SHARED instead of
14789         PIC.
14790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14791         memset-avx2 and memset-sse2-unaligned-erms.
14792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14793         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14794         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14795         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14796         (__bzero): Enabled.
14797         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14798         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14799         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14800         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14801         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14802         (memset): Removed.
14803         (__memset_chk): Likewise.
14804         (MEMSET_SYMBOL): New.
14805         (libc_hidden_builtin_def): Replace __memset_sse2 with
14806         __memset_sse2_unaligned.
14807         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14808         __memset_chk_sse2 and __memset_chk_avx2 with
14809         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14810         Use __memset_chk_sse2_unaligned_erms or
14811         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14812         __memset_chk_avx512_unaligned_erms and
14813         __memset_chk_avx512_unaligned.
14815 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14817         * math/gen-auto-libm-test.c (fp_format_desc): remove
14818         suffix member.
14819         (output_generic_value): Remove usage of suffix member,
14820         and the resulting unuse of the fp_format argument.
14821         (output_for_one_input_case): Remove unused fp_format
14822         parameter.
14824         * math/auto-libm-test-out: Regenerate.
14826         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14827         usage with TEST_COND_ibm128.
14828         (TEST_COND_flt_32): Remove.
14829         (TEST_COND_dbl_64): Remove.
14830         (TEST_COND_ldbl_96_intel): Remove.
14831         (TEST_COND_ldbl_96_m68k): Remove.
14832         (TEST_COND_ldbl_128): Remove.
14834 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14836         * auto-libm-test-in:
14837         Replace flt-32 usage with binary32.
14838         Replace dbl-64 usage with binary64.
14839         Replace ldbl-intel-96 usage with intel96.
14840         Replace ldbl-m68k-96 usage with m68k96.
14841         Replace ldbl-128ibm usage with ibm128.
14842         Replace ldbl-128 usage with binary128.
14844         * auto-libm-test-out: Regenerate.
14846 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14848         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14849         (parse_ulps): Dynamically generate type name matching
14850         string from all_floats.
14851         (get_ulps): Generate the ulps as an array instead.
14852         (output_ulps): Dynamically compose the type based
14853         on the number of supported formats, and print
14854         the indices as type specific helper macros.
14856         * math/libm-test.inc: Remove comment about CHOOSE.
14857         (ulp_data): Generate the type in libm-test-ulps.h.
14858         (ULP_IDX): New macro.
14859         (find_ulps): Update usage of max_ulp.
14861         * math/test-double-vlen2.h (CHOOSE): Remove.
14862         * math/test-double-vlen4.h (CHOOSE): Likewise.
14863         * math/test-double-vlen8.h (CHOOSE): Likewise.
14864         * math/test-float.c (CHOOSE): Likewise.
14865         * math/test-float-finite.c (CHOOSE): Likewise.
14866         * math/test-double.c (CHOOSE): Likewise.
14867         * math/test-double-finite.c (CHOOSE): Likewise.
14868         * math/test-idouble.c (CHOOSE): Likewise.
14869         * math/test-ifloat.c (CHOOSE): Likewise.
14870         * math/test-ildoubl.c (CHOOSE): Likewise.
14871         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14872         * math/test-ldouble.c (CHOOSE): Likewise.
14874         * math/test-float.h (TEST_FLOAT): Remove.
14875         * math/test-double.h (TEST_DOUBLE): Likewise.
14876         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14878 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14880         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14881         (parse_args): Strip C suffix from floating point literals
14882         typed with 'f' and wrap them with LIT().
14884         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14885         (test_ff_f_data_nexttoward): Rename to
14886         (test_fj_f_data): New struct.
14887         (nexttoward_test_data): Relabel tests as
14888         TEST_fj_f instead of TEST_ff_f.
14890 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14892         Emacs bug 23726.
14893         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14894         (__libc_realloc): Correct size computation for dumped fake mmapped
14895         chunks.
14897 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14899         [BZ #20219]
14900         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14901         to itself.
14902         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14904         [BZ #20218]
14905         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14906         to itself.
14907         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14909 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14911         [BZ #20195]
14912         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14913         check to ...
14914         (init_cpu_features): Here.
14916 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14918         [BZ #20214]
14919         * sysdeps/unix/sysv/linux/bits/in.h
14920         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14921          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14922         Define to 1.
14923         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14924          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14925         Define to 0.
14926         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14927         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14929 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14931         [BZ #20198]
14932         * stdlib/Makefile (tests): Add tst-quick_exit, and
14933         tst-thread-quick_exit.
14934         [ifeq ($(have-cxx-thread_local),yes)]
14935         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14936         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14937         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14938         (LDLIBS-tst-thread-quick_exit): Likewise.
14939         [ifneq ($(have-cxx-thread_local),yes)]
14940         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14941         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14942         If run_dtors is true call __call_tls_dtors.
14943         (exit): Call __run_exit_handlers with run_dtors set to true.
14944         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14945         definition.
14946         * stdlib/quick_exit.c (quick_exit): Remove function.
14947         (__new_quick_exit): New function.
14948         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14949         function.
14950         * stdlib/tst-quick_exit.cc: New file.
14951         * stdlib/tst-thread-quick_exit.cc: New file.
14952         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14953         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14954         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14955         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14956         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14957         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14958         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14959         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14960         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14961         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14962         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14963         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14964         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14965         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14966         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14967         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14972         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14973         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14974         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14975         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14976         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14979         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14980         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14981         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14983 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14985         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14986         a typo in comments.
14988 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14990         [BZ #20213]
14991         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14992         argument to itself.
14993         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14995 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14997         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14998         required flags.
14999         (CFLAGS-pwritev64.c): Likewise.
15000         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15002         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15003         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15004         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15005         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15006         syscall from auto-generation.
15007         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15008         [WORDSIZE == 64] (pwritev64): Remove macro.
15009         [!PWRITEV] (PWRITEV): Likewise.
15010         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15011         [!PWRITEV] (PWRITE): Likewise.
15012         [!PWRITEV] (OFF_T): Likewise.
15013         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15014         (LO_HI_LONG): Remove macro.
15015         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15016         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15017         (PWRITEV): Remove macro.
15018         (PWRITEV_REPLACEMENTE): Likewise.
15019         (PWRITE): Likewise.
15020         (OFF_T): Likewise.
15021         (pwritev64): New function.
15022         * nptl/tst-cancel4.c (tf_writev): Add test.
15024         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15025         required flags.
15026         (CFLAGS-preadv64.c): Likewise.
15027         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15029         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15030         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15031         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15032         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15033         syscall from auto-generation.
15034         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15035         [WORDSIZE == 64] (preadv64): Remove macro.
15036         [!PREADV] (PREADV): Likewise.
15037         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15038         [!PREADV] (PREAD): Likewise.
15039         [!PREADV] (OFF_T): Likewise.
15040         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15041         (LO_HI_LONG): Remove macro.
15042         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15043         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15044         (PREADV): Remove macro.
15045         (PREADV_REPLACEMENTE): Likewise.
15046         (PREAD): Likewise.
15047         (OFF_T): Likewise.
15048         (preadv64): New function.
15049         * nptl/tst-cancel4.c (tf_preadv): Add test.
15051 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15053         [BZ #20212]
15054         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15055         argument to itself.
15056         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15058 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15060         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15061         New symbol defined as libc_hidden_def.
15062         (strcasestr): Became a weak alias to __strcasestr.
15063         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15064         according to multi-arch support.  Move __stpncpy hidden
15065         definition from here to...
15066         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15067         symbol stpncpy.
15068         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15069         libc_hidden_builtin_def.
15070         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15071         memset symbol to use when multi-arch support is available.
15073 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15075         * dlfcn/tst-rec-dlopen.c: Include string.h.
15077 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15079         * manual/install.texi: Remove mention of --without-tls
15080         * INSTALL: Regenerate.
15082 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15084         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15085         Remove.
15086         (call_function, interposed_malloc_called): New variables.
15087         (malloc): New function.
15088         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15089         and clear call_function as needed.
15091 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15093         * include/wchar.h (__wmemset): Use __typeof.
15095 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15097         * include/wchar.h (__wmemset): Declare function without typeof.
15099 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #20205]
15102         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15103         exponent when incrementing negative subnormal with low mantissa
15104         word zero.
15105         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15106         Add another test.
15108 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15110         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15111         __wmemset instead of wmemset.
15113 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15115         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15116         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15117         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15118         __USE_KERNEL_IPV6_DEFS to 0.
15119         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15120         Update comment.
15122 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15124         [BZ #19861]
15125         Do not use IFUNC resolver with potentially unrelocated symbol.
15126         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15127         (DEFINE_FORK): Remove macro and inline definition.
15128         (fork_alias): Renamed from fork_ifunc.
15129         (__fork_alias): Renamed from __fork_ifunc.
15131 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15133         [BZ 19653]
15134         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15135         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15137 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15139         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15140         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15141         i386-linux-gnu).
15142         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15143         Set to no.
15144         * sysdeps/mach/hurd/configure: Refresh.
15146 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15148         [BZ #20178]
15149         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15150         on failure instead of exit.
15152 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15154         [BZ #3629]
15155         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15156         of POSIX.1-2008.
15158 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15160         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15161           Use PLT entry for calling _hurd_self_sigstate.
15163 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15165         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15166         available logical processors with SMT level type sharing L2
15167         cache for Intel processors.
15169 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15171         [BZ #20160]
15172         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15173         argument to itself before returning the result.
15174         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15175         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15176         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15178         Likewise.
15179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15180         Likewise.
15181         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15182         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15183         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15184         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15185         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15186         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15188         [BZ #20160]
15189         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15190         argument to itself before returning the result.
15191         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15192         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15193         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15194         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15195         Likewise.
15196         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15197         Likewise.
15198         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15199         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15200         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15201         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15202         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15203         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15205 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15207         * libm-test.inc: Replace usage of M_El with
15208         (lit_e): New macro.
15210 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15212         * libm-test.inc: Replace usage of M_PI_4l with
15213         (lit_pi_4_d): New macro.
15215 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15217         * libm-test.inc: Replace usage of M_PIl with
15218         (lit_pi): New macro.
15220 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15222         * libm-test.inc: Replace usage of M_PI2l with
15223         (lit_pi_2_d): New macro.
15225         * math/test-double.h (LITM): New macro.
15226         * math/test-float.h (LITM): Likewise.
15227         * math/test-ldouble.h (LITM): Likewise.
15229 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15231         * libm-test.inc (M_PI_34l): Rename to
15232         (lit_pi_3_m_4_d): New Macro.
15233         (M_PI_34_LOG10El): Rename to
15234         (lit_pi_3_m_4_ln10_m_d): New Macro.
15235         (M_PI2_LOG10El): Rename to
15236         (lit_pi_2_ln10_m_d):  New Macro.
15237         (M_PI4_LOG10El): Rename to
15238         (lit_pi_4_ln10_m_d):  New Macro.
15239         (M_PI_LOG10El): Rename to
15240         (lit_pi_ln10_d):  New Macro.
15242 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15244         [BZ #20157]
15245         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15246         determine whether to negate low half if [_ARCH_PPCGR], and integer
15247         comparison otherwise.
15248         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15249         determine whether to negate low half.
15251         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15252         (NO_TEST_INLINE_DOUBLE): Likewise.
15253         (TEST_COND_x86_64): Likewise.
15254         (TEST_COND_x86): Likewise.
15255         (M_PI_6l): Likewise.
15257 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15259         * math/libm-test.inc:
15260         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15261         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15262         (TEST_LDOUBLE): Update usage to evaluate as true if
15263         the guarded tests match the property being tested.
15264         (LDBL_MAX_EXP): Change to MAX_EXP.
15265         (LDBL_MIN_EXP): Change to MIN_EXP.
15266         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15267         nexttoward tests.
15269 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15271         * math/libm-test.inc:
15272         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15273         (TYPE_MIN): Likewise.
15274         (TYPE_TRUE_MIN): Likewise.
15275         (TYPE_MAX): Likewise.
15276         (MIN_EXP): Likewise.
15277         (MAX_EXP): Likewise.
15278         (MANT_DIG): Likewise.
15280         (FSTR_MAX): New macro.
15281         (__CONCATX): Likewise.
15282         (QTYPE_STR): Likewise.
15283         (TEST_COND_binary32): Likewise.
15284         (TEST_COND_binary64): Likewise.
15285         (TEST_COND_binary128): Likewise.
15286         (TEST_COND_ibm128): Likewise.
15287         (TEST_COND_intel96): Likewise.
15288         (TEST_COND_m68k96): Likewise.
15290         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15291         (TEST_COND_dbl_64): Likewise.
15292         (TEST_COND_ldbl_96_intel): Likewise.
15293         (TEST_COND_ldbl_96_m68k): Likewise.
15294         (TEST_COND_ldbl_128): Likewise.
15295         (TEST_COND_ldbl_128ibm): Likewise.
15297         (plus_zero): Redefine using LIT macro.
15298         (minus_zero): Likewise.
15299         (plus_infty): Redefine as (INF).
15300         (minux_infty): Redefine as (-INF).
15301         (max_value): Redefine as TYPE_MAX.
15302         (min_value): Redefine as TYPE_MIN.
15303         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15305         (print_float): Refactor to use snprintf to convert FLOAT values
15306         to string. This brings it closer to dropin replacement of strtof
15307         for the TS 18661 defined types.
15308         (update_stats): Likewise.
15309         (print_complex_function_ulps): Likewise.
15310         (print_max_error): Likewise.
15311         (print_complex_max_error): Likewise.
15312         (check_float_internal): Likewise.
15314         * math/test-float.h (PREFIX): New macro.
15315         (LIT): Likewise.
15316         (TYPE_STR): Likewise.
15317         (FTOSTR): Likewise.
15319         * math/test-double.h (PREFIX): New macro.
15320         (LIT): Likewise.
15321         (TYPE_STR): Likewise.
15322         (FTOSTR): Likewise.
15324         * math/test-ldouble.h (PREFIX): New macro.
15325         (LIT): Likewise.
15326         (TYPE_STR): Likewise.
15327         (FTOSTR): Likewise.
15329 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15331         [BZ #20156]
15332         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15333         to itself when zero or not finite.
15334         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15335         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15336         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15337         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15339 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15341         [BZ #20153]
15342         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15343         x * x + x for infinities and NaNs.
15345         [BZ #20151]
15346         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15347         argument to itself before returning result.
15348         (__ieee754_y0l): Likewise.
15349         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15350         (__ieee754_y1l).
15352         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15353         (atan_test_data): Likewise.
15354         (ceil_test_data): Likewise.
15355         (cos_test_data): Likewise.
15356         (cosh_test_data): Likewise.
15357         (erf_test_data): Likewise.
15358         (exp2_test_data): Likewise.
15359         (fabs_test_data): Likewise.
15360         (floor_test_data): Likewise.
15361         (ilogb_test_data): Likewise.
15362         (j0_test_data): Likewise.
15363         (j1_test_data): Likewise.
15364         (jn_test_data): Likewise.
15365         (lgamma_test_data): Likewise.
15366         (lrint_test_data): Likewise.
15367         (llrint_test_data): Likewise.
15368         (logb_test_data): Likewise.
15369         (lround_test_data): Likewise.
15370         (llround_test_data): Likewise.
15371         (nearbyint_test_data): Likewise.
15372         (rint_test_data): Likewise.
15373         (round_test_data): Likewise.
15374         (sin_test_data): Likewise.
15375         (sincos_test_data): Likewise.
15376         (sinh_test_data): Likewise.
15377         (sqrt_test_data): Likewise.
15378         (tan_test_data): Likewise.
15379         (tanh_test_data): Likewise.
15380         (tgamma_test_data): Likewise.
15381         (trunc_test_data): Likewise.
15382         (y0_test_data): Likewise.
15383         (y1_test_data): Likewise.
15384         (yn_test_data): Likewise.
15386         * math/libm-test.inc: Update comment about NaN testing.
15387         (TEST_SNAN): New macro.
15388         (snan_value): Likewise.
15389         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15390         (fpclassify_test_data): Add sNaN tests.
15391         (isfinite_test_data): Likewise.
15392         (isinf_test_data): Likewise.
15393         (isnan_test_data): Likewise.
15394         (isnormal_test_data): Likewise.
15395         (issignaling_test_data): Likewise.
15396         (signbit_test_data): Likewise.
15397         * math/gen-libm-test.pl (%beautify): Add snan_value.
15398         (show_exceptions): Add argument $test_snan.
15399         (parse_args): Handle snan_value as non-finite.  Update call to
15400         show_exceptions.
15401         * math/Makefile (libm-test-no-inline-cflags): Add
15402         -fsignaling-nans.
15404 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15406         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15407         (CFLAGS-oldsendmsg.c): Add rule.
15408         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15409         Correct recvmsg symbol name.
15410         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15411         Likewise.
15413 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15415         * sysdeps/unix/sysv/linux/Makefile
15416         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15417         oldsendmmsg.
15418         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15419         sendmmsg.
15420         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15421         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15423         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15428         Likewise.
15429         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15430         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15431         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15432         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15433         iovlen and controllen fields to adjust to POSIX specification.
15434         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15436         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15437         and change to correct expected type.
15438         (msghdr.msg_controllen): Likewise.
15439         (cmsghdr.cmsg_len): Likewise.
15440         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15441         expected POSIX assumption about the size.
15442         (msghdr.msg_controllen): Likewise.
15443         (msghdr.__glibc_reserved1): Likewise.
15444         (msghdr.__glibc_reserved2): Likewise.
15445         (cmsghdr.cmsg_len): Likewise.
15446         (cmsghdr.__glibc_reserved1): Likewise.
15447         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15448         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15449         (CFLAGS-sendmsg.c): Remove rule.
15450         (CFLAGS-recvmsg.c): Likewise.
15451         (CFLAGS-oldsendmsg.c): Add rule.
15452         (CFLAGS-oldrecvmsg.c): Likewise.
15453         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15454         recvmsg and sendmsg.
15455         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15456         Likewise.
15457         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15458         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15459         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15460         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15461         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15462         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15463         Likewise.
15464         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15465         Likewise.
15466         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15467         Likewise.
15468         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15469         Likewise.
15470         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15471         Likewise.
15472         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15473         Likewise.
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15475         (GLIBC_2.24): Likewise.
15476         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15477         Likewise.
15478         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15479         Likewise.
15480         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15481         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15482         Likewise.
15483         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15484         Likewise.
15485         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15486         Likewise.
15487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15488         (GLIBC_2.24): Likewise.
15489         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15490         Likewise.
15491         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15492         Likewise.
15493         * sysdeps/unix/sysv/linux/Makefile
15494         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15495         (CFLAGS-sendmsg.c): Add rule.
15496         (CFLAGS-recvmsg.c): Likewise.
15497         (CFLAGS-oldsendmsg.c): Likewise.
15498         (CFLAGS-oldrecvmsg.c): Likewise.
15499         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15500         initialization.
15501         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15502         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15503         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15504         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15505         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15506         iovlen and controllen fields to adjust to POSIX specification.
15507         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15508         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15509         added recvmsg and sendmsg.
15510         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15511         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15512         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15513         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15514         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15515         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15516         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15517         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15518         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15519         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15521         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15523         Likewise.
15524         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15526         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15527         Likewise.
15528         Likewise.
15529         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15530         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15531         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15532         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15533         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15534         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15536         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15538         Likewise.
15539         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15540         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15542         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15543         from auto-generation.
15544         (sendmsg): Likewise.
15545         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15546         (sendmsg): Likewise.
15547         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15548         (sendmsg): Likewise.
15549         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15550         (sendmsg): Likewise.
15551         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15552         (sendmsg): Likewise.
15553         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15554         (sendmsg): Likewise.
15555         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15556         Likewise.
15557         (sendmsg): Likewise.
15558         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15559         (sendmsg): Likewise.
15560         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15562         Remove.
15563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15564         Likewise.
15565         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15566         Undefine.
15567         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15568         Likewise.
15569         * sysdeps/unix/sysv/linux/kernel-features.h
15570         (__ASSUME_SENDMSG_SYSCALL): Define.
15571         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15572         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15574         Remove.
15575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15576         Likewise.
15577         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15578         Undefine.
15579         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15580         Likewise.
15581         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15583         Remove.
15584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15585         Likewise.
15586         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15587         Undefine.
15588         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15589         Likewise.
15590         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15591         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15592         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15593         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15594         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15595         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15596         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15597         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15598         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15600 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15602         * stdlib/gen-tst-strtod-round.c: Add backslash to
15603         compile command in comment.
15604         (printfp): Remove the literal suffix, and define an infinite
15605         value as INF to avoid expansion clash with INFINITY.
15606         (round_str): Remove the literal suffix.
15607         (round_for_all): Likewise, remove the now duplicate ldbl-64
15608         entry, and remove some magic constants.
15610         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15611         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15612         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15613         (_CONCAT): New macro.
15614         (CONCAT): Likewise.
15615         (CHOOSE_ld): Likewise.
15616         (CHOOSE_f): Likewise.
15617         (CHOOSE_d): Likewise.
15618         (FTYPE_MEMBER): Likewise.
15619         (BOOL_MEMBER): Likewise.
15620         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15621         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15622         (_XNTRY): Likewise.
15623         (XNTRY): Likewise.
15624         (_ENTRY): Likewise.
15625         (ENTRY): Likewise.
15626         (test_exactness): Generate members via macro.
15627         (test_results): Likewise.
15628         (test): Update members.
15629         (TEST): Redefine using new macros.
15630         (INF): New macro.
15631         (fetestmodes): New structure.
15632         (do_test): Refactor to be type generic.
15633         (test_in_one_mode): Refactor duplicate code into
15634         (GEN_ONE_TEST): New macro.
15636         * stdlib/tst-strtod-round-data.h: Regenerate.
15638         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15639         Extend to pass additional arbitrary parameters to
15640         generators.
15642 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15644         [BZ #15479]
15645         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15646         floating-point state after first floating-point operation on
15647         input.  Restore full floating-point state instead of just rounding
15648         mode.
15649         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15650         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15651         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15652         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15653         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15655         [BZ #15479]
15656         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15657         floating-point state after first floating-point operation on
15658         input.  Restore full floating-point state instead of just rounding
15659         mode.
15660         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15661         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15662         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15663         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15664         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15666 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15668         [BZ #19727]
15669         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15670         valid high surrogate.
15671         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15672         of an utf16 surrogate.
15673         * iconv/gconv_simple.c (BODY): Likewise.
15674         * iconvdata/bug-iconv12.c: New file.
15675         * iconvdata/Makefile (tests): Add bug-iconv12.
15677 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15679         [BZ #19726]
15680         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15681         outptrp in case of an illegal input.
15682         * iconv/tst-iconv6.c: New file.
15683         * iconv/Makefile (tests): Add tst-iconv6.
15685 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15687         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15688         an error in case of a value in range of an utf16 low surrogate.
15690 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15692         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15693         an error in case of a value in range of an utf16 low surrogate.
15695 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15697         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15698         Move to ...
15699         * sysdeps/s390/Makefile: ... here.
15700         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15701         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15702         (BRANCH_ON_COUNT): New define.
15703         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15704         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15705         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15706         run on s390-32, too.
15707         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15708         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15709         run on s390-32, too.
15710         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15711         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15712         run on s390-32, too.
15714 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15716         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15717         etf3eh or new vector loop-variant.
15719 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15721         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15722         etf3eh or new vector loop-variant.
15724 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15726         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15727         or new vector loop-variant.
15729 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15731         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15732         Rename to TR_LOOP and usage of tr instead of troo instruction.
15734 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15736         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15737         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15739 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15741         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15742         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15743         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15744         New override define.
15745         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15747 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15749         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15750         * sysdeps/s390/configure.ac: Add test for S390 vector register
15751         support in gcc.
15752         * sysdeps/s390/configure: Regenerated.
15754 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15756         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15757         Install file from $(objpfx)gconv-modules.
15758         ($(objpfx)gconv-modules): Concatenate architecture specific file
15759         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15760         * sysdeps/s390/gconv-modules: New file.
15761         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15762         Deleted.
15763         ($(objpfx)gconv-modules-s390): Deleted.
15764         (sysdeps-gconv-modules): New variable.
15766 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15768         [BZ #15479]
15769         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15770         of immediate operand to rounding instruction.
15771         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15772         Likewise.
15773         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15774         Likewise.
15775         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15776         Likewise.
15778 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15780         * math/libm-test.inc (MIN_EXP): Directly define as
15781         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15783 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15785         * math/libm-test.inc (MANT_DIG): Directly define as
15786         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15788 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15790         * stdlib/gen-tst-strtod-round.c (main):
15791           Change usage to more closely match the generated
15792           output.  Add usage and compilation instructions.
15793           (string_to_fp): Add and use FILE* parameter as
15794           output target.
15795           (print_fp): Likewise.
15796           (round_str): Likewise.
15797           (round_for_all): Likewise.
15798         * stdlib/tst-strtod-round.c (tests): Move into
15799         * stdlib/tst-strtod-round-data.h: New file.
15801 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15803         [BZ #15479]
15804         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15805         (__round): Do not force "inexact" exception.
15806         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15807         variable.
15808         (__round): Do not force "inexact" exception.
15809         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15810         (__roundf): Do not force "inexact" exception.
15811         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15812         (__roundl): Do not force "inexact" exception.
15813         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15814         (__roundl): Do not force "inexact" exception.
15815         * math/libm-test.inc (round_test_data): Do not allow spurious
15816         "inexact" exceptions.
15818         [BZ #15479]
15819         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15820         exception in comment.
15821         (huge): Remove variable.
15822         (__floor): Do not force "inexact" exception.
15823         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15824         "inexact" exception in comment.
15825         (huge): Remove variable.
15826         (__floor): Do not force "inexact" exception.
15827         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15828         exception in comment.
15829         (huge): Remove variable.
15830         (__floorf): Do not force "inexact" exception.
15831         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15832         exception in comment.
15833         (huge): Remove variable.
15834         (__floorl): Do not force "inexact" exception.
15836         [BZ #15479]
15837         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15838         exception in comment.
15839         (huge): Remove variable.
15840         (__ceil): Do not force "inexact" exception.
15841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15842         "inexact" exception in comment.
15843         (huge): Remove variable.
15844         (__ceil): Do not force "inexact" exception.
15845         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15846         (__ceilf): Do not force "inexact" exception.
15847         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15848         exception in comment.
15849         (huge): Remove variable.
15850         (__ceill): Do not force "inexact" exception.
15852 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15854         * config.h.in (BIND_NOW): New.
15855         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15856         * configure: Regenerated.
15857         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15858         indirect branch via the GOT slot.
15860 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15862         [BZ #19765]
15863         * sysdeps/s390/mempcpy.S: New File.
15864         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15866         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15867         Add mempcpy variants.
15868         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15869         (memcpy): Adjust to be usable from mempcpy entry point.
15870         (__memcpy_mvcle): Likewise.
15871         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15872         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15873         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15874         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15875         (__memcpy_z10): Likewise.
15876         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15878 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15880         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15881         Remove __GI_ symbol.
15882         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15883         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15884         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15885         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15886         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15887         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15889 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15891         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15892         Use cghi instead of chi to compare 64bit value.
15894 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15896         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15897         Jump to 1MB check before executing mvc-loop.
15899 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15901         [BZ #6527]
15902         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15903         unconditionally.
15904         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15906 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15908         * stdlib/tst-strtod6.c (do_test): Use new type generic
15909         invocation of the test function.
15910         (test): Refactor into ...
15911         (TEST_STRTOD): New macro base function.
15913 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15915         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15916         (TEST_STRTOD): New macro.
15917         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15919 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15921         * stdlib/tst-strtod6.c (do_test): Use new type generic
15922         invocation of the test function.
15923         (test): Refactor into ...
15924         (TEST_STRTOD): New macro base function.
15926 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15928         CVE-2016-4429
15929         [BZ #20112]
15930         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15931         payload.
15933 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15935         [BZ #20111]
15936         * bits/sockaddr.h (_SS_SIZE): Define.
15937         * bits/socket.h (_SS_SIZE): Remove.
15938         (_SS_PADSIZE): Adjust to account for all padding.
15939         (struct sockaddr_storage): Update comment.  Avoid implicit
15940         padding.
15941         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15942         (_SS_PADSIZE): Adjust to account for all padding.
15943         (struct sockaddr_storage): Update comment.  Avoid implicit
15944         padding.
15945         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15946         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15947         (_SS_PADSIZE): Adjust to account for all padding.
15948         (struct sockaddr_storage): Update comment.  Avoid implicit
15949         padding.
15950         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15951         __SS_SIZE is 126 in this version.
15952         * inet/tst-sockaddr.c: New file.
15953         * inet/Makefile (tests): Add tst-sockaddr.c
15954         (tst-sockaddr.c): Compile with non-strict aliasing.
15956 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15958         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15959         [XPG3 || XPG4].
15960         (NL_ARGMAX): Also expect for [XPG3].
15961         (NL_LANGMAX): Likewise.
15962         (NL_MSGMAX): Likewise.
15963         (NL_NMAX): Likewise.
15964         (NL_SETMAX): Likewise.
15965         (NL_TEXTMAX): Likewise.
15966         (NZERO): Likewise.
15967         (TMP_MAX): Likewise.
15968         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15969         variable.
15971         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15972         (PF_MAX): Update value.
15973         (AF_KCM): New macro.
15974         (SOL_NETBEUI): Likewise.
15975         (SOL_LLC): Likewise.
15976         (SOL_DCCP): Likewise.
15977         (SOL_NETLINK): Likewise.
15978         (SOL_TIPC): Likewise.
15979         (SOL_RXRPC): Likewise.
15980         (SOL_PPPOL2TP): Likewise.
15981         (SOL_BLUETOOTH): Likewise.
15982         (SOL_PNPIPE): Likewise.
15983         (SOL_RDS): Likewise.
15984         (SOL_IUCV): Likewise.
15985         (SOL_CAIF): Likewise.
15986         (SOL_ALG): Likewise.
15987         (SOL_NFC): Likewise.
15988         (SOL_KCM): Likewise.
15989         (MSG_BATCH): New enum value and macro.
15991 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15993         [BZ #18185]
15994         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15995         sharing L2 cache to 2 for Knights Landing.
15997 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15999         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16000         (FTW_DP): Do not expect for [XPG3 || XPG4].
16001         (FTW_SL): Do not expect for [XPG3].
16002         (FTW_SLN): Likewise.
16003         (FTW_PHYS): Likewise.
16004         (FTW_MOUNT): Likewise.
16005         (FTW_DEPTH): Likewise.
16006         (FTW_CHDIR): Likewise.
16007         (nftw): Likewise.
16008         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16009         variable.
16011 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16013         * manual/errno.texi: Fix various typos & grammar errors.
16015 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16017         * manual/intro.texi: Fix duplicated typo.
16019 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16021         [BZ #13304]
16022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16023         <float.h>, <math_private.h> and <stdlib.h>.
16024         (add_split): New function.
16025         (mul_split): Likewise.
16026         (ext_val): New typedef.
16027         (store_ext_val): New function.
16028         (mul_ext_val): New function.
16029         (compare): New function.
16030         (add_split_ext): New function.
16031         (__fmal): After checking for Inf, NaN and zero, compute result as
16032         an exact sum of scaled double values in round-to-nearest before
16033         adding those up and adjusting for other rounding modes.
16034         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16035         tests of fma.
16036         * math/auto-libm-test-out: Regenerated.
16038 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16040         [BZ #20119]
16041         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16042         processor level type mask for CPUID with EAX == 11.
16044 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16046         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16047         logical threads if the HTT bit is 0.
16048         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16049         (index_cpu_HTT): Likewise.
16050         (reg_HTT): Likewise.
16052 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16054         [BZ #20115]
16055         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16056         Remove alignments on jump targets.
16058 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16060         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16061         (getpwent): Likewise.
16062         (setpwent): Likewise.
16063         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16064         variable.
16066         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16067         (remque): Likewise.
16068         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16069         variable.
16071 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16073         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16074         not being tested.
16076 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16079         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16080         call.
16081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16082         (__condvar_cleanup1): Likewise.
16084 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16086         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16087         New
16088         (__pthread_unwind): Renamed to ...
16089         (PTHREAD_UNWIND): This.
16090         (__pthread_enable_asynccancel): Replace
16091         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16093 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16095         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16096         (CLONE_NEWCGROUP): New macro.
16098         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16099         (Q_GETNEXTQUOTA): New macro.
16101 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16103         [BZ #19907]
16104         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16105         buffer updated by the previous run.
16106         * string/test-memcpy.c (do_one_test): Likewise.
16107         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16108         * string/test-memmove.c (do_one_test): Likewise.
16110 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16112         [BZ #20094]
16113         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16114         not [__USE_XOPEN].
16115         (unlockpt): Likewise.
16116         (ptsname): Likewise.
16117         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16118         variable.
16120         [BZ #20076]
16121         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16122         instead of [__USE_UNIX98].
16123         (S_ISSOCK): Likewise.
16124         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16125         variable.
16127         [BZ #20074]
16128         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16129         [__USE_POSIX].
16130         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16131         variable.
16133         [BZ #20051]
16134         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16135         (ttyslot): Do not declare.
16136         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16137         (ttyslot): New prototype.
16138         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16139         variable.
16140         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16142 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16144         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16146 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16148         Fix race condition in tst-mallocfork2, use fewer resources.
16149         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16150         to current process group.
16151         (signal_sender): Yield in the non-sleeping case.
16153 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16155         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16156         (ecvt): Likewise.
16157         (fcvt): Likewise.
16158         (gcvt): Likewise.
16159         (getsubopt): Likewise.
16160         (grantpt): Likewise.
16161         (initstate): Likewise.
16162         (l64a): Likewise.
16163         (mktemp): Likewise.
16164         (mkstemp): Likewise.
16165         (ptsname): Likewise.
16166         (random): Likewise.
16167         (realpath): Likewise.
16168         (setstate): Likewise.
16169         (srandom): Likewise.
16170         (ttyslot): Likewise.
16171         (unlockpt): Likewise.
16172         (valloc): Likewise.
16174         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16175         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16176         variable.
16178 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16180         [BZ #20072]
16181         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16182         init_cpu_features only if SHARED is defined.
16183         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16185 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16187         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16188         non-inclusive caches on Intel processors.
16190 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16192         * malloc/malloc.c (dumped_main_arena_start)
16193         (dumped_main_arena_end): New variables.
16194         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16195         (do_check_chunk): Skip dumped fake mmapped chunks.
16196         (munmap_chunk): Likewise.
16197         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16198         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16199         mmapped chunks.
16200         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16201         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16202         and dumped_main_arena_end to cover the dumped heap.
16204 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16206         * conform/data/time.h-data (getdate_err): Do not expect for
16207         [XPG3].
16208         (getdate): Likewise.
16209         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16210         variable.
16212         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16213         (F_ULOCK): Likewise.
16214         (F_TEST): Likewise.
16215         (F_TLOCK): Likewise.
16216         (useconds_t): Likewise.
16217         (intptr_t): Do not expect for [XPG3] or [XPG4].
16218         (brk): Do not expect for [XPG3]
16219         (fchown): Likewise.
16220         (fchdir): Likewise.
16221         (ftruncate): Likewise.
16222         (getdtablesize): Likewise.
16223         (gethostid): Likewise.
16224         (getpagesize): Likewise.
16225         (getpgid): Likewise.
16226         (getsid): Likewise.
16227         (getwd): Likewise.
16228         (lchown): Likewise.
16229         (lockf): Likewise.
16230         (readlink): Likewise.
16231         (sbrk): Likewise.
16232         (setpgrp): Likewise.
16233         (setregid): Likewise.
16234         (setreuid): Likewise.
16235         (symlink): Likewise.
16236         (sync): Likewise.
16237         (truncate): Likewise.
16238         (ualarm): Likewise.
16239         (usleep): Likewise.
16240         (vfork): Likewise.
16241         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16242         variable.
16244         [BZ #20054]
16245         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16246         not [__USE_UNIX98].
16247         * conform/data/unistd.h-data (gethostname): Do not expect for
16248         [XPG3].
16250         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16251         [!POSIX] (S_IFBLK): Likewise.
16252         [!POSIX] (S_IFCHR): Likewise.
16253         [!POSIX] (S_IFIFO): Likewise.
16254         [!POSIX] (S_IFREG): Likewise.
16255         [!POSIX] (S_IFDIR): Likewise.
16256         [!POSIX] (S_IFLNK): Likewise.
16257         [!POSIX] (S_IFSOCK): Likewise.
16258         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16259         variable.
16260         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16262 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16264         * sysdeps/aarch64/memset.S (__memset):
16265         Rewrite of optimized memset.
16267 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16269         [BZ #19703]
16270         Partially async-signal-safe fork for single-threaded processes.
16271         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16272         variable.  Do not acquire and reset/release malloc and libio locks
16273         in single-threaded processes.
16274         * malloc/tst-mallocfork2.c: New file.
16275         * malloc/Makefile (tests): Add it.
16277 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16279         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16280         argument.  Use scratch buffer instead of extend_alloca.
16281         (gethosts): Use scratch buffer instead of extend_alloca.
16282         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16283         extend_alloca.
16284         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16286 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16288         [BZ #20055]
16289         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16290         instead of [__USE_UNIX98].
16291         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16292         [__USE_UNIX98].
16293         * conform/data/termios.h-data (tcgetsid): Do not expect for
16294         [XPG3].
16295         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16296         variable.
16297         (test-xfail-XPG4/termios.h/conform): Likewise.
16299 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16301         Do not use mcheck in localedef.
16302         * locale/programs/localedef.c (turn_on_mcheck)
16303         (__malloc_initialize_hook): Remove.
16305 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16307         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16308         * sysdeps/s390/s390-64/Makefile: Likewise.
16310 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16312         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16313         Remove ifunc-defines.sym.
16314         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16315         Likewise.
16316         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16317         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16318         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16319         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16320         rtld-global-offsets.sym.
16321         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16322         * sysdeps/x86/cpu-features-offsets.sym: This.
16323         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16324         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16326 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16328         [BZ #20073]
16329         * io/sys/stat.h (fchmod): Declare for
16330         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16331         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16332         variable.
16334         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16335         [XPG3] (S_IFSOCK): Likewise.
16336         [XPG3] (S_ISVTX): Likewise.
16337         [XPG3] (S_ISLNK): Likewise.
16338         [XPG3] (S_ISSOCK): Likewise.
16339         [XPG3] (fchmod): Likewise.
16340         [XPG3] (lstat): Likewise.
16341         [XPG3] (mknod): Likewise.
16343         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16344         [XPG3].  Expect type long and XFAIL for [XPG4].
16345         (st_blocks): Likewise.
16347         [BZ #20044]
16348         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16349         (pthread_atfork): New prototype.
16350         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16351         variable.
16353         [BZ #20043]
16354         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16355         prototype.
16357 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16359         [BZ #20017]
16360         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16361         gmtime.
16363 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16365         [BZ #19994]
16366         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16367         flag in _res.options.
16369 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16371         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16372         [XPG3 || XPG4].
16373         (blksize_t): Likewise.
16374         (clockid_t): Likewise.
16375         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16376         variable.
16377         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16379 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16381         * sysdeps/unix/sysv/linux/s390/init-first.c:
16382         Add VDSO_SYMBOL(getcpu).
16383         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16384         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16385         Add VDSO_SYMBOL(getcpu).
16386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16387         New define HAVE_GETCPU_VSYSCALL.
16388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16390 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16392         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16393         instead of <sysdeps/x86_64/cacheinfo.c>.
16394         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16395         * sysdeps/x86/cacheinfo.c: Here.
16397 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16399         * malloc/malloc-internal.h: Adjust header file guard.
16401 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16403         [BZ #19787]
16404         * inet/getnameinfo.c (check_sprintf_result): New function.
16405         (CHECKED_SNPRINTF): New macro.
16406         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16407         to the host buffer.
16408         (gni_host_local): Use checked_copy to copy the host name.
16409         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16410         (gni_serv_local): Use checked_copy to copy the service name.
16411         (getnameinfo): Remove unnecessary truncation of result buffers.
16413 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16415         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16416         in case of inet_ntop failure.
16418 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16420         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16421         avoid long lines.
16422         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16423         variables.
16424         (gni_host_inet, gni_host_local): Add comment.
16425         (gni_host): Add comment.  Use temporary to avoid long lines.
16427 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16429         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16430         registers specifiers where general purpose registers specifiers should
16431         have been used.
16433 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16435         [BZ #19779]
16436         CVE-2016-1234
16437         Avoid copying names of directory entries.
16438         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16439         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16440         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16441         (struct readdir_result): New type.
16442         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16443         (GL_READDIR): New macros.
16444         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16445         (convert_dirent, convert_dirent64): New functions.
16446         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16447         convert_dirent64.  Adjust references to the readdir result.
16448         * sysdeps/unix/sysv/linux/i386/glob64.c:
16449         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16450         * posix/bug-glob2.c (LONG_NAME): Define.
16451         (filesystem): Add LONG_NAME.
16452         (my_DIR): Increase the size of room_for_dirent.
16454 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16456         [BZ #20041]
16457         * misc/sys/select.h (__need_timespec): Only define if
16458         [__USE_XOPEN2K].
16459         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16460         variable.
16461         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16462         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16463         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16465 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16466             Segher Boessenkool  <segher@gcc.gnu.org>
16468         [BZ #20004]
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16470         (__novec_swapcontext): Add missing load.
16472 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16474         [BZ #20023]
16475         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16476         <time.h>.
16477         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16478         variable.
16479         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16481 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16484         flags CLONE_VM compare.
16486 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16488         [BZ #20031]
16489         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16490         completely empty.
16492 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16494         [BZ #19573]
16495         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16496         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16497         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16498         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16499         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16500         (hesiod_free_list): Mark as hidden.
16501         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16502         res_set, res_get.
16503         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16504         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16505         (hesiod_init): Remove obsolete res_ninit call.
16506         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16507         (hesiod_bind): Do not call init.
16508         (get_txt_records): Use res_mkquery, res_send instead of
16509         res_nmkquery, res_nsend.
16510         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16511         instead of _nss_hesiod_init.
16512         (_nss_hesiod_initgroups_dyn): Likewise.
16513         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16514         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16515         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16517 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16519         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16520         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16522 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16524         * hesiod/hesiod.h: Remove RCS keyword.
16525         * hesiod/hesiod_p.h: Likewise.
16527         * hesiod/hesiod.c: Likewise.
16529 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16531         [BZ #12450]
16532         * locale/iso-639.def: Add Samogitian/sgs.
16534 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16536         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16538         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16540 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16541             Carlos O'Donell  <carlos@redhat.com>
16543         [BZ #19072]
16544         * grp/Makefile (headers): Add grp-merge.h
16545         (routines): Add grp-merge.
16546         * grp/getgrgid_r.c: Include grp-merge.h.
16547         (DEEPCOPY_FN): Define.
16548         (MERGE_FN): Define.
16549         * grp/getgrname_r.c: Include grp-merge.h.
16550         (DEEPCOPY_FN): Define.
16551         (MERGE_FN): Define.
16552         * grp/grp-merge.c: New file.
16553         * grp/grp-merge.h: New file.
16554         * include/grp-merge.h: New file.
16555         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16556         __copy_grp@GLIBC_PRIVATE.
16557         * manual/nss.texi (Actions in the NSS configuration): Describe
16558         return, continue, and merge.
16559         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16560         (DEEPCOPY_FN): Define.
16561         (MERGE_FN): Define.
16562         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16563         (DEEPCOPY_FN): Define.
16564         (MERGE_FN): Define.
16565         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16566         [!MERGE_FN]: Define __merge_einval.
16567         (CHECK_MERGE): Define.
16568         (REENTRANT_NAME): Process merge if do_merge is true.
16569         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16570         (__nss_getent_r): Likewise.
16571         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16572         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16574 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16576         [BZ #20012]
16577         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16578         length to calculate the buffer to read.
16579         (fmemopen_write): Set the buffer position based on bytes written.
16580         (fmemopen_seek): Return EINVAL for invalid whence modes.
16582         [BZ #19957]
16583         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16584         tst-getpid2.
16585         (test): Add tst-clone2.
16586         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16587         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16588         pid/tid fields for CLONE_VM.
16589         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16590         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16591         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16592         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16593         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16594         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16595         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16596         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16598         Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16600         Likewise.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16602         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16603         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16604         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16605         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16606         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16607         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16608         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16610 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16612         [BZ #19642]
16613         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16614         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16615         (gni_serv_local, gni_serv): New functions extracted from
16616         getnameinfo.
16617         (getnameinfo): Call gni_host and gni_serv to perform the
16618         processing.  Always free scratch buffer.
16620 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16622         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16623         remaining bytes in the dest string, with zeros.
16625 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16627         [BZ #20010]
16628         CVE-2016-3706
16629         * sysdeps/posix/getaddrinfo.c
16630         (convert_hostent_to_gaih_addrtuple): New function.
16631         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16632         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16633         AF_INET data.
16635 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16637         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16638         callback function gl_readdir.
16639         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16640         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16641         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16642         memcpy to copy the name.
16643         * manual/pattern.texi (Calling Glob): Document requirements for
16644         implementations of the gl_readdir callback function.
16645         * manual/examples/mkdirent.c: New example.
16646         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16647         per the manual guidance.
16648         * posix/tst-gnuglob.c (my_readdir): Likewise.
16650 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16652         [BZ #20014]
16653         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16654         not [__USE_POSIX].
16655         (getchar_unlocked): Likewise.
16656         (putc_unlocked): Likewise.
16657         (putchar_unlocked): Likewise.
16658         (flockfile): Likewise.
16659         (ftrylockfile): Likewise.
16660         (funlockfile): Likewise.
16661         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16662         variable.
16663         (test-xfail-XPG4/stdio.h/conform): Likewise.
16665         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16666         Expect constant.
16667         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16668         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16669         variable.
16670         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16671         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16673         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16674         [__USE_LARGEFILE64] (off64_t): Likewise.
16675         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16676         variable.
16678 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16680         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16682 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16684         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16685         * resolv/res_init.c: Likewise.
16686         * resolv/res_mkquery.c: Likewise.
16688 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16690         * resolv/res_init.c (isascii): Do not define.  Use definition in
16691         <ctype.h>.
16692         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16693         (LOG_AUTH): Remove.
16694         (SPRINTF): Remove, adjust caller.
16695         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16697 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16699         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16700         SUNSECURITY conditional.
16701         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16703 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16705         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16706         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16707         Remove BSD-related preprocessor conditionals.
16708         * conf/portability.h: Remove.
16710 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16712         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16713         * resolv/res_data.c: Likewise.
16715 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16717         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16718         * resolv/res_data.c: Remove code conditional on ultrix.
16720 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16722         * resolv/res_init.c (RFC1535): Do not define.  Remove
16723         RFC1535 preprocessor conditionals.
16724         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16725         because there configuration options which make the resolver
16726         behavior different.
16728 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16730         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16731         RESOLVSORT preprocessor conditionals.
16732         * resolv/nss_dns/dns-host.c: Likewise.
16733         * resolv/res_init.c: Likewise.
16735 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16737         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16738         is never defined.
16740 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16742         * inet/inet_lnaof.c: Remove SCSS keyword.
16743         * inet/inet_mkadr.c: Likewise.
16744         * inet/inet_net.c: Likewise.
16745         * inet/inet_netof.c: Likewise.
16746         * inet/rcmd.c: Likewise.
16747         * inet/rexec.c: Likewise.
16748         * inet/ruserpass.c: Likewise.
16750 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16752         * resolv/inet_addr.c: Remove _LIBC conditionals.
16753         * resolv/res_data.c: Likewise.
16754         * resolv/res_init.c: Likewise.
16755         * resolv/res_mkquery.c: Likewise.
16756         * resolv/res_libc.c: Update comment.
16757         * resolv/README: Update.
16759 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16761         * resolv/gethnamaddr.c: Remove SCSS keyword.
16762         * resolv/herror.c: Likewise.
16763         * resolv/inet_addr.c: Likewise.
16764         * resolv/inet_net_ntop.c: Likewise.
16765         * resolv/inet_net_pton.c: Likewise.
16766         * resolv/inet_neta.c: Likewise.
16767         * resolv/inet_ntop.c: Likewise.
16768         * resolv/inet_pton.c: Likewise.
16769         * resolv/ns_date.c: Remove RCS keyword.
16770         * resolv/ns_name.c: Likewise.
16771         * resolv/ns_netint.c: Likewise.
16772         * resolv/ns_parse.c: Likewise.
16773         * resolv/ns_print.c: Likewise.
16774         * resolv/ns_samedomain.c: Likewise.
16775         * resolv/ns_ttl.c: Likewise.
16776         * resolv/nsap_addr.c: Likewise.
16777         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16778         * resolv/res_data.c: Remove RCS keyword.
16779         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16780         * resolv/res_init.c: Likewise.
16781         * resolv/res_mkquery.c: Likewise.
16782         * resolv/res_query.c: Likewise.
16783         * resolv/res_send.c: Likewise.
16785 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16787         * conform/data/stdio.h-data (fdopen): Expect also for
16788         [XPG3 || XPG4].
16790         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16791         (fseeko): Likewise.
16792         (ftello): Likewise.
16793         (ftrylockfile): Likewise.
16794         (funlockfile): Likewise.
16795         (getc_unlocked): Likewise.
16796         (getchar_unlocked): Likewise.
16797         (putc_unlocked): Likewise.
16798         (putchar_unlocked): Likewise.
16800 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16802         [BZ #19868]
16803         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16804         DNS packet syntax checks (which were not needed before).  Skip
16805         over non-PTR records.
16807 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16809         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16810         definition.  Include <stddef.h> instead.
16812 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16814         [BZ #19831]
16815         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16816         function.
16817         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16818         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16820 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16822         [BZ #19862]
16823         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16824         (getanswer_r): Do not call syslog.
16825         (gaih_getanswer_slice): Likewise.
16826         * resolv/gethnamaddr.c (AskedForGot): Remove.
16827         (getanswer): Do not call syslog.
16828         (gethostbyaddr): Likewise.
16830 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16832         * conform/data/signal.h-data (union sigval): Expect also if
16833         [XOPEN2K].
16834         (struct sigevent): Likewise.
16835         (SIGEV_NONE): Likewise.
16836         (SIGEV_SIGNAL): Likewise.
16837         (SIGEV_THREAD): Likewise.
16838         (SIGRTMIN): Likewise.
16839         (SIGRTMAX): Likewise.
16840         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16841         variable.
16842         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16844 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16846         [BZ #19830]
16847         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16848         (gaih_getanswer_slice): Likewise.
16849         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16850         Also check for availability of RR metadata.
16852 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16854         [BZ #19825]
16855         * resolv/res_send.c (send_vc): Remove early *resplen2
16856         initialization.  Set *resplen2 on socket error.  Call
16857         close_and_return_error for other errors.
16859 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16861         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16862         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16863         (SCM_IUCV_TRGCLS): New define.
16865 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16867         [BZ #20005]
16868         * libio/fmemopen.c (fmemopen_write): Update internal position after
16869         write.
16870         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16871         * stdio-common/tst-fmemopen4.c: New file..
16873 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16875         [BZ #19996]
16876         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16877         not [__USE_XOPEN2K].
16878         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16879         variable.
16881         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16882         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16883         variable.
16885         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16886         [__USE_XOPEN2K8].
16887         [__USE_LARGEFILE64] (off64_t): Likewise.
16888         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16889         variable.
16891 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16893         [BZ #19989]
16894         * libio/stdio.h (cuserid): Do not declare if
16895         [__USE_XOPEN2K && !__USE_GNU].
16896         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16897         variable.
16899 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16901         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16902         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16904         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16905         ifunc'ed strcspn.
16906         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16907         [EALIGN]: Removed.
16908         [END]: Likewise
16909         [STRSPN]: Define instead of the above to control symbol name.
16910         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16911         New file.
16912         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16913         Likewise.
16914         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16915         Likewise.
16916         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16917         Likewise.
16918         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16919         [INITIAL_MASK]: New macro.
16920         [STRCSPN]: Likewise.
16921         [UPDATE_MASK]: Likewise.
16922         [USE_AS_STRCSPN]: Likewise.
16924 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16926         [BZ #19931]
16927         * stdio-common/tst-vfprintf-width-prec.c: New file.
16928         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16929         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16930         (generated): Add mtrace-related files.
16931         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16932         (tst-%-mem.out): New pattern rule, replaces
16933         tst-printf-bz18872-mem.out.
16934         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16935         specifier, deallocate any previously allocated work buffer.
16937 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16939         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16940         Add nop before __startcontext, add explaining comments.
16942 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16944         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16945         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16946         completely different API.
16948         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16949         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16950         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16951         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16952         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16953         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16954         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16955         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16956         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16957         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16959 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16961         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16963 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16965         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16966         when it is the default of 0.
16968 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16970         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16971         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16972         (sysdep_routines): Add new strcasestr targets.
16973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16974         (__libc_ifunc_impl_list): Likewise.
16975         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16976         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16977         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16978         * sysdeps/powerpc/powerpc64/power8/Makefile:
16979         New file to add strcasestr-ppc64 to sysdep_routines.
16980         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16981         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16983 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16985         * benchtests/Makefile (wcsmbs-benchset): Include only for
16986         native builds and runs.
16987         (LOCALES): Likewise.
16988         (bench-build): Build timing-type here instead of the bench
16989         target.  Generate locale only for native builds.
16990         * benchtests/README: Add note for cross-building.
16992         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16994         * benchtests/README: Update README to include instructions on
16995         using bench-build.
16997         * Makefile.in (bench-build): New target.
16998         * Rules (PHONY): Add bench-build target.
16999         * benchtests/Makefile (bench): Depend on bench-build.
17000         (bench-build): New target.
17002 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17004         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17005         profil_reply_port.
17006         (profile_waiter): Do not initialize profil_reply_port.
17007         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17008         frequency instead of tick length in us.
17010 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17012         [BZ #18712]
17013         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17014         (__old_mempcpy_small): Likewise.
17015         (__old_strcpy_small): Likewise.
17016         (__old_stpcpy_small): Likewise.
17017         (__old_strpbrk_c2): Fix compat symbol name.
17018         (__old_strpbrk_c3): Likewise.
17019         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17020         (__mempcpy_small): Remove.
17021         (__strcpy_small): Remove.
17022         (__stpcpy_small): Remove.
17024 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17026         [BZ #19400]
17027         * locale/iso-639.def: Add the Talossan/tzl language.
17029 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17031         [BZ #16983]
17032         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17033         comment.  Add "ln" to strchr check on postal_fmt.
17035 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17037         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17038         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17039         tel_dom_fmt.
17041 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17043         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17044         (sysdep_routines): Added __strlen_power8.
17045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17046         __strlen_power8 entry.
17047         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17048         Implementation for POWER8.
17049         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17050         for __strlen_power8.
17051         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17052         Implementation for POWER8.
17054 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17056         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17058 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17060         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17061         Goldmont and Airmont processors.
17063 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17065         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17066         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17067         (__STRING2_SMALL_GET32): Remove.
17068         (memset): Remove.
17069         (__memset_1): Remove.
17070         (__memset_gc): Remove.
17071         (__mempcpy): Remove.
17072         (mempcpy): Remove.
17073         (__mempcpy_args): Remove.
17074         (strchr): Remove.
17075         (strcpy): Remove.
17076         (strcpy_args): Remove.
17077         (__stpcpy_args): Remove.
17078         (__strcmp_cc): Remove.
17079         (__strcmp_gc): Remove.
17080         (strstr): Remove.
17082 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17084         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17085         * nis/nis_call.c (nis_server_cache_add): Likewise.
17087 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17089         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17091 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17093         * malloc/arena.c (__malloc_fork_lock_parent)
17094         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17095         internal_function attribute.
17097 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17099         * stdio-common/printf_fp.c (__printf_fp_l):
17100         Rename ___printf_fp_l to __printf_fp_l and
17101         remove strong alias. Use libc_hidden_def instead
17102         of ldbl_hidden_def macro.
17104 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17106         Remove malloc hooks from fork handler.  They are no longer needed
17107         because malloc runs right before fork, and no malloc calls from
17108         other fork handlers are not possible anymore.
17109         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17110         declarations.
17111         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17112         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17113         (atfork_recursive_cntr): Remove.
17114         (__malloc_fork_lock_parent): Do not override malloc hooks and
17115         thread_arena.
17116         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17117         thread_arena.
17118         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17119         thread_arena instead of save_arena.
17121 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17123         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17124         (thread_atfork, thread_atfork_static): Remove.
17125         * sysdeps/mach/hurd/malloc-machine.h:
17126         (thread_atfork, thread_atfork_static): Remove.
17128 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17130         [BZ #19431]
17131         Run the malloc fork handler as late as possible to avoid deadlocks.
17132         * malloc/malloc-internal.h: New file.
17133         * malloc/malloc.c: Include it.
17134         * malloc/arena.c (ATFORK_MEM): Remove.
17135         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17136         Update comment.
17137         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17138         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17139         Remove outdated comment.
17140         (ptmalloc_init): Do not call thread_atfork.  Remove
17141         thread_atfork_static.
17142         * malloc/tst-malloc-fork-deadlock.c: New file.
17143         * Makefile (tests): Add tst-malloc-fork-deadlock.
17144         (tst-malloc-fork-deadlock): Link against libpthread.
17145         * manual/memory.texi (Aligned Memory Blocks): Update safety
17146         annotation comments.
17147         * sysdeps/nptl/fork.c (__libc_fork): Call
17148         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17149         __malloc_fork_unlock_child.
17150         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17152 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17154         [BZ #19613]
17155         Remove union wait.
17156         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17157         (w_stopsig, w_stopval): Remove.
17158         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17159         stat_loc argument.
17160         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17161         (__WAIT_STATUS_DEFN): Remove.
17162         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17163         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17164         (wait, wait3, wait4): Use int * for the stat_loc argument.
17165         * posix/wait.c (__wait): Likewise.
17166         * posix/wait3.c (__wait3): Likewise.
17167         * posix/wait4.c (__wait4): Likewise.
17168         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17169         (__WAIT_STATUS_DEFN): Remove.
17170         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17171         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17172         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17173         argument.
17174         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17175         * sysdeps/posix/wait3.c (__wait3): Likewise.
17176         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17177         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17178         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17179         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17180         stat_loc argument.
17181         * manual/process.texi (BSD Wait Functions): Remove union wait.
17183 2016-04-13  Andreas Schwab  <schwab@suse.de>
17185         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17186         (test-extras): Add tst-tlsalign-vars.
17187         * math/Makefile: Wrap long lines.
17188         (libm-vec-test-wrappers): Define.
17189         (test-extras): Add $(libm-vec-test-wrappers).
17190         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17191         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17192         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17193         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17194         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17195         (extra-test-objs): Add corresponding objects.
17197 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17199         [BZ #19928]
17200         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17201         New.
17202         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17203         times of shared cache size.
17204         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17205         (VMOVNT): New.
17206         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17207         (VMOVNT): Likewise.
17208         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17209         (VMOVNT): Likewise.
17210         (VMOVU): Changed to movups for smaller code sizes.
17211         (VMOVA): Changed to movaps for smaller code sizes.
17212         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17213         comments.
17214         (PREFETCH): New.
17215         (PREFETCH_SIZE): Likewise.
17216         (PREFETCHED_LOAD_SIZE): Likewise.
17217         (PREFETCH_ONE_SET): Likewise.
17218         Rewrite to use forward and backward loops, which move 4 vector
17219         registers at a time, to support overlapping addresses and use
17220         non temporal store if size is above the threshold and there is
17221         no overlap between destination and source.
17223 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17225         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17226         Include dl-vdso.
17227         * sysdeps/unix/sysv/linux/mips/Versions: Add
17228         __vdso_clock_gettime.
17229         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17230         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17231         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17232         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17233         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17234         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17235         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17236         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17237         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17239 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17241         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17242         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17245         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17246         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17249         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17251         syscalls generation.
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17253         [__NR_pwrite64] (__NR_write): Remove define.
17254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17255         [__NR_pwrite64] (__NR_write): Remove define.
17256         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17257         Remove define.
17258         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17259         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17260         Remove define.
17261         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17262         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17263         Linux implementation as base.
17264         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17266         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17267         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17272         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17273         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17274         syscall generation.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17276         [__NR_pread64] (__NR_pread): Remove define.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17278         [__NR_pread64] (__NR_pread): Likewise.
17279         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17280         define.
17281         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17282         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17283         Remove define.
17284         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17285         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17286         Linux implementation as base.
17287         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17288         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17289         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17291         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17292         definition.
17293         (__ALIGNMENT_COUNT): Likewise.
17294         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17295         (__ALIGNMENT_COUNT): Likewise.
17296         (SYSCALL_LL): New define.
17297         (SYSCALL_LL64): Likewise.
17298         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17299         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17300         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17301         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17304         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17305         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17306         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17307         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17308         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17310 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17312         [BZ #19865]
17313         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17314         original buffer before retry.
17316 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17318         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17319         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17320         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17321         GLRO(dl_auxv) list.
17322         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17323         including <ldsodefs.h>.
17324         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17326 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17328         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17329         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17330         $(CPPFLAGS).
17332 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17334         [BZ #17950]
17335         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17336         Add -mfpmath=387.
17338 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17340         * sysdeps/i386/configure.ac: Change == to = when calling test.
17341         * sysdeps/x86_64/configure.ac: Likewise.
17342         * sysdeps/i386/configure: Regenerated.
17343         * sysdeps/x86_64/configure: Likewise.
17345 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17347         [BZ #16137]
17348         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17349         * benchtests/bench-strcoll.c (input_files): Likewise.
17350         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17351         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17352         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17354 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17356         [BZ #19929]
17357         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17358         [__USE_XOPEN2K8 && !__USE_GNU].
17359         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17360         variable.
17362         [BZ #19925]
17363         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17364         define if [!__USE_MISC && __USE_XOPEN2K].
17365         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17366         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17367         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17368         Likewise.
17369         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17370         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17371         variable.
17372         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17374 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17376         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17377         (sysdep_routines): Add new strspn targets.
17378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17379         (__libc_ifunc_impl_list): Add strspn.
17380         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17381         New file.
17382         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17383         Likewise.
17384         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17385         Likewise.
17386         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17387         Likewise.
17389 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17391         * misc/hsearch_r.c: Include <limits.h>.
17393 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17395         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17397 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17399         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17400         (MEMCPY_SYMBOL): New.
17401         (MEMPCPY_SYMBOL): Likewise.
17402         (MEMMOVE_CHK_SYMBOL): Likewise.
17403         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17404         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17405         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17406         Provide alias for memcpy in libc.a and ld.so.
17408 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17410         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17411         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17412         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17413         Disabled fro now.
17414         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17415         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17417 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17419         * benchtests/Makefile (string-benchset): Add memcpy-large,
17420         memmove-large and memset-large.
17421         * benchtests/bench-memcpy-large.c: New file.
17422         * benchtests/bench-memmove-large.c: Likewise.
17423         * benchtests/bench-memmove-large.c: Likewise.
17424         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17426 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17428         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17429         32-bit displacement to avoid long nop between instructions.
17431 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17433         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17434         a comment on VMOVU and VMOVA.
17436 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17438         [BZ #19633]
17439         Use specified locale for number formatting in strfmon_l.
17440         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17441         (__nl_lookup_word): New inline functions.
17442         * include/printf.h (__print_fp_l): Declare.
17443         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17444         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17445         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17446         (___printf_fp): New function.
17447         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17448         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17449         * stdlib/tst-strfmon_l.c (do_test): New test.
17450         * stdlib/Makefile (tests): Add kt.
17451         (LOCALES): Build additional locales.
17452         (tst-strfmon_l.out): Require locales.
17454 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17456         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17457         if not in libc.
17458         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17459         Likewise.
17460         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17461         Likewise.
17462         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17463         Likewise.
17465 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17467         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17468         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17469         with unaligned_erms.
17470         (__memmove_erms): Skip if source == destination.
17471         (__memmove_unaligned_erms): Don't check source == destination
17472         first.
17474 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17476         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17477         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17479 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17481         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17482         * string/strspn.c (strspn): Likewise.
17484 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17486         * benchtests/bench-memset.c (do_test): Support 64-byte
17487         alignment.
17488         (test_main): Test 64-byte alignment.
17490 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17492         * benchtests/bench-memmove.c (test_main): Test 64-byte
17493         alignment.
17495 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17497         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17499 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17501         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17502         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17503         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17505         * string/strpbrk.c (strpbrk): Rewrite function.
17506         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17507         (__strpbrk_c2): Likewise.
17508         (__strpbrk_c3): Likewise.
17509         * string/string-inlines.c
17510         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17511         Likewise.
17512         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17513         Likewise.
17515         * string/strspn.c (strcspn): Rewrite function.
17516         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17517         (__strspn_c1): Remove inline function.
17518         (__strspn_c2): Likewise.
17519         (__strspn_c3): Likewise.
17520         * string/string-inlines.c
17521         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17522         compatibility symbol.
17523         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17524         Likewise.
17525         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17526         Likewise.
17527         * string/string-inlines.c: Include generic version.
17529 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17530             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17532         * string/Version (libc): Add GLIBC_2.24.
17533         * string/strcspn.c (strcspn): Rewrite function.
17534         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17535         (__strcspn_c1): Remove inline function.
17536         (__strcspn_c2): Likewise.
17537         (__strcspn_c3): Likewise.
17538         * string/string-inline.c
17539         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17540         compatibility symbol.
17541         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17542         Likewise.
17543         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17544         Likewise.
17545         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17547 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17549         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17550         Use ahi instead of aghi to adjust stack pointer.
17552 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17554         [BZ #19853]
17555         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17556         TEST to take significant digits as second parameter.
17557         [TEST]: Redefine in terms of TEST_N taking 30
17558         significant digits.
17559         (do_test): Add test case to demonstrate precision
17560         failure in the ldbl-128ibm printf.
17561         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17562         (__mpn_extract_long_double): Carry 7 extra intermediate
17563         bits of precision to aide computing difference when
17564         signs differ.
17566 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17568         [BZ #19881]
17569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17570         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17571         memset-avx512-unaligned-erms.
17572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17573         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17574         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17575         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17576         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17577         __memset_sse2_unaligned_erms, __memset_erms,
17578         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17579         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17580         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17581         file.
17582         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17583         Likewise.
17584         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17585         Likewise.
17586         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17587         Likewise.
17589 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17591         [BZ #19776]
17592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17593         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17594         memmove-avx512-unaligned-erms.
17595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17596         (__libc_ifunc_impl_list): Test
17597         __memmove_chk_avx512_unaligned_2,
17598         __memmove_chk_avx512_unaligned_erms,
17599         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17600         __memmove_chk_sse2_unaligned_2,
17601         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17602         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17603         __memmove_avx512_unaligned_erms, __memmove_erms,
17604         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17605         __memcpy_chk_avx512_unaligned_2,
17606         __memcpy_chk_avx512_unaligned_erms,
17607         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17608         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17609         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17610         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17611         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17612         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17613         __mempcpy_chk_avx512_unaligned_erms,
17614         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17615         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17616         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17617         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17618         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17619         __mempcpy_erms.
17620         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17621         file.
17622         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17623         Likewise.
17624         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17625         Likewise.
17626         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17627         Likewise.
17629 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17631         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17632         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17633         (La_s390_64_regs): Likewise.
17634         (La_s390_32_retval): Append vector register lrv_v24.
17635         (La_s390_64_retval): Likeweise.
17636         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17637         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17638         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17639         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17641 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17643         [BZ #19916]
17644         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17645         to create a non-vector/vector version for _dl_runtime_resolve and
17646         _dl_runtime_profile. Move implementation to ...
17647         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17648         (_dl_runtime_resolve) Save and restore fpr/vrs.
17649         (_dl_runtime_profile) Save and restore vrs and fix some issues
17650         if _dl_call_pltexit is called.
17651         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17652         Choose the correct resolver function if running on a machine with vx.
17653         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17654         to create a non-vector/vector version for _dl_runtime_resolve and
17655         _dl_runtime_profile. Move implementation to ...
17656         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17657         (_dl_runtime_resolve) Save and restore fpr/vrs.
17658         (_dl_runtime_profile) Save and restore vrs and fix some issues
17659         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17660         Choose the correct resolver function if running on a machine with vx.
17662 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17664         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17666 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17668         [BZ #19509]
17669         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17670         skip_map != NULL.
17671         * elf/tst-dlsym-error.c: New file.
17672         * elf/Makefile (tests): Add tst-dlsym-error.
17673         (tst-dlsym-error): Link against libdl.
17675 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17678         (__ASSUME_FUTIMESAT): Remove macro.
17679         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17681 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17683         [BZ #19879]
17684         CVE-2016-3075
17685         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17686         copy name.
17688 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17690         [BZ #19837]
17691         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17692         error if parse_line fails.
17694 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17696         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17697         (index_cpu_ERMS): Likewise.
17698         (reg_ERMS): Likewise.
17700 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17702         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17703         PER_LINUX_FDPIC): Add.
17705 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17708         memcpy-avx512-no-vzeroupper.
17709         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17710         to ...
17711         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17712         (MEMCPY): Don't define.
17713         (MEMCPY_CHK): Likewise.
17714         (MEMPCPY): Likewise.
17715         (MEMPCPY_CHK): Likewise.
17716         (MEMPCPY_CHK): Renamed to ...
17717         (__mempcpy_chk_avx512_no_vzeroupper): This.
17718         (MEMPCPY_CHK): Renamed to ...
17719         (__mempcpy_chk_avx512_no_vzeroupper): This.
17720         (MEMCPY_CHK): Renamed to ...
17721         (__memmove_chk_avx512_no_vzeroupper): This.
17722         (MEMCPY): Renamed to ...
17723         (__memmove_avx512_no_vzeroupper): This.
17724         (__memcpy_avx512_no_vzeroupper): New alias.
17725         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17727 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17729         [BZ #18858]
17730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17731         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17732         and mempcpy-avx512-no-vzeroupper.
17733         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17734         New.
17735         (MEMPCPY): Likewise.
17736         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17737         (MEMPCPY_CHK): New.
17738         (MEMPCPY): Likewise.
17739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17740         (MEMPCPY): Likewise.
17741         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17742         (MEMPCPY): Likewise.
17743         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17744         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17745         Likewise.
17746         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17747         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17749 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17750              Amit Pawar  <Amit.Pawar@amd.com>
17752         [BZ #19583]
17753         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17754         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17755         processors.  Set Fast_Copy_Backward for AMD Excavator
17756         processors.
17757         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17758         New.
17759         (index_arch_Fast_Unaligned_Copy): Likewise.
17760         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17761         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17763 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17765         [BZ #19791]
17766         * resolv/res_send.c (close_and_return_error): New function.
17767         (send_dg): Initialize *resplen2 after reopen failure.  Call
17768         close_and_return_error for error returns.  On error paths without
17769         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17770         successful return.
17772 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17774         [BZ #19860]
17775         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17776         zero if the compiler does not provide the AVX512F bit.
17778 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17780         [BZ #19848]
17781         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17782         from 8 to 4.
17783         (__ieee754_powl): Compare integer exponent against 4 not 8.
17784         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17785         from 8 to 4.
17786         (__ieee754_powl): Compare integer exponent against 4 not 8.
17787         * math/auto-libm-test-in: Add more tests of pow.
17788         * math/auto-libm-test-out: Regenerated.
17789         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17792 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17794         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17795         Make code unconditional.
17796         [!__NR_utimensat]: Remove conditional code.
17797         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17798         Make code unconditional.
17799         [!__NR_utimensat]: Remove conditional code.
17800         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17801         Make code unconditional.
17802         [!__NR_utimensat]: Remove conditional code.
17804 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17806         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17807         Make code unconditional.
17809 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17811         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17812         call-clobbered %eax on retry path.
17813         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17815 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17817         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17818         Don't set %rcx twice before "rep movsb".
17820 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17822         [BZ #19583]
17823         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17824         inline.  Check family before setting family, model and
17825         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17826         bits here.
17827         (init_cpu_features): Replace HAS_CPU_FEATURE and
17828         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17829         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17830         for Intel processors with usable AVX2.  Call get_common_indeces
17831         for other processors with family == NULL.
17832         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17833         (CPU_FEATURES_ARCH_P): Likewise.
17834         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17835         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17837 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17839         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17840         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17841         $(shared-thread-library) instead of hardcoding the path to libpthread.
17843 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17845         * sysdeps/unix/sysv/linux/kernel-features.h
17846         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17847         * sysdeps/unix/sysv/linux/getdents.c
17848         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17849         [!have_no_getdents64_defined]: Likewise.
17850         (__GETDENTS): Remove __have_no_getdents64 conditional.
17852 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17855         Remove macro.
17856         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17857         <kernel-features.h>.
17858         (signalfd) [__NR_signalfd4]: Make code unconditional.
17859         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17861 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17863         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17864         style.
17866 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17868         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17869         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17870         __pthread_unwind.
17871         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17872         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17874         (__condvar_cleanup1): Likewise.
17876 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17878         [BZ #19822]
17879         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17880         move it to the final $@ location.
17882 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17884         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17885         access where posix_spawn success and pid argument is null.
17886         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17887         success case.
17889 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17891         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17893         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17895         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17896         and __fcntl.
17897         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17898         __fcntl only.
17899         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17900         adding attribute_hidden to __open and __fcntl.
17902         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17903         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17904         depend on libc-modules.h,
17905         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17907 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17909         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17910         Remove macro.
17911         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17912         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17913         entry.
17915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17916         Remove macro.
17917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17918         include <kernel-features.h>.
17919         [!__ASSUME_FALLOCATE]: Remove conditional code.
17920         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17922 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17925         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17926         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17927         (_ZGVdN4v_cos_avx2): Likewise.
17928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17929         (_ZGVdN4v_cos): Likewise.
17930         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17931         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17932         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17933         (_ZGVdN4v_exp_avx2): Likewise.
17934         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17935         (_ZGVdN4v_exp): Likewise.
17936         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17937         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17938         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17939         (_ZGVdN4v_log_avx2): Likewise.
17940         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17941         (_ZGVdN4v_log): Likewise.
17942         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17943         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17944         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17945         (_ZGVdN4vv_pow_avx2): Likewise.
17946         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17947         (_ZGVdN4vv_pow): Likewise.
17948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17949         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17951         (_ZGVdN4v_sin_avx2): Likewise.
17952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17953         (_ZGVdN4v_sin): Likewise.
17954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17955         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17957         (_ZGVdN4vvv_sincos_avx2): Likewise.
17958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17959         (_ZGVdN4vvv_sincos): Likewise.
17960         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17961         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17962         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17963         (_ZGVbN4v_cosf_sse4): Likewise.
17964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17965         (_ZGVdN8v_cosf_avx2): Likewise.
17966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17967         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17969         (_ZGVbN4v_expf_sse4): Likewise.
17970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17971         (_ZGVdN8v_expf_avx2): Likewise.
17972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17973         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17974         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17975         (_ZGVbN4v_logf_sse4): Likewise.
17976         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17977         (_ZGVdN8v_logf_avx2): Likewise.
17978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17979         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17980         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17981         (_ZGVbN4vv_powf_sse4): Likewise.
17982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17983         (_ZGVdN8vv_powf_avx2): Likewise.
17984         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17985         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17986         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17987         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17988         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17989         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17991         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17993         (_ZGVbN4v_sinf_sse4): Likewise.
17994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17995         (_ZGVdN8v_sinf_avx2): Likewise.
17996         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17997         Use JUMPTARGET to call callee.
17998         (WRAPPER_IMPL_SSE2_ff): Likewise.
17999         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18000         (WRAPPER_IMPL_AVX): Likewise.
18001         (WRAPPER_IMPL_AVX_ff): Likewise.
18002         (WRAPPER_IMPL_AVX_fFF): Likewise.
18003         (WRAPPER_IMPL_AVX512): Likewise.
18004         (WRAPPER_IMPL_AVX512_ff): Likewise.
18005         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18006         Likewise.
18007         (WRAPPER_IMPL_SSE2_ff): Likewise.
18008         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18009         (WRAPPER_IMPL_AVX): Likewise.
18010         (WRAPPER_IMPL_AVX_ff): Likewise.
18011         (WRAPPER_IMPL_AVX_fFF): Likewise.
18012         (WRAPPER_IMPL_AVX512): Likewise.
18013         (WRAPPER_IMPL_AVX512_ff): Likewise.
18014         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18016 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18018         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18019         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18020         qualifier.
18021         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18022         internal_function qualifiers.
18024 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18026         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18027         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18028         * math/atest-exp.c (exp_mpn): Mark chk unused.
18029         * math/atest-exp2.c (exp_mpn): Likewise.
18030         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18031         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18033 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18035         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18036         Remove macro.
18037         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18038         <kernel-features.h>.
18039         [__NR_ppoll]: Make code unconditional.
18040         [!__ASSUME_PPOLL]: Remove conditional code.
18042         * sysdeps/unix/sysv/linux/kernel-features.h
18043         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18044         (__ASSUME_ACCEPT4): Likewise.
18045         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18046         Define.
18047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18048         Likewise.
18049         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18050         Likewise.
18051         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18054         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18055         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18056         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18057         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18058         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18061         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18063         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18064         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18065         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18066         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18067         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18068         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18069         Likewise.
18070         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18071         Likewise.
18072         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18073         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18074         0x040300].
18075         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18076         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18077         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18078         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18079         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18080         0x030300].
18081         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18082         * sysdeps/unix/sysv/linux/m68k/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/microblaze/kernel-features.h
18089         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18091         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18092         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18093         0x030300].
18094         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18095         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18096         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18097         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18098         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18099         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18102         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18103         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18104         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18105         0x040300].
18106         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18107         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18108         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18109         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18112         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18113         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18114         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18116         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18117         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18120         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18121         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18122         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18123         Likewise.
18124         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18125         Likewise.
18127 2016-03-15  Andreas Schwab  <schwab@suse.de>
18129         [BZ #19257]
18130         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18131         statp->_u._ext.nscount as loop count.
18133 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18135         * math/test-signgam-finite-c99.c: Also #undef
18136         __LIBC_INTERNAL_MATH_INLINES.
18137         * math/test-signgam-main.c: Likewise.
18139 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18141         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18142         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18143         (MADV_FREE): Likewise.
18144         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18145         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18146         EPOLLEXCLUSIVE.
18148 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18150         * timezone/README: Remove mention of checktab.awk. Mention wiki
18151         SharedSourceFiles.
18153 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18155         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18156         WUNTRACED.
18158 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18160         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18161         order to match the type of p when calling atomic_exchange_acq().
18163 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18165         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18166         cfi_offset calls.
18167         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18168         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18169         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18170         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18171         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18173 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18175         * timezone/checktab.awk: Removed.
18177 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18179         * manual/math.texi (Errors in Math Functions): Document relaxed
18180         accuracy goals for IBM long double.
18181         * math/libm-test.inc (test_exceptions): Always allow spurious
18182         "underflow" and "inexact" exceptions for IBM long double.
18184 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18186         [BZ #19762]
18187         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18188         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18189         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18190         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18191         (bit_arch_*): This for feature array.
18192         (bit_*): Renamed to ...
18193         (bit_cpu_*): This for cpu array.
18194         (index_*): Renamed to ...
18195         (index_arch_*): This for feature array.
18196         (index_*): Renamed to ...
18197         (index_cpu_*): This for cpu array.
18198         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18199         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18200         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18201         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18202         bit_##name with index_cpu_##name and bit_cpu_##name.
18203         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18204         bit_##name with index_arch_##name and bit_arch_##name.
18206 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18208         [BZ #19792]
18209         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18210         Terminate FDE before return label.
18212 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18214         [BZ #19790]
18215         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18216         (rintl): Define as macro.
18217         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18218         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18219         of fesetround.  Ensure results are evaluated before end of scope.
18220         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18221         USE_AS_NEARBYINTL and include s_rintl.c.
18222         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18223         Disable exception traps in new environment.
18224         (libc_feholdsetround_ppc_ctx): Likewise.
18226 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18228         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18229         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18230         (tst_audit10_aux) [__AVX512F__]: ... here.
18232 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18234         * include/sys/auxv.h: New file.
18236 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18238         [BZ #19759]
18239         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18241 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18243         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18244         operand modifier.
18245         (feclearexcept): Likewise.
18247 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18249         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18250         to reflect the entire 32-bit HWCAP.
18251         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18252         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18254 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18256         [BZ #19783]
18257         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18258         $(test-via-rtld-prefix).
18259         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18261 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18263         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18264         union wait.  Report any non-zero exit status as error.
18266 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18268         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18269         configured with --enable-hardcoded-path-in-tests.
18271 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18273         [BZ #19677]
18274         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18275         (__ieee754_remainderl): Put zero low parts in canonical form.
18276         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18277         file.  Based on
18278         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18279         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18280         with wrapper round test-fmodrem-ldbl-128ibm.c.
18281         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18282         file.
18283         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18284         Likewise.
18285         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18286         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18288 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18290         [BZ #19610]
18291         * elf/ldconfig.c (opt_link): Update comment.
18292         (options): Update help string for option -X.
18293         (search_dir): Unlink stale symbolic link only if updating symbolic
18294         links.
18295         * elf/tst-ldconfig-X.sh: New file.
18296         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18297         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18299 2016-03-07  Andreas Schwab  <schwab@suse.de>
18301         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18302         needed arguments.
18304 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18306         [BZ #15333]
18307         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18308         to lstat64.
18310 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18312         * libio/filedoalloc.c (isatty): Remove.
18313         (local_isatty): Add comment.  Call __isatty directly.
18314         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18315         * libio/wfiledoalloc.c (isatty): Remove.
18316         (_IO_wfile_doallocate): Update comment.
18318 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18320         [BZ #19269]
18321         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18322         tst-audit4-aux.o.
18323         (tst-audit10): Depend on tst-audit10-aux.o.
18324         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18325         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18326         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18327         instead of inline AVX code.
18328         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18329         instead of inline AVX512 code.
18330         * sysdeps/x86_64/tst-audit4-aux.c: New file
18331         * sysdeps/x86_64/tst-audit10-aux.c: New file
18333         [BZ #19648]
18334         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18336 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18338         [BZ #14750]
18339         [BZ #10354]
18340         [BZ #18433]
18341         * include/sched.h (__clone): Add hidden prototype.
18342         (__clone2): Likewise.
18343         * include/unistd.h (__dup): Likewise.
18344         * posix/Makefile (tests): Add tst-spawn2.
18345         * posix/tst-spawn2.c: New file.
18346         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18347         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18348         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18349         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18350         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18351         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18352         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18353         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18354         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18355         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18356         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18358         Likewise.
18359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18360         Likewise.
18361         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18362         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18363         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18364         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18365         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18366         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18367         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18368         * sysdeps/unix/sysv/linux/nptl-signals.h
18369         (____nptl_is_internal_signal): New function.
18370         * sysdeps/unix/sysv/linux/spawni.c: New file.
18372         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18373         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18374         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18375         * posix/tst-execvp2.c (do_test): Likewise.
18376         * posix/tst-execvp3.c (do_test): Likewise.
18377         * posix/tst-execvp4.c (do_test): Likewise.
18378         * posix/tst-execvpe1.c: New file.
18379         * posix/tst-execvpe2.c: Likewise.
18380         * posix/tst-execvpe3.c: Likewise.
18381         * posix/tst-execvpe4.c: Likewise.
18382         * posix/tst-execvpe5.c: Likewise.
18383         * posix/tst-execvpe6.c: Likewise.
18385         [BZ #19534]
18386         * posix/execl.c (execl): Remove dynamic memory allocation.
18387         * posix/execle.c (execle): Likewise.
18388         * posix/execlp.c (execlp): Likewise.
18390 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18392         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18393         Replace .text with .text.avx512.
18394         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18395         Likewise.
18397 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18399         * sysdeps/generic/libnsl.abilist: New file.
18400         * sysdeps/generic/libutil.abilist: New file.
18402 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18404         [BZ #19762]
18405         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18406         HAS_ARCH_FEATURE with Fast_Rep_String.
18407         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18408         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18409         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18410         Likewise.
18411         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18412         Likewise.
18413         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18414         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18415         Likewise.
18416         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18417         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18418         Likewise.
18420 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18422         [BZ #19745]
18423         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18424         with *%rax in call.
18426 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18428         [BZ #19745]
18429         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18430         with *__libc_start_main@GOTPCREL(%rip) in call.
18432 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18434         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18435         inside conditional for nonempty $(CXX).
18437         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18438         nonempty.
18440         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18441         to test for empty $(CXX) rather than $(CXX) of "no".
18443 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18445         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18447 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18448             H.J. Lu  <hongjiu.lu@intel.com>
18450         [BZ #18880]
18451         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18452         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18453         enable __memcpy_ssse3_back.
18455 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18457         [BZ #19758]
18458         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18459         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18461 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18463         [BZ #19490]
18464         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18465         (__fentry__): Likewise.
18467 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18469         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18470         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18472 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18474         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18475         __mcount_internal directly.
18476         (C_LABEL(__fentry__)): Likewise.
18477         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18478         directly.
18480 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18482         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18483         (__start_context): Call __setcontext directly.
18485 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18488         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18489         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18490         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18492         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18493         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18494         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18495         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18496         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18497         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18498         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18499         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18500         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18501         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18503         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18505         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18506         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18507         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18509         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18510         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18511         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18512         Remove conditional code.
18513         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18514         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18515         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18516         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18517         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18518         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18519         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18520         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18521         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18522         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18524         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18526 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18528         * NEWS (2.23): Fix typo in bug 19048 text.
18530 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18532         [BZ #14259]
18533         * Makeconfig: Rename msgcatdir to localedir.
18534         Rename inst_msgcatdir to inst_localedir.
18535         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18536         * config.make.in: Add localedir.
18537         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18538         (ldd-rewrite): Likewise.
18539         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18540         (install-others): Use inst_localedir.
18541         (CPPFLAGS): Use localedir.
18542         * locale/Makefile (locale-CPPFLAGS): Likewise.
18543         * po/Makefile (mo-installed): Use inst_localedir.
18545         [BZ #19575]
18546         * localedata/charmaps/GB18030: Update comments regarding PAU to
18547         non-PUA mappings.
18549 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18551         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18552         test for header.
18553         * sysdeps/unix/sysv/linux/configure: Regenerated.
18554         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18555         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18556         Remove conditional code.
18557         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18559         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18560         Define to 3.2.0.
18561         (arch_minimum_kernel): Likewise.
18562         * sysdeps/unix/sysv/linux/configure: Regenerated.
18563         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18564         Define to 2.6.32.
18565         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18566         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18567         (arch_minimum_kernel): Define to 2.6.32.
18568         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18569         * README: Document Linux 3.2 requirement.
18570         * manual/install.texi (Linux): Document Linux 3.2 headers
18571         requirement.
18572         * INSTALL: Regenerated.
18574 2016-02-24  Andreas Schwab  <schwab@suse.de>
18576         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18577         if !NO_LONG_DOUBLE.
18579 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18581         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18582         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18584 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18586         [BZ #19512]
18587         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18589 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18591         * posix/tst-dir.c: Include libc-internal.h.
18593 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18595         [BZ #19056]
18596         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18597         * manual/filesys.texi (Reading/Closing Directory): Mention
18598         deprecaion.
18599         * posix/tst-dir.c (main): Disable deprecation warning in test.
18601 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18603         [BZ #19679]
18604         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18605         Renamed to ...
18606         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18607         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18608         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18609         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18610         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18611         * sysdeps/x86_64/dl-trampoline.h
18612         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18613         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18615 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18617         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18619 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18621         * elf/elf.h (R_386_GOT32X): New.
18622         (R_386_NUM): Update.
18623         (R_X86_64_GOTPCRELX: New.
18624         (R_X86_64_REX_GOTPCRELX): New.
18625         (R_X86_64_NUM): Update.
18627 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18629         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18631 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18633         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18634         assign attr->stackaddr to it, and adjust it down when
18635         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18636         [_STACK_GROWS_UP]: Delete assert.
18637         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18638         Implement stack grows up logic.
18639         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18640         stack grows up logic.
18642 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18644         * NEWS: Update with 2.24 template.
18646 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18648         [BZ #19678]
18649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18650         Ensure +0.0 is returned when taking the next value below the least
18651         positive value.
18653 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18655         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18656         available.  Do not define NO_THREADS.
18657         * malloc/malloc.c: Do not check NO_THREADS.
18658         * malloc/arena.c: Likewise.
18660 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18662         * malloc/malloc.c (__libc_mallinfo): Update comment.
18663         (struct malloc_par): Remove max_total_mem member, it was always 0.
18664         (int_mallinfo): Store 0 into usmblks (no functional change).
18665         * malloc/hooks.c (struct malloc_state): Document that
18666         max_total_mem is always 0.
18667         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18668         always 0.
18669         * manual/memory.texi (Statistics of Malloc): Likewise.
18671 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18673         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18674         * malloc/arena.c (arena_max): Remove.
18675         (heap_trim, _int_new_arena): Do not update arena_max.
18677 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18679         * resolv/res_init.c (res_ninit): Update comment.
18681 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18683         [BZ #19505]
18684         * posix/spawn_int.h: Add headers and include guard.
18685         (__spawn_valid_fd): New function.
18686         * posix/spawn_faction_addopen.c
18687         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18688         * posix/spawn_faction_addclose.c
18689         (posix_spawn_file_actions_addclose): Likewise.
18690         * posix/spawn_faction_adddup2.c
18691         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18692         second file descriptor.
18693         * posix/spawn_valid_fd.c: New file.
18694         * posix/tst-posix_spawn-fd.c: New file.
18695         * posix/Makefile (routines): Add spawn_valid_fd.
18696         (tests): Add tst-posix_spawn-fd.
18698 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18700         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18701         (do_test): Limit the number of arenas, so that we can use fewer
18702         outer threads.  Limit timeout to 3 seconds, in preparation for a
18703         larger TIMEOUT value.
18705 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18707         [BZ #19674]
18708         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18709         sign in overflowing and underflowing results when overflow or
18710         underflow is detected early.  Include sign in result before rather
18711         than after scaling.
18713         [BZ #19603]
18714         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18715         (__ieee754_remainderl): Adjust sign of integer version of low part
18716         when taking absolute value of high part.
18717         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18718         * math/libm-test.inc (remainder_test_data): Add another test.
18719         (remquo_test_data): Likewise.
18721 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18723         [BZ #19602]
18724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18725         equal high parts and both low parts zero specially.
18726         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18727         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18728         Add test-fmodl-ldbl-128ibm.
18730         [BZ #19595]
18731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18732         common logic for all cases of shifting subnormal results.  Do not
18733         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18734         exponent to ldbl_insert_mantissa in subnormal case.
18736         [BZ #19594]
18737         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18738         on high and low parts then adjust result and use
18739         ldbl_canonicalize_int if needed.
18741         [BZ #19593]
18742         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18743         on high part and __floor or __ceil on low part then use
18744         ldbl_canonicalize_int if needed.
18746         [BZ #19592]
18747         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18748         high and low parts then use ldbl_canonicalize_int if needed.
18750         [BZ #17899]
18751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18752         New function.
18753         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18754         on high and low parts then use ldbl_canonicalize_int if needed.
18756 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18758         * configure: Regenerated.
18760         * po/libc.pot: Regenerated.
18762         * po/be.po: Updated translation.
18763         * po/bg.po: Likewise.
18764         * po/ca.po: Likewise.
18765         * po/cs.po: Likewise.
18766         * po/da.po: Likewise.
18767         * po/el.po: Likewise.
18768         * po/eo.po: Likewise.
18769         * po/es.po: Likewise.
18770         * po/fi.po: Likewise.
18771         * po/fr.po: Likewise.
18772         * po/gl.po: Likewise.
18773         * po/hr.po: Likewise.
18774         * po/hu.po: Likewise.
18775         * po/ia.po: Likewise.
18776         * po/id.po: Likewise.
18777         * po/it.po: Likewise.
18778         * po/ja.po: Likewise.
18779         * po/lt.po: Likewise.
18780         * po/nb.po: Likewise.
18781         * po/nl.po: Likewise.
18782         * po/pt_BR.po: Likewise.
18783         * po/rw.po: Likewise.
18784         * po/sk.po: Likewise.
18785         * po/sl.po: Likewise.
18786         * po/sv.po: Likewise.
18787         * po/tr.po: Likewise.
18788         * po/zh_CN.po: Likewise.
18789         * po/zh_TW.po: Likewise.
18791         * version.h (RELEAES): Set to "development".
18792         (VERSION): Set to 2.23.90.
18794         * version.h (RELEASE): Set to "stable".
18795         (VERSION): Set to 2.23.
18796         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18798         * NEWS: Updated fixed bugs.
18800 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18801             Wilco Dijkstra  <wdijkstr@arm.com>
18803         [BZ #19462]
18804         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18805         (_STRING_INLINE_unaligned): This.
18806         * include/string.h: Include <string_private.h>.
18807         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18808         _STRING_INLINE_unaligned.
18809         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18810         (_STRING_INLINE_unaligned): New.
18811         * sysdeps/aarch64/string_private.h: New file.
18812         * sysdeps/generic/string_private.h: Likewise.
18813         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18814         * sysdeps/s390/string_private.h: Likewise.
18815         * sysdeps/x86/string_private.h: Likewise.
18816         * sysdeps/m68k/m680x0/m68020/bits/string.h
18817         (_STRING_ARCH_unaligned): Renamed to ...
18818         (_STRING_INLINE_unaligned): This.
18819         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18820         to ...
18821         (_STRING_INLINE_unaligned): This.
18822         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18823         to ...
18824         (_STRING_INLINE_unaligned): This.
18825         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18826         to ...
18827         (_STRING_INLINE_unaligned): This.
18829 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18830             H.J. Lu  <hongjiu.lu@intel.com>
18832         [BZ #19590]
18833         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18834         relocation.
18836 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18838         [BZ #18665]
18839         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18840         *herrno_p.
18841         (gaih_getanswer): Document functional behviour. Return tryagain
18842         if any result is tryagain.
18843         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18844         when freed.
18845         * resolv/res_send.c: Add copyright text.
18846         (__libc_res_nsend): Document that MAXPACKET is expected.
18847         (send_vc): Document. Remove buffer reuse.
18848         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18849         size of the buffer. Add Dprint for truncated UDP buffer.
18851 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18853         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18854         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18855         * INSTALL: Regenerate.
18857 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18858             Jonathan Wakely  <jwakely@redhat.com>
18859             Carlos O'Donell  <carlos@redhat.com>
18861         [BZ 19439]
18862         * math/Makefile (tests): Add test-math-isinff.
18863         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18864         * math/bits/mathcalls.h [__USE_MISC]: Use
18865         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18866         functions not in C++11 and which don't conflict e.g. isinff,
18867         isinfl etc.
18868         * math/test-math-isinff.cc: New file.
18870 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18872         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18874 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18876         [BZ #19529]
18877         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18879 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18881         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18883 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18885         [BZ #19550]
18886         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18887         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18888         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18889         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18890         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18891         New syscall entry.
18892         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18893         New syscall entry.
18894         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18895         syscall entry.
18897 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18899         [BZ #18240]
18900         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18901         unsigned int wraparound.
18903 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18905         [BZ #18240]
18906         * misc/bug18240.c: New test.
18907         * misc/Makefile (tests): Add it.
18909 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18910             Joseph Myers  <joseph@codesourcery.com>
18912         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18913         load in branch delay slot when less than a word of input left.
18915 2016-01-27  Andreas Schwab  <schwab@suse.de>
18917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18919         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18920         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18922 2016-01-26  David S. Miller  <davem@davemloft.net>
18924         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18926 2016-01-25  David S. Miller  <davem@davemloft.net>
18928         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18929         __sqrtl_finite.
18930         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18931         instead using versioned_symbol.
18932         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18933         of entries.
18935         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18936         __sqrtl_finite to GLIBC_2.23
18938 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18940         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18942 2016-01-25  Andreas Schwab  <schwab@suse.de>
18944         [BZ #17514]
18945         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18946         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18947         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18948         * nptl/tst-mutex-errorcheck.c: New file.
18950 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18952         [BZ #18560]
18953         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18954         (IPCOP_semop): Likewise.
18955         (IPCOP_semget): Likewise.
18956         (IPCOP_semctl): Likewise.
18957         (IPCOP_msgsnd): Likewise.
18958         (IPCOP_msgrcv): Likewise.
18959         (IPCOP_msgget): Likewise.
18960         (IPCOP_msgctl): Likewise.
18961         (IPCOP_shmat): Likewise.
18962         (IPCOP_shmdt): Likewise.
18963         (IPCOP_shmget): Likewise.
18964         (IPCOP_shmctl): Likewise.
18966 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18968         * string/tst-endian.c: Include <libc-internal.h>.
18969         (do_test): Ignore tautological-compare warnings around
18970         "htobeXX (beXXtoh (i)) != i" and
18971         "htoleXX (leXXtoh (i)) != i" if-statements.
18973 2016-01-24  David S. Miller  <davem@davemloft.net>
18975         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18976         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18977         alias.
18978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18979         __sqrtl_finite.
18981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18983 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18985         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18986         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18987         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18989 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18991         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18992         (thread_func): Use new function to simplify barrier check.
18993         (do_test): Use new function to simplify checking barrier exit
18994         code, and actually join the child thread.
18996 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18998         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18999         semicolon.
19000         (__libc_tend): Likewise.
19001         (__libc_tabort): Likewise.
19003 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19005         * sysdeps/nios2/libm-test-ulps: Update.
19006         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19007         (__gtsf2): Likewise.
19008         (__unorddf2): Likewise.
19009         (__unordsf2): Likewise.
19010         (__ledf2): Likewise.
19012 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19014         * nis/nis_table.c (__follow_path): Disable diagnostic for
19015         uninitialized variable that is a false positive for gcc 4.7.
19016         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19018 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19020         * sysdeps/nacl/lowlevellock-futex.h
19021         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19022         Always evaluate PRIVATE argument.
19024 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19026         [BZ #19490]
19027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19028         (pthread_cond_broadcast): Use ENTRY/END
19029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19030         (pthread_cond_signal): Likewise.
19031         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19032         Likewise.
19033         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19034         Likewise.
19035         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19036         Likewise.
19038 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19040         * sysdeps/ieee754/dbl-64/s_finite.c
19041         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19042         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19043         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19045         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19048         (__gtsf2): Add as optional for libc.so.
19049         (__unordsf2): Likewise.
19050         (__signbit): Remove for libc.so.
19051         (__signbitl): Likewise.
19053 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19055         * iconvdata/bug-iconv11.c (test_ibm93x):
19056         Use %zu printf format specifier for size_t argument.
19058 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19060         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19061         already-recorded ulps.
19062         * sysdeps/arm/libm-test-ulps: Regenerated.
19063         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19065         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19067 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19068             Paul Pluzhnikov  <ppluzhnikov@google.com>
19070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19071         assembler not supporting AVX-512.
19073 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19075         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19077 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19079         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19080         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19082         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19084         * sysdeps/arm/libm-test-ulps: Regenerated.
19086 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19088         [BZ #19451]
19089         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19091 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19093         [BZ #19486]
19094         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19095         * sysdeps/generic/fix-fp-int-convert-overflow.h
19096         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19097         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19098         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19099         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19100         Likewise.
19101         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19102         Avoid conversions to long int where inexact exceptions
19103         could be raised.
19104         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19105         Likewise.
19106         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19107         Avoid conversions to long long int where inexact exceptions
19108         could be raised.
19109         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19110         Likewise.
19112 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19114         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19115         * configure: Regenerated.
19117 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19119         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19121 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19123         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19124         outside of comment.
19126 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19128         * nptl/tst-barrier1.c: Add description on first line.
19129         * nptl/tst-barrier2.c: Likewise.
19130         * nptl/tst-barrier3.c: Likewise.
19131         * nptl/tst-barrier4.c: Likewise.
19132         * nptl/tst-barrier5.c: Likewise.
19134 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19136         [BZ #18868]
19137         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19139 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19143         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19144         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19145         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19146         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19147         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19148         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19149         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19150         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19151         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19153 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19155         [BZ #13065]
19156         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19157         new implementation.
19158         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19159         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19160         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19161         (BARRIER_IN_THRESHOLD): New macro.
19162         * nptl/pthread_barrierattr_setpshared.c
19163         (pthread_barrierattr_setpshared): Clean up.
19164         * nptl/tst-barrier4.c: Correct comment.
19165         * nptl/tst-barrier5.c: New file.
19166         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19167         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19168         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19169         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19170         * nptl/lowlevelbarrier.sym: Remove.
19171         * nptl/DESIGN-barrier.txt: Remove.
19172         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19173         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19174         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19175         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19176         error.
19177         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19178         implementation.
19180 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19182         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19183         (do_child): Mask SIGRTMIN while thr is running.
19185 2016-01-15  Martin Sebor  <msebor@redhat.com>
19187         [BZ #19432]
19188         * iconvdata/Makefile: Add bug-iconv11.
19189         * iconvdata/bug-iconv11.c: New test.
19190         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19191         * iconvdata/ibm933.c: Same.
19192         * iconvdata/ibm935.c: Same.
19193         * iconvdata/ibm937.c: Same.
19194         * iconvdata/ibm939.c: Same.
19196 2016-01-15  Martin Sebor  <msebor@redhat.com>
19198         [BZ #19443]
19199         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19200         [DEBUG] (_ufc_set_bits): Declare used.
19201         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19202         [DEBUG] (print_all): Declare used.
19203         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19204         operands of the ternary ?: expression to target type.
19205         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19206         calling the undeclared abort.
19207         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19209 2016-01-15  Martin Sebor  <msebor@redhat.com>
19211         [BZ #18755]
19212         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19213         warnings.
19214         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19215         (__gai_create_helper_thread): Same.
19216         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19217         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19218         to suppress -Wmaybe-uninitialized warnings.
19220 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19222         [BZ #19465]
19223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19224         inside if.
19225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19226         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19229 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19231         [BZ #19466]
19232         * time/tst-mktime2.c (time_t_max): Removed.
19233         (time_t_min): Likewise.
19234         (TYPE_SIGNED): New.
19235         (TYPE_MINIMUM): Likewise.
19236         (TYPE_MAXIMUM): Likewise.
19237         (TIME_T_MIN): Likewise.
19238         (TIME_T_MAX): Likewise.
19239         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19240         and TIME_T_MIN.
19241         (do_test): Likewise.
19243 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19245         [BZ #19467]
19246         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19247         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19249 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19251         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19253 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19255         * benchtests/Makefile (PYTHON): Define.
19256         (bench-func): Use $(PYTHON) to run python scripts.
19257         ($(objpfx)bench-%.c): Likewise.
19259 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19261         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19262         leading slash when `file_name' is "/".
19264 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19266         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19267         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19270         Likewise.
19271         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19272         Likewise.
19273         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19274         enum constant and macro.
19275         (PTRACE_SETSIGMASK): Likewise.
19276         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19277         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19278         (PTRACE_GETSIGMASK): Likewise.
19279         (PTRACE_SETSIGMASK): Likewise.
19280         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19281         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19282         Likewise.
19283         (PTRACE_SETSIGMASK): Likewise.
19284         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19286         (PTRACE_GETSIGMASK): Likewise.
19287         (PTRACE_SETSIGMASK): Likewise.
19288         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19289         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19290         Likewise.
19291         (PTRACE_SETSIGMASK): Likewise.
19292         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19293         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19294         Likewise.
19295         (PTRACE_SETSIGMASK): Likewise.
19296         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19297         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19298         Likewise.
19299         (PTRACE_SETSIGMASK): Likewise.
19300         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19302 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19303             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19305         [BZ #19439]
19306         * math/bits/mathcalls.h
19307         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19308         prototype.
19309         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19311 2016-01-11  Andreas Schwab  <schwab@suse.de>
19313         [BZ #19253]
19314         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19315         cache when TZDEFRULES was used.
19316         * time/tst-tzname.c: New file.
19317         * time/Makefile (test): Add tst-tzname.
19318         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19319         * timezone/Makefile (test-zones): Add $(posixrules-file).
19320         ($(testdata)/$(posixrules-file)): New rule.
19322 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19324         Fix doc quoting problems with Texinfo 5
19325         Without this change, in the info file output, Texinfo 5 quotes code
19326         in text with undirected single quotes 'like this' and generates
19327         code examples that with many PDF readers cannot be cut out of PDFs
19328         and pasted into code.
19329         * manual/libc.texinfo: Configure the libc manual like the GNU
19330         Emacs manual, by using @documentencoding and setting
19331         txicodequoteundirected and txicodequotebacktick.  This way,
19332         Texinfo 5 quotes code in text with directed single quotes ‘like
19333         this’ and produces examples that can be cut out of PDFs.  This
19334         change causes Texinfo 5 to generate info files that contain UTF-8
19335         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19336         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19338 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19340         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19341         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19342         barriers to their respective compiler built-ins.
19343         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19344         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19345         * sysdeps/powerpc/sysdep.h: Likewise.
19346         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19347         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19348         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19350 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19352         * scripts/config.guess: Revert previous shebang change.
19353         * scripts/config.sub: Likewise.
19354         * scripts/mkinstalldirs: Likewise.
19356 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19358         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19359         PPC_FEATURE2_HAS_IEEE128.
19360         * sysdeps/powerpc/dl-procinfo.c:
19361         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19363 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19365         [BZ #19415]
19366         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19367         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19368         (_dl_lookup_address): Rewrite using function resolver trampoline.
19369         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19370         two bits in address.
19372 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19374         * longlong.h: Change !__SHMEDIA__ to
19375         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19376         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19378 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19379             Joseph Myers  <joseph@codesourcery.com>
19380             Mark Shinwell  <shinwell@codesourcery.com>
19381             Andrew Stubbs  <ams@codesourcery.com>
19382             Rich Felker <dalias@libc.org>
19384         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19386 2016-01-07  Richard Henderson  <rth@redhat.com>
19388         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19390 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19392         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19393         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19394         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19395         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19396         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19398 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19399             Joseph Myers  <joseph@codesourcery.com>
19401         * timezone/private.h: Update from tzcode 2015g.
19402         * timezone/tzfile.h: Likewise.
19403         * timezone/tzselect.ksh: Likewise.
19404         * timezone/zdump.c: Likewise.
19405         * timezone/zic.c: Likewise.
19406         * timezone/ialloc.c: Remove file.
19407         * timezone/scheck.c: Likewise.
19408         * timezone/Makefile (extra-objs): Remove variable.
19409         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19410         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19411         -Wno-maybe-uninitialized.
19412         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19413         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19414         (CFLAGS-ialloc.c): Remove variable.
19415         (CFLAGS-scheck.c): Likewise.
19416         * timezone/README: Update list of files from tzcode.
19418 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19420         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19421         instead of __fxprintf when _LIBC is undefined.
19423 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19425         * catgets/test-gencat.sh: Remove space after shebang.
19426         * conform/GlibcConform.pm: Likewise.
19427         * conform/check-header-lists.sh: Likewise.
19428         * conform/conformtest.pl: Likewise.
19429         * conform/linknamespace.pl: Likewise.
19430         * conform/list-header-symbols.pl: Likewise.
19431         * debug/catchsegv.sh: Likewise.
19432         * elf/genrtldtbl.awk: Likewise.
19433         * elf/tst-pathopt.sh: Likewise.
19434         * elf/tst-rtld-load-self.sh: Likewise.
19435         * grp/tst_fgetgrent.sh: Likewise.
19436         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19437         * iconvdata/gen-8bit-gap.sh: Likewise.
19438         * iconvdata/gen-8bit.sh: Likewise.
19439         * iconvdata/run-iconv-test.sh: Likewise.
19440         * intl/tst-gettext.sh: Likewise.
19441         * intl/tst-gettext2.sh: Likewise.
19442         * intl/tst-gettext4.sh: Likewise.
19443         * intl/tst-gettext6.sh: Likewise.
19444         * intl/tst-translit.sh: Likewise.
19445         * io/ftwtest-sh: Likewise.
19446         * libio/test-freopen.sh: Likewise.
19447         * locale/gen-translit.pl: Likewise.
19448         * malloc/tst-mtrace.sh: Likewise.
19449         * manual/check-safety.sh: Likewise.
19450         * manual/libc-texinfo.sh: Likewise.
19451         * manual/tsort.awk: Likewise.
19452         * manual/xtract-typefun.awk: Likewise.
19453         * nptl/tst-cancel-wrappers.sh: Likewise.
19454         * nptl/tst-tls6.sh: Likewise.
19455         * posix/globtest.sh: Likewise.
19456         * posix/tst-getconf.sh: Likewise.
19457         * posix/wordexp-tst.sh: Likewise.
19458         * scripts/check-c++-types.sh: Likewise.
19459         * scripts/check-local-headers.sh: Likewise.
19460         * scripts/config.guess: Likewise.
19461         * scripts/config.sub: Likewise.
19462         * scripts/cpp: Likewise.
19463         * scripts/cross-test-ssh.sh: Likewise.
19464         * scripts/documented.sh: Likewise.
19465         * scripts/evaluate-test.sh: Likewise.
19466         * scripts/gen-libc-abis: Likewise.
19467         * scripts/gen-sorted.awk: Likewise.
19468         * scripts/list-fixed-bugs.py: Likewise.
19469         * scripts/merge-test-results.sh: Likewise.
19470         * scripts/mkinstalldirs: Likewise.
19471         * scripts/rellns-sh: Likewise.
19472         * scripts/test-installation.pl: Likewise.
19473         * scripts/update-copyrights: Likewise.
19474         * stdio-common/tst-printf.sh: Likewise.
19475         * stdio-common/tst-unbputc.sh: Likewise.
19476         * stdlib/tst-fmtmsg.sh: Likewise.
19477         * stdlib/tst-setcontext3.sh: Likewise.
19478         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19479         * sysdeps/unix/make-syscalls.sh: Likewise.
19481 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19483         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19484         asm stw with atomic_exchange_rel.  Add explanatory comment.
19485         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19486         Likewise.
19488 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19490         [BZ #19122]
19491         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19492         * sysdeps/generic/dl-unistd.h: New file.
19493         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19495 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19497          [BZ #19122]
19498          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19499          * sysdeps/generic/dl-mman.h: New file.
19500          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19502 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19504         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19505         trailing whitespace removed.
19506         * scripts/config.guess: Update to version 2016-01-01.
19507         * scripts/config.sub: Update to version 2016-01-01.
19508         * scripts/move-if-change: Update from gnulib.
19510 2016-01-04  Anton Blanchard  <anton@samba.org>
19512         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19513         for array indices.
19514         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19516 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19518         * NEWS: Update copyright dates.
19519         * catgets/gencat.c (print_version): Likewise.
19520         * csu/version.c (banner): Likewise.
19521         * debug/catchsegv.sh: Likewise.
19522         * debug/pcprofiledump.c (print_version): Likewise.
19523         * debug/xtrace.sh (do_version): Likewise.
19524         * elf/ldconfig.c (print_version): Likewise.
19525         * elf/ldd.bash.in: Likewise.
19526         * elf/pldd.c (print_version): Likewise.
19527         * elf/sotruss.sh: Likewise.
19528         * elf/sprof.c (print_version): Likewise.
19529         * iconv/iconv_prog.c (print_version): Likewise.
19530         * iconv/iconvconfig.c (print_version): Likewise.
19531         * locale/programs/locale.c (print_version): Likewise.
19532         * locale/programs/localedef.c (print_version): Likewise.
19533         * login/programs/pt_chown.c (print_version): Likewise.
19534         * malloc/memusage.sh (do_version): Likewise.
19535         * malloc/memusagestat.c (print_version): Likewise.
19536         * malloc/mtrace.pl: Likewise.
19537         * manual/libc.texinfo: Likewise.
19538         * nptl/version.c (banner): Likewise.
19539         * nscd/nscd.c (print_version): Likewise.
19540         * nss/getent.c (print_version): Likewise.
19541         * nss/makedb.c (print_version): Likewise.
19542         * posix/getconf.c (main): Likewise.
19543         * scripts/test-installation.pl: Likewise.
19544         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19546         * All files with FSF copyright notices: Update copyright dates
19547         using scripts/update-copyrights.
19548         * intl/plural.c: Regenerated.
19549         * locale/programs/charmap-kw.h: Likewise.
19550         * locale/programs/locfile-kw.h: Likewise.
19552 2016-01-02  Helge Deller  <deller@gmx.de>
19554         [BZ #19285]
19555         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19556         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19557         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19558         (MADV_xxK_PAGES): Remove.
19560 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19562         [BZ #15421]
19563         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19564         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19565         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19566         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19568 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19570         [BZ #19408]
19571         * sysdeps/unix/sysv/linux/personality.c: New file.
19572         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19573         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19574         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19575         (sysdep_routines): Add personality.
19576         (tests): Add tst-personality.
19577         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19579         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19580         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19581         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19582         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19583         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19584         Likewise.
19585         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19586         Likewise.
19587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19588         Likewise.
19589         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19590         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19591         Likewise.
19593 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19595         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19596         (PATH_ARM_SYSTYPE): Remove.
19597         (PATH_CPUINFO): Likewise.
19598         (IO_BASE_FOOTBRIDGE): Likewise.
19599         (IO_SHIFT_FOOTBRIDGE): Likewise.
19600         (struct platform): Likewise.
19601         (init_iosys): Remove compatibility code for 2.4 kernels.
19602         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19604 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19606         * malloc/tst-malloc-thread-fail.c: New file.
19607         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19608         (tst-malloc-thread-fail): Link against libpthread.
19610 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19612         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19613         (get_parser): New function.
19614         (main): New function.
19616 2015-12-29  Rob Wu  <rob@robwu.nl>
19618         [BZ #19369]
19619         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19621 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19623         [BZ #19270]
19624         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19626 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19628         [BZ #15421]
19629         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19631 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19633         [BZ #13690]
19634         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19635         after releasing it.
19636         (__lll_robust_unlock): Likewise.
19637         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19638         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19639         (lll_robust_unlock): Likewise.
19640         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19641         Prevent warnings in callers.
19643 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19645         * malloc/arena.c (list_lock): Update comment.
19647 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19649         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19650         __parse_hwcap_and_convert_at_platform to libc.a.
19652 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19654         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19655         platform and feature support for POWER9.
19656         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19657         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19658         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19659         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19660         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19661         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19662         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19663         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19665 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19667         Harmonize generic stdio-lock support with nptl
19669         This fixes build when _IO_funlockfile is a macro, fixes build where
19670         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19671         stack unwind.
19673         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19674         _IO_release_lock ): Use cleanup attribute on new
19675         _IO_acquire_lock_file variable instead of assuming that
19676         _IO_release_lock will be called.
19677         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19678         _IO_acquire_lock_needs_exceptions_enabled.
19679         (_IO_acquire_lock_clear_flags2): New macro.
19681 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19683         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19685 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19687         [BZ #19182]
19688         * malloc/arena.c (list_lock): Document lock ordering requirements.
19689         (free_list_lock): New lock.
19690         (ptmalloc_lock_all): Comment on free_list_lock.
19691         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19692         (detach_arena): Update comment.  free_list_lock is now needed.
19693         (_int_new_arena): Use free_list_lock around detach_arena call.
19694         Acquire arena lock after list_lock.  Add comment, including FIXME
19695         about incorrect synchronization.
19696         (get_free_list): Switch to free_list_lock.
19697         (reused_arena): Acquire free_list_lock around detach_arena call
19698         and attached threads counter update.  Add two FIXMEs about
19699         incorrect synchronization.
19700         (arena_thread_freeres): Switch to free_list_lock.
19701         * malloc/malloc.c (struct malloc_state): Update comments to
19702         mention free_list_lock.
19704 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19706         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19707         Remove functions.
19708         (sloww, sloww1): Accept argument to offset quadrant.
19709         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19710         quadrant.
19711         (__sin, __cos): Consolidate common code into new functions.
19712         (reduce_sincos_1, do_sincos_1): New functions.
19713         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19716         code to new functions.
19717         (reduce_sincos_2, do_sincos_2): New functions.
19718         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19721         common code for sincos.
19722         (__cos) [!IN_SINCOS]: Likewise.
19723         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19724         New function.
19725         (__sincos): Use it.
19727 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19729         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19730         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19731         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19733 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19735         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19738         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19740         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19741         index_Prefer_No_VZEROUPPER): New feature.
19742         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19743         Prefer_No_VZEROUPPER for Knights Landing.
19745 015-12-18  Torvald Riegel  <triegel@redhat.com>
19747         * math/atest-exp2.c (mp_exp_m1): Remove.
19749 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19751         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19752         syscalls.
19753         (__SYSCALL0): New macro.
19754         (__SYSCALL1): Likewise.
19755         (__SYSCALL2): Likewise.
19756         (__SYSCALL3): Likewise.
19757         (__SYSCALL4): Likewise.
19758         (__SYSCALL5): Likewise.
19759         (__SYSCALL6): Likewise.
19760         (__SYSCALL_CONCAT_X): Likewise.
19761         (__SYSCALL_CONCAT): Likewise.
19762         (__SYSCALL_DIST): Likewise.
19763         (__SYSCALL_CALL): Likewise.
19765 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19767         [BZ #19363]
19768         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19770 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19772         [BZ #19375]
19773         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19774         negative subnormals.
19776 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19779         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19780         (INTERNAL_SYSCALL_NCS): Use it.
19781         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19783 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19785         [BZ #19243]
19786         * malloc/arena.c (get_free_list): Remove assert and adjust
19787         reference count handling.  Add comment about reused_arena
19788         interaction.
19789         (reused_arena): Add comments abount get_free_list interaction.
19790         * malloc/tst-malloc-thread-exit.c: New file.
19791         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19792         (tst-malloc-thread-exit): Link against libpthread.
19794 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19796         [BZ #19367]
19797         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19798         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19799         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19800         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19801         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19803 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19805         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19806         Silvermont optimizations for Knights Landing.
19808 2015-12-15  Andreas Schwab  <schwab@suse.de>
19810         [BZ #17197]
19811         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19812         immediately after emitting SI.
19813         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19814         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19815         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19816         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19817         * iconvdata/bug-iconv10.c: New file.
19818         * iconvdata/Makefile (tests): Add bug-iconv10.
19819         ($(objpfx)bug-iconv10.out): New rule.
19821 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19823         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19824         aliasing violation.
19826 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19828         [BZ #18472]
19829         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19830         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19831         conditionals for them.
19832         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19833         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19835         sys/kdaemon.h.
19836         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19837         compat-only syscall, obsoleted in glibc 2.23.
19838         (create_module): Likewise.
19839         (get_kernel_syms): Likewise.
19840         (query_module): Likewise.
19841         (uselib): Likewise.
19842         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19844 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19846         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19847         <linux/version.h>.
19848         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19849         conditional code.
19850         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19851         and ioshift_name initialization.
19853 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19856         Fix indentation.
19858 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19860         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19862 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19864         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19866 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19867             Jakub Wilk  <jwilk@debian.org>
19869         [BZ #19347]
19870         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19871         to change the group of the device to the tty group.
19873 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19875         Split large string section; add truncation advice
19876         * manual/examples/strncat.c: Remove.
19877         This example was misleading, as the code would have undefined
19878         behavior if "hello" was longer than SIZE.  Anyway, the manual
19879         shouldn't encourage strncpy+strncat for this sort of thing.
19880         * manual/string.texi (Copying Strings and Arrays): Split into
19881         three sections Copying Strings and Arrays, Concatenating Strings,
19882         and Truncating Strings, as this section was way too long.  All
19883         cross-referenced changed.  Add advice about string-truncation
19884         functions.  Remove misleading strncat example.
19886 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19888         * manual/nss.texi (NSS Modules Interface): Document
19889         NSS_STATUS_NOTFOUND and SUCCESS.
19891 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19893         [BZ 18568]
19894         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19895         201505L, for Unicode 8.
19897 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19899         * locale/C-translit.h: Regenerate.
19901 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19903         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19904         and U+0153.
19906 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19908         [BZ #19351]
19909         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19910         expanding log(1+z), compare z rather than its square with epsilon
19911         to determine when to avoid evaluating the expansion.
19913         [BZ #19350]
19914         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19915         Increase overflow threshold.
19917         [BZ #19349]
19918         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19919         when small.
19921         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19923         New macro.
19924         [__LINUX_KERNEL_VERSION >= 0x040300]
19925         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19927         Likewise.
19928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19929         Likewise.
19930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19931         Likewise.
19932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19933         Likewise.
19934         [__LINUX_KERNEL_VERSION >= 0x040300]
19935         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19936         [__LINUX_KERNEL_VERSION >= 0x040300]
19937         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19938         [__LINUX_KERNEL_VERSION >= 0x040300]
19939         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19940         [__LINUX_KERNEL_VERSION >= 0x040300]
19941         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19942         [__LINUX_KERNEL_VERSION >= 0x040300]
19943         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19944         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19945         Likewise.
19946         [__LINUX_KERNEL_VERSION >= 0x040300]
19947         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19949         Likewise.
19950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19951         Likewise.
19952         [__LINUX_KERNEL_VERSION >= 0x040300]
19953         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19954         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19955         Likewise.
19956         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19957         Likewise.
19958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19960         Likewise.
19961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19962         Likewise.
19963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19964         Likewise.
19965         [__LINUX_KERNEL_VERSION >= 0x040300]
19966         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19968         Likewise.
19969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19970         Likewise.
19971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19972         Likewise.
19973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19974         Likewise.
19975         [__LINUX_KERNEL_VERSION >= 0x040300]
19976         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19977         [__LINUX_KERNEL_VERSION >= 0x040300]
19978         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19979         [__LINUX_KERNEL_VERSION >= 0x040300]
19980         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19981         [__LINUX_KERNEL_VERSION >= 0x040300]
19982         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19983         [__LINUX_KERNEL_VERSION >= 0x040300]
19984         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19986         Likewise.
19987         [__LINUX_KERNEL_VERSION >= 0x040300]
19988         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19990         Likewise.
19991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19992         Likewise.
19993         [__LINUX_KERNEL_VERSION >= 0x040300]
19994         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19996         Likewise.
19997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19998         Likewise.
19999         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20000         (__ASSUME_SOCKET_SYSCALL): Likewise.
20001         (__ASSUME_BIND_SYSCALL): Likewise.
20002         (__ASSUME_CONNECT_SYSCALL): Likewise.
20003         (__ASSUME_LISTEN_SYSCALL): Likewise.
20004         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20005         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20006         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20007         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20008         (__ASSUME_SEND_SYSCALL): Likewise.
20009         (__ASSUME_SENDTO_SYSCALL): Likewise.
20010         (__ASSUME_RECV_SYSCALL): Likewise.
20011         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20012         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20013         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20014         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20015         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20016         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20017         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20018         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20019         Likewise.
20020         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20021         Likewise.
20022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20023         Likewise.
20024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20025         Likewise.
20026         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20027         Likewise.
20028         [__LINUX_KERNEL_VERSION >= 0x020625]
20029         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20030         [__LINUX_KERNEL_VERSION >= 0x020625]
20031         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20032         [__LINUX_KERNEL_VERSION >= 0x020625]
20033         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20034         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20035         Likewise.
20036         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20037         Likewise.
20038         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20039         Likewise.
20040         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20041         Likewise.
20042         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20043         Likewise.
20044         [__LINUX_KERNEL_VERSION >= 0x020625]
20045         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20046         [__LINUX_KERNEL_VERSION >= 0x020625]
20047         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20048         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20049         Likewise.
20050         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20051         Likewise.
20053 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20055         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20056         record the current if the current ABI and CPU support the FP64
20057         extension.
20058         (has-modd-spreg): Define to record the current if the current ABI and
20059         CPU support 32-bit floating point values in odd FPU registers.
20060         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20061         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20062         $(has-modd-spreg) equals yes.
20063         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20064         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20065         $(has-modd-spreg) equal yes.
20067 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20069         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20070         basename.
20072 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20074         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20075         (bench-string): ... here.
20076         (bench): Add bench-string.
20077         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20078         to *-benchset to reflect what they are.
20079         (benchset): Adjust.
20081         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20082         cos-inputs.
20084 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20086         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20087         __attribute__ ((__simd__)) for vector math function declarations.
20089 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20091         Fix typo in strncat, wcsncat manual entries
20092         * manual/string.texi (Copying and Concatenation): Fix typos in
20093         sample implementations of strncat and wcsncat, by having them use
20094         the old value of the destination length, not the new one.
20096 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20098         [BZ #16961]
20099         [BZ #16962]
20100         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20101         string on the stack for strtod.
20102         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20103         a string on the stack for strtof.
20104         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20105         constructing a string on the stack for strtold.
20106         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20107         __strtold_nan to GLIBC_PRIVATE.
20108         * math/test-nan-overflow.c: New file.
20109         * math/test-nan-payload.c: Likewise.
20110         * math/Makefile (tests): Add test-nan-overflow and
20111         test-nan-payload.
20113 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20115         Consistency about byte vs character in string.texi
20116         * manual/string.texi (String and Array Utilities):
20117         Distinguish more carefully among bytes, multibyte characters,
20118         and wide characters.  Use "byte" when talking about C 'char',
20119         to distinguish it more clearly from multibyte characters.
20120         Say "wide character" or "multibyte character" instead of
20121         "character", when a wide or multibyte character is intended.
20122         Similarly for "multibyte string" versus "string".
20123         Define these terms more carefully.
20125 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20127         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20128         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20129         Likewise.
20130         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20131         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20132         * sysdeps/sh/math_private.h: New file.
20133         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20134         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20135         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20136         long double function name.
20137         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20138         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20139         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20143         Remove __finitel, __isinfl, and __isnanl.
20144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20145         Likewise.
20146         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20148         Remove __finitel.
20149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20150         Likewise.
20151         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20153 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20155         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20156         installed libmvec_nonshared.a.
20158 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20160         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20161         (sysdep_routines): Likewise.
20162         (sysdep-rtld-routines): Likewise.
20163         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20164         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20165         * sysdeps/powerpc/Versions: Added new
20166         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20167         * sysdeps/powerpc/hwcapinfo.c: New file.
20168         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20169         and parse hwcap, hwcap2 and platform number information.
20170         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20171         to store HWCAP+HWCAP2 and platform number.
20172         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20173         for HWCAP+HWCAP2 and platform number in the TCB.
20174         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20175         the HWCAP, HWCAP2 and platform number in the TCB.
20176         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20177         (TLS_INIT_TP): Included calls to add the hwcap and
20178         at_platform values in the TCB in TP initialization.
20179         (TLS_DEFINE_INIT_TP): Likewise.
20180         (THREAD_GET_HWCAP): New macro.
20181         (THREAD_SET_HWCAP): Likewise.
20182         (THREAD_GET_AT_PLATFORM): Likewise.
20183         (THREAD_SET_AT_PLATFORM): Likewise.
20184         * sysdeps/powerpc/powerpc32/dl-machine.h:
20185         (dl_platform_init): New function that calls
20186         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20187         powerpc32.
20188         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20189         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20190         this functionality, static linking case.
20191         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20192         linking case.
20193         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20194         __parse_hwcap_and_convert_at_platform for the static linking case.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20196         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20197         ABI list for GLIBC 2.23.
20198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20199         Likewise.
20200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20201         Likewise.
20203 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20205         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20206         * configure: Regenerate.
20207         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20208         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20210 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20212         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20213         * iconvdata/ibm933.c: Likewise.
20214         * iconvdata/ibm935.c: Likewise.
20215         * iconvdata/ibm937.c: Likewise.
20216         * iconvdata/ibm939.c: Likewise.
20218 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20220         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20221         pthread_join.
20222         * nptl/tst-cancel21.c (tf): Likewise.
20224 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20226         [BZ #19313]
20227         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20228         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20229         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20230         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20231         Likewise.
20232         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20233         Likewise.
20234         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20237         Likewise.
20238         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20239         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20240         unsigned long int with __CPU_MASK_TYPE.
20242 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20244         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20246 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20248         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20249         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20250         t512.x.
20251         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20253 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20255         [BZ #19214]
20256         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20257         argument to return extended model.  Update family and model
20258         with extended family and model when family == 0x0f.
20259         (init_cpu_features): Updated.
20261 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20263         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20264         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20266         * sysdeps/mach/hurd/mmap64.c: New file.
20268 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20270         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20271         rights for its main user thread in NEWTASK.
20273 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20275         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20276         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20278 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20280         [BZ #14259]
20281         * Makeconfig: Rename localedir to complocaledir.
20282         Rename inst_localedir to inst_complocaledir.
20283         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20284         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20285         * configure.ac: Use libc_cv_complocaledir.
20286         * configure: Regenerate.
20287         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20288         -DCOMPLOCALEDIR.
20289         * locale/findlocale.c: Use COMPLOCALEDIR.
20290         * locale/loadarchive.c: Likewise.
20291         * locale/programs/locale.c: Likewise.
20292         * locale/programs/localedef.c: Likewise.
20293         * locale/programs/locarchive.c: Likewise.
20294         * localedata/Makefile: Use inst_complocaledir.
20295         * sysdeps/gnu/configure: Regenerate.
20296         * sysdeps/hppa/configure: Regenerate.
20297         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20298         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20300         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20301         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20302         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20303         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20305 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20307         [BZ #19058]
20308         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20309         AS_NEEDED.
20310         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20311         workaround.
20312         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20313         libmvec-static-only-routines): Added new file.
20314         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20316 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20318         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20319         of interrupted RPC instead of restoring it.
20321         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20322         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20323         libc_hidden_def.
20324         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20325         into initialized data instead of common. Define rtld_hidden_data_def.
20326         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20327         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20328         libc_hidden_def.
20329         (if_freenameindex): Add libc_hidden_weak.
20330         (if_nameindex): Add libc_hidden_weak.
20331         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20332         __open64.
20333         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20334         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20335         * sysdeps/mach/nanosleep.c: Include <time.h>
20336         (__nanosleep): Rename to __libc_nanosleep.
20337         (__nanosleep): Add weak_alias.
20338         (nanosleep): Update alias.
20340 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20342         * stdlib/strtod_nan.c: New file.
20343         * stdlib/strtod_nan_double.h: Likewise.
20344         * stdlib/strtod_nan_float.h: Likewise.
20345         * stdlib/strtod_nan_main.c: Likewise.
20346         * stdlib/strtod_nan_narrow.h: Likewise.
20347         * stdlib/strtod_nan_wide.h: Likewise.
20348         * stdlib/strtof_nan.c: Likewise.
20349         * stdlib/strtold_nan.c: Likewise.
20350         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20351         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20352         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20353         * wcsmbs/wcstod_nan.c: Likewise.
20354         * wcsmbs/wcstof_nan.c: Likewise.
20355         * wcsmbs/wcstold_nan.c: Likewise.
20356         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20357         strtold_nan.
20358         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20359         wcstof_nan.
20360         * include/stdlib.h (__strtof_nan): Declare and use
20361         libc_hidden_proto.
20362         (__strtod_nan): Likewise.
20363         (__strtold_nan): Likewise.
20364         (__wcstof_nan): Likewise.
20365         (__wcstod_nan): Likewise.
20366         (__wcstold_nan): Likewise.
20367         * include/wchar.h (____wcstoull_l_internal): Declare.
20368         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20369         (____strtoull_l_internal): Remove declaration.
20370         (STRTOF_NAN): Define macro.
20371         (SET_MANTISSA): Remove macro.
20372         (STRTOULL): Likewise.
20373         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20374         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20375         (STRTOF_NAN): Define macro.
20376         (SET_MANTISSA): Remove macro.
20377         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20378         (SET_MANTISSA): Remove macro.
20379         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20380         macro.
20381         (SET_MANTISSA): Remove macro.
20382         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20383         macro.
20384         (SET_MANTISSA): Remove macro.
20385         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20386         (SET_MANTISSA): Remove macro.
20387         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20388         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20389         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20391         [BZ #19266]
20392         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20393         upper case and lower case letters inside NAN(), not using TOLOWER.
20394         * stdlib/tst-strtod-nan-locale-main.c: New file.
20395         * stdlib/tst-strtod-nan-locale.c: Likewise.
20396         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20397         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20398         Depend on $(gen-locales).
20399         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20400         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20401         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20402         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20403         Depend on $(gen-locales).
20404         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20406 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20408         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20410         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20412         __finitel, __isinfl, and __isnanl.
20413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20414         Likewise.
20415         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20417         __finitel.
20418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20419         Likewise.
20420         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20422 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20424         * malloc/memusage.c (me): Remove redundant getenv call.
20426 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20428         [BZ #19143]
20429         [BZ #19164]
20430         * nptl/check-cpuset.h: Remove.
20431         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20432         Remove CPU set size check.
20433         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20434         Likewise.
20435         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20436         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20437         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20438         (__pthread_setaffinity_new): Remove CPU set size check.
20439         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20440         (__kernel_cpumask_size): Remove.
20441         (__sched_setaffinity_new): Remove CPU set size check.
20442         * manual/threads.texi (Default Thread Attributes): Remove stale
20443         reference to check_cpuset_attr, determine_cpumask_size in comment.
20444         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20445         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20446         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20447         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20448         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20449         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20450         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20451         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20452         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20453         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20454         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20455         skeleton test file.
20456         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20457         tst-affinity-pid.
20459 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20461         * scripts/update-abilist.sh: New file.
20462         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20463         * Makerules (update-all-abi-%, update-all-abi)
20464         (subdir_update-all-abi): New targets.
20465         * elf/Makefile (update-all-abi): New target.
20467 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20469         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20470         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20471         (__libc_lock_define_initialized): Use it.
20472         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20473         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20474         * malloc/malloc.c (main_arena): Likewise.
20475         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20476         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20478 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20480         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20481         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20482         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20483         (PTRACE_O_MASK): Update value.
20484         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20485         New value in enum __ptrace_setoptions.
20486         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20487         (PTRACE_O_MASK): Update value.
20488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20489         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20490         (PTRACE_O_MASK): Update value.
20491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20492         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20493         (PTRACE_O_MASK): Update value.
20494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20495         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20496         (PTRACE_O_MASK): Update value.
20497         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20498         New value in enum __ptrace_setoptions.
20499         (PTRACE_O_MASK): Update value.
20500         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20501         New value in enum __ptrace_setoptions.
20502         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20503         (PTRACE_O_MASK): Update value.
20505         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20506         New macro.
20507         (PACKET_AUXDATA): Likewise.
20508         (PACKET_ORIGDEV): Likewise.
20509         (PACKET_VERSION): Likewise.
20510         (PACKET_HDRLEN): Likewise.
20511         (PACKET_RESERVE): Likewise.
20512         (PACKET_TX_RING): Likewise.
20513         (PACKET_LOSS): Likewise.
20514         (PACKET_VNET_HDR): Likewise.
20515         (PACKET_TX_TIMESTAMP): Likewise.
20516         (PACKET_TIMESTAMP): Likewise.
20517         (PACKET_FANOUT): Likewise.
20518         (PACKET_TX_HAS_OFF): Likewise.
20519         (PACKET_QDISC_BYPASS): Likewise.
20520         (PACKET_ROLLOVER_STATS): Likewise.
20521         (PACKET_FANOUT_DATA): Likewise.
20522         (PACKET_MR_UNICAST): Likewise.
20524         [BZ #19242]
20525         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20526         (TOUPPER): Likewise.
20527         * stdlib/tst-strtol-locale-main.c: New file.
20528         * stdlib/tst-strtol-locale.c: Likewise.
20529         * stdlib/Makefile (tests): Add tst-strtol-locale.
20530         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20531         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20532         Depend on $(gen-locales).
20533         * wcsmbs/tst-wcstol-locale.c: New file.
20534         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20535         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20536         tr_TR.ISO-8859-9.
20537         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20538         Depend on $(gen-locales).
20540 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20542         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20543         __glibc_likely instead of __builtin_expect.  After falling back to
20544         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20545         system interface to register the code pages as occupied.
20547 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20549         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20550         [!ARM_MATH_PRIVATE_H].
20551         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20552         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20553         [!HPPA_MATH_PRIVATE_H].
20554         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20555         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20556         to [!I386_MATH_PRIVATE_H].
20557         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20558         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20559         Change guard to [!M68K_MATH_PRIVATE_H].
20560         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20561         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20562         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20563         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20564         macro.
20565         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20566         [!MIPS_MATH_PRIVATE_H].
20567         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20568         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20569         [!NIO2_MATH_PRIVATE_H].
20570         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20571         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20572         [!TILE_MATH_PRIVATE_H].
20573         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20575         [BZ #15421]
20576         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20577         initialize with 0 and define as weak alias of __signgam.
20578         * include/math.h [!_ISOMAC] (__signgam): Declare.
20579         * math/Makefile (libm-calls): Add w_lgamma_compat.
20580         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20581         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20582         test-signgam-ullong-init.
20583         (tests-static): Add test-signgam-uchar-static,
20584         test-signgam-uchar-init-static, test-signgam-uint-static,
20585         test-signgam-uint-init-static, test-signgam-ullong-static and
20586         test-signgam-ullong-init-static.
20587         (CFLAGS-test-signgam-uchar.c): New variable.
20588         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20589         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20590         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20591         (CFLAGS-test-signgam-uint.c): Likewise.
20592         (CFLAGS-test-signgam-uint-init.c): Likewise.
20593         (CFLAGS-test-signgam-uint-static.c): Likewise.
20594         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20595         (CFLAGS-test-signgam-ullong.c): Likewise.
20596         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20597         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20598         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20599         * math/Versions (libm): Add GLIBC_2.23.
20600         * math/lgamma-compat.h: New file.
20601         * math/test-signgam-main.c: Likewise.
20602         * math/test-signgam-uchar-init-static.c: Likewise.
20603         * math/test-signgam-uchar-init.c: Likewise.
20604         * math/test-signgam-uchar-static.c: Likewise.
20605         * math/test-signgam-uchar.c: Likewise.
20606         * math/test-signgam-uint-init-static.c: Likewise.
20607         * math/test-signgam-uint-init.c: Likewise.
20608         * math/test-signgam-uint-static.c: Likewise.
20609         * math/test-signgam-uint.c: Likewise.
20610         * math/test-signgam-ullong-init-static.c: Likewise.
20611         * math/test-signgam-ullong-init.c: Likewise.
20612         * math/test-signgam-ullong-static.c: Likewise.
20613         * math/test-signgam-ullong.c: Likewise.
20614         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20615         wrapper of w_lgamma_main.c.
20616         * math/w_lgamma_compat.c: New file.
20617         * math/w_lgamma_compatf.c: Likewise.
20618         * math/w_lgamma_compatl.c: Likewise.
20619         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20620         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20621         defining compatibility symbols.
20622         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20623         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20624         wrapper of w_lgammaf_main.c.
20625         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20626         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20627         defining compatibility symbols.
20628         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20629         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20630         wrapper of w_lgammal_main.c.
20631         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20632         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20633         defining compatibility symbols.
20634         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20635         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20636         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20637         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20638         <lgamma-compat.h>.
20639         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20640         (__ieee754_gamma): Define as alias.
20641         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20642         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20643         <lgamma-compat.h>.
20644         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20645         (__ieee754_gammaf): Define as alias.
20646         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20647         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20648         <lgamma-compat.h>.
20649         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20650         (__ieee754_gammal): Define as alias.
20651         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20652         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20653         <math/w_lgamma_compat.c>.
20654         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20655         Define as alias of __lgamma_compat and use in defining lgammal.
20656         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20657         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20658         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20659         (USE_AS_COMPAT): New macro.
20660         (LGAMMA_OLD_VER): Undefine and redefine.
20661         (lgammal): Do not define here.
20662         (gammal): Only define here if [GAMMA_ALIAS].
20663         * conform/linknamespace.pl (@whitelist): Remove signgam.
20664         * sysdeps/nacl/libm.abilist: Update.
20665         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20666         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20667         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20668         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20669         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20670         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20671         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20672         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20673         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20674         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20675         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20676         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20678         Likewise.
20679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20680         Likewise.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20682         Likewise.
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20684         Likewise.
20685         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20686         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20687         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20688         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20689         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20691         Likewise.
20692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20693         Likewise.
20694         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20695         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20696         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20698 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20700         [BZ #16364]
20701         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20702         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20704 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20706         * sysdeps/s390/fpu/bits/mathinline.h:
20707         Use __asm__ [__volatile__] instead of asm [volatile].
20708         * sysdeps/s390/abort-instr.h: Likewise.
20709         * sysdeps/s390/atomic-machine.h: Likewise.
20710         * sysdeps/s390/bits/string.h: Likewise.
20711         * sysdeps/s390/dl-tls.h: Likewise.
20712         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20713         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20714         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20715         * sysdeps/s390/fpu/fesetround.c: Likewise.
20716         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20717         * sysdeps/s390/fpu/s_fma.c: Likewise.
20718         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20719         * sysdeps/s390/memusage.h: Likewise.
20720         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20721         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20722         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20723         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20724         * sysdeps/s390/nptl/tls.h: Likewise.
20725         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20726         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20727         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20728         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20729         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20730         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20731         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20732         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20733         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20734         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20735         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20736         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20737         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20738         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20739         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20740         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20741         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20742         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20743         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20745         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20747         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20749 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20750             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20752         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20753         Add lwarx hint, and use macro for acquire instruction.
20754         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20755         Likewise.
20756         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20757         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20758         update to use new atomic macros.
20760 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20762         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20763         (__lll_trylock_elision): Fix setting of adapt_count.
20764         * sysdeps/unix/sysv/linux/powerpc/htm.h
20765         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20766         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20767         (_ABORT_SYSCALL): Renumber, and clarify definition.
20768         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20770 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20772         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20773         after system headers to prevent MIN/MAX redefinition.  Define
20774         HAVE_ALLOCA to preserve builtin alloca usage.
20776 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20779         static and don't set or restore rounding.
20780         (__cos)[IN_SINCOS]: Likewise.
20781         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20782         (__sincos): Set and restore rounding mode.  Remove check for infinite
20783         or NaN input.
20785         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20787         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20788         as used.
20790 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20792         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20794 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20796         * config.make.in (have-glob-dat-reloc): New.
20797         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20798         target supports GLOB_DAT relocaton. AC_SUBST.
20799         * configure: Regenerated.
20800         * elf/Makefile (tests): Add tst-prelink.
20801         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20802         (tst-prelink-ENV): New.
20803         ($(objpfx)tst-prelink-conflict.out): Likewise.
20804         ($(objpfx)tst-prelink-cmp.out): Likewise.
20805         * sysdeps/x86/tst-prelink.c: Moved to ...
20806         * elf/tst-prelink.c: Here.
20807         * sysdeps/x86/tst-prelink.exp: Moved to ...
20808         * elf/tst-prelink.exp: Here.
20809         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20810         (tst-prelink-ENV): Removed.
20811         ($(objpfx)tst-prelink-conflict.out): Likewise.
20812         ($(objpfx)tst-prelink-cmp.out): Likewise.
20813         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20815 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20817         [BZ #14551]
20818         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20819         (__mpn_construct_long_double): If high part overflows to infinity,
20820         set errno and recompute overflowed result of the correct sign.
20821         * sysdeps/ieee754/ldbl-128ibm/Makefile
20822         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20823         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20824         $(libm).
20825         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20827 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #15479]
20830         [BZ #19238]
20831         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20832         floating-point state after first operation on input.  Restore full
20833         state rather than just rounding mode.
20834         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20835         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20836         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20838         [BZ #19235]
20839         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20840         add 0.5 to integer arguments.
20841         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20842         Likewise.
20843         (.LC2): New object.
20845 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20847         * scripts/pylintrc (reports): Set to no.
20849 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20851         * elf/dl-load.c (open_verify): Take new argument FD.
20852         Skip __open call if passed FD is not -1.
20853         (_dl_map_object, open_path): Update callers.
20854         * elf/dl-sysdep-open.h: New file.
20855         * elf/dl-load.c: Include it.
20856         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20857         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20858         * sysdeps/nacl/dl-sysdep-open.h: New file.
20859         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20860         from libc to rtld.
20862 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20864         [BZ #19228]
20865         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20866         and restore full floating-point state.
20867         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20868         Likewise.
20869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20870         Likewise.
20871         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20872         Likewise.
20873         * math/test-nearbyint-except-2.c: New file.
20874         * math/Makefile (tests): Add test-nearbyint-except-2.
20876 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20878         [BZ #19178]
20879         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20880         (tst-prelink-ENV): New.
20881         ($(objpfx)tst-prelink-conflict.out): Likewise.
20882         ($(objpfx)tst-prelink-cmp.out): Likewise.
20883         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20884         * sysdeps/x86/tst-prelink.c: New file.
20885         * sysdeps/x86/tst-prelink.exp: Likewise.
20887 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20889         * math/auto-libm-test-in: Add another test of pow.
20890         * math/auto-libm-test-out: Regenerated.
20891         * math/libm-test.inc (pow_test_data): Add another test.
20893 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20895         [BZ #19219]
20896         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20897         weak_alias to nearbyintl.
20899 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20901         * sysdeps/aarch64/bits/string.h: New file.
20902         (_STRING_ARCH_unaligned): Define.
20904 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20906         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20907         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20908         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20909         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20912 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20914         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20915         for original name of the DSO.  Add it to the name list of the DSO
20916         if it is actually given.
20917         (_dl_map_object): Keep track of whether an audit module rewrote
20918         the file name.  If yes, pass the original name to
20919         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20920         debugging is enabled, log the change of the file name.
20921         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20922         _dl_map_object_from_fd.
20923         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20924         * elf/tst-audit11.c: New file
20925         * elf/tst-auditmod11.c: New file.
20926         * elf/tst-audit11mod1.c: New file.
20927         * elf/tst-audit11mod2.c: New file.
20928         * elf/tst-audit11mod2.map: New file.
20929         * elf/tst-audit12.c: New file
20930         * elf/tst-auditmod12.c: New file.
20931         * elf/tst-audit12mod1.c: New file.
20932         * elf/tst-audit12mod2.c: New file.
20933         * elf/tst-audit12mod2.map: New file.
20934         * elf/tst-audit12mod3.c: New file.
20936 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20938         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20939         Don't create weak aliases,
20940         because versioned symbols are created later.
20941         * sysdeps/s390/s390-32/setjmp.S
20942         (setjmp, _setjmp): Remove weak and rename to an unique name
20943         in SHARED case due to existing versioned symbols.
20944         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20946         (getcontext): Create weak alias only in non SHARED case.
20947         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20949 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20951         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20952         (__ASSUME_*_SYSCALL) Define new macros.
20953         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20954         Remove socketcall syscalls.
20955         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20956         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20957         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20958         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20959         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20960         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20962 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20964         [BZ #12926]
20965         Terminate process on invalid netlink response.
20966         * sysdeps/unix/sysv/linux/netlinkaccess.h
20967         (__netlink_assert_response): Declare.
20968         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20969         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20970         (sysdep_routines): Add netlink_assert_response.
20971         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20972         __netlink_assert_response.
20973         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20974         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20975         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20976         __netlink_assert_response.
20978 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20980         [BZ #19178]
20981         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20982         (RTYPE_CLASS_PLT): Likewise.
20983         (RTYPE_CLASS_COPY): Likewise.
20984         (RTYPE_CLASS_TLS): Likewise.
20985         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20986         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20987         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20988         DL_DEBUG_PRELINK.
20990 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20992         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20993         calls with argument -0.5.
20994         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20996         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20997         (libc_cv_z_nodlopen): Likewise.
20998         (libc_cv_z_initfirst): Likewise.
20999         * configure: Regenerated.
21001 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21003         Simplify abilist format to be line-based.
21004         * scripts/abilist.awk: Collect descriptors in the descs variable.
21005         (emit): Write descs variable and sort it
21006         externally, with sort.
21007         * sysdeps/**/*.abilist: Convert to new format.
21009 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21011         [BZ #11460]
21012         * io/Makefile (routines): Add fts64.
21013         (tests): Add tst-fts and tst-fts-lfs.
21014         (CFLAGS-fts64.c): New.
21015         * io/Versions (GLIBC_2.23): New.
21016         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21017         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21018         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21019         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21020         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21021         (FTSENT64): Likewise.
21022         (fts64_children): Likewise.
21023         (fts64_close): Likewise.
21024         (fts64_open): Likewise.
21025         (fts64_read): Likewise.
21026         (fts64_set): Likewise.
21027         * io/fts64.c: New file.
21028         * io/tst-fts.c: New test.
21029         * io/tst-fts-lfs.c: Likewise.
21030         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21031         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21032         fts64_set.
21033         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21034         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21035         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21036         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21037         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21038         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21039         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21040         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21041         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21042         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21043         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21044         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21045         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21047         Likewise.
21048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21049         Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21052         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21053         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21054         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21055         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21056         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21059         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21061         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21062         * sysdeps/wordsize-64/fts.c: New file.
21063         * sysdeps/wordsize-64/fts64.c: Likewise.
21064         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21065         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21066         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21067         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21069 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21071         * math/libm-test.inc (NON_FINITE): New macro.
21072         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21073         * math/gen-libm-test.pl (show_exceptions): Add argument
21074         $non_finite.
21075         (parse_args): Update call to show_exceptions.
21076         * math/test-math-finite.h: New file.
21077         * math/test-math-no-finite.h: Likewise.
21078         * math/test-double-finite.c: Likewise.
21079         * math/test-float-finite.c: Likewise.
21080         * math/test-ldouble-finite.c: Likewise.
21081         * math/test-double.c: Include "test-math-no-finite.h".
21082         * math/test-float.c: Include "test-math-no-finite.h".
21083         * math/test-ldouble.c: Include "test-math-no-finite.h".
21084         * math/test-math-inline.h (TEST_FINITE): New macro.
21085         * math/test-math-vector.h (TEST_FINITE): Likewise.
21086         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21087         (libm-tests): Add test-float-finite and test-double-finite.
21088         ($(objpfx)test-float-finite.o): New dependency on
21089         $(objpfx)libm-test.stmp.
21090         ($(objpfx)test-double-finite.o): Likewise.
21091         ($(objpfx)test-ldouble-finite.o): Likewise.
21092         (libm-test-no-inline-cflags): New variable.
21093         (libm-test-finite-cflags): Likewise.
21094         (CFLAGS-test-float-finite.c): Likewise.
21095         (CFLAGS-test-double-finite.c): Likewise.
21096         (CFLAGS-test-ldouble-finite.c): Likewise.
21097         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21098         (CFLAGS-test-double.c): Likewise.
21099         (CFLAGS-test-ldouble.c): Likewise.
21101 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21103         * io/fcntl.c (__fcntl): Add ... to prototype.
21104         * misc/ioctl.c (__ioctl): Likewise.
21105         * misc/syscall.c (syscall): Likewise.
21107 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21109         * scripts/list-fixed-bugs.py: New file.
21111         [BZ #19213]
21112         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21113         returned for argument 1.
21114         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21115         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21116         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21117         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21118         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21119         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21121         [BZ #19211]
21122         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21123         __USE_XOPEN], not if [!__USE_ISOC99].
21124         (lgammaf): Likewise.
21125         (lgammal): Likewise.
21126         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21127         (gammaf): Likewise.
21128         (gammal): Likewise.
21129         * math/test-signgam-finite-c11.c: New file.
21130         * math/test-signgam-finite-c99.c: Likewise.
21131         * math/test-signgam-finite.c: Likewise.
21132         * math/Makefile (tests): Add test-signgam-finite,
21133         test-signgam-finite-c99 and test-signgam-finite-c11.
21134         (CFLAGS-test-signgam-finite.c): New variable.
21135         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21136         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21138         [BZ #19212]
21139         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21140         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21141         500].
21142         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21143         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21144         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21145         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21146         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21147         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21148         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21149         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21150         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21151         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21153         [BZ #19209]
21154         * math/bits/math-finite.h (ldexp): Remove declaration.
21155         (ldexpf): Likewise.
21156         (ldexpl): Likewise.
21158         [BZ #19205]
21159         * math/bits/math-finite.h (acosf): Condition declaration on
21160         [__USE_ISOC99].
21161         (acosl): Likewise.
21162         (acoshf): Likewise.
21163         (acoshl): Likewise.
21164         (asinf): Likewise.
21165         (asinl): Likewise.
21166         (atan2f): Likewise.
21167         (atan2l): Likewise.
21168         (atanhf): Likewise.
21169         (atanhl): Likewise.
21170         (coshf): Likewise.
21171         (coshl): Likewise.
21172         (expf): Likewise.
21173         (expl): Likewise.
21174         (fmodf): Likewise.
21175         (fmodl): Likewise.
21176         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21177         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21178         (j0l): Likewise.
21179         (y0f): Likewise.
21180         (y0l): Likewise.
21181         (j1f): Likewise.
21182         (j1l): Likewise.
21183         (y1f): Likewise.
21184         (y1l): Likewise.
21185         (jnf): Likewise.
21186         (jnl): Likewise.
21187         (ynf): Likewise.
21188         (ynl): Likewise.
21189         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21190         (lgammal_r): Likewise.
21191         (__lgamma_r_finite): New declaration.
21192         (__lgammaf_r_finite): Likewise.
21193         (__lgammal_r_finite): Likewise.
21194         (lgamma): Use __lgamma_r_finite.
21195         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21196         __lgammaf_r_finite.
21197         (lgammal): Condition definition on [__USE_ISOC99].  Use
21198         __lgammal_r_finite.
21199         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21200         __lgamma_r_finite.
21201         (gammaf): Condition definition on [__USE_ISOC99].  Use
21202         __lgammaf_r_finite.
21203         (gammal): Condition definition on [__USE_ISOC99].  Use
21204         __lgammal_r_finite.
21205         (logf): Condition declaration on [__USE_ISOC99].
21206         (logl): Likewise.
21207         (log10f): Likewise.
21208         (log10l): Likewise.
21209         (ldexpf): Likewise.
21210         (ldexpl): Likewise.
21211         (powf): Likewise.
21212         (powl): Likewise.
21213         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21214         __USE_ISOC99].
21215         (remainderf): Condition declaration on [__USE_ISOC99].
21216         (remainderl): Likewise.
21217         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21218         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21219         (scalbl): Likewise.
21220         (sinhf): Condition declaration on [__USE_ISOC99].
21221         (sinhl): Likewise.
21222         (sqrtf): Likewise.
21223         (sqrtl): Likewise.
21225 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21227         * sysdeps/arm/atomic-machine.h
21228         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21229         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21230         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21231         Remove conditional code.
21232         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21233         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21234         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21235         Change conditional to [__ASSEMBLER__].
21236         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21237         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21238         [!__ASSEMBLER__].
21239         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21240         code.
21241         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21242         conditional macro definitions.
21243         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21244         (__arch_compare_and_exchange_val_16_acq): Likewise.
21245         (__arch_compare_and_exchange_val_32_acq): Likewise.
21246         (atomic_exchange_and_add): Likewise.
21247         (atomic_add): Likewise.
21248         (atomic_add_negative): Likewise.
21249         (atomic_add_zero): Likewise.
21250         (atomic_bit_set): Likewise.
21251         (atomic_bit_test_set): Likewise.
21252         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21253         code unconditional.
21254         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21256         * math/test-math-errno.h: New file.
21257         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21258         empty.
21259         (TEST_ERRNO): New macro.
21260         (TEST_EXCEPTIONS): Likewise.
21261         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21262         (TEST_EXCEPTIONS): Likewise.
21263         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21264         * math/test-double.c: Include "test-math-errno.h".
21265         * math/test-float.c: Likewise.
21266         * math/test-ldouble.c: Likewise.
21267         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21268         code unconditional.
21269         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21270         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21271         unconditional.
21272         (test_errno): Only run code if TEST_ERRNO.
21273         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21275 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21277         * nptl/tst-once5.cc: Remove attribution.
21279 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21281         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21282         sqrt, tan, tanh, y0, y1 and yn.
21283         * math/auto-libm-test-out: Regenerated.
21284         * math/libm-test.inc (scalb_test_data): Add more tests.
21285         (scalbn_test_data): Likewise.
21286         (scalbln_test_data): Likewise.
21287         (signbit_test_data): Likewise.
21288         (sin_test_data): Likewise.
21289         (sincos_test_data): Likewise.
21290         (sinh_test_data): Likewise.
21291         (sqrt_test_data): Likewise.
21292         (tan_test_data): Likewise.
21293         (tanh_test_data): Likewise.
21294         (tgamma_test_data): Likewise.
21295         (y0_test_data): Likewise.
21296         (y1_test_data): Likewise.
21297         (yn_test_data): Likewise.
21298         (significand_test_data): Likewise.
21299         * sysdeps/i386/fpu/libm-test-ulps: Update.
21301 2015-11-03  David Kastrup  <dak@gnu.org>
21303         [BZ #18604]
21304         * assert/assert.h (assert): Don't macro-expand failed assertion
21305         expression in error message.
21306         * malloc/malloc.c (assert): Likewise.
21308 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21310         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21311         test.
21312         * configure: Regenerated.
21314 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21316         * math/libm-test.inc (modf_test_data): Add more tests.
21317         (nearbyint_test_data): Likewise.
21318         (nextafter_test_data): Likewise.
21319         (nexttoward_test_data): Likewise.
21320         (pow_test_data): Likewise.
21321         (remainder_test_data): Likewise.
21322         (remquo_test_data): Likewise.
21323         (rint_test_data): Likewise.
21325         [BZ #19201]
21326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21327         Check for zero remainder in case of large exponents and ensure
21328         correct sign of result in that case.
21329         * math/libm-test.inc (remainder_test_data): Add more tests.
21331         [BZ #6799]
21332         * math/s_nextafter.c: Include <errno.h>.
21333         (__nextafter): Set errno on overflow and underflow.
21334         * math/s_nexttowardf.c: Include <errno.h>.
21335         (__nexttowardf): Set errno on overflow and underflow.
21336         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21337         (__nextafterl): Set errno on overflow and underflow.
21338         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21339         (__nexttoward): Set errno on overflow and underflow.
21340         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21341         (__nexttowardf): Set errno on overflow and underflow.
21342         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21343         (__nextafterf): Set errno on overflow and underflow.
21344         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21345         (__nextafterl): Set errno on overflow and underflow.
21346         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21347         (__nexttoward): Set errno on overflow and underflow.
21348         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21349         (__nexttowardf): Set errno on overflow and underflow.
21350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21351         (__nextafterl): Set errno on overflow and underflow.
21352         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21353         (__nexttoward): Set errno on overflow and underflow.
21354         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21355         (__nexttowardf): Set errno on overflow and underflow.
21356         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21357         (__nexttoward): Set errno on overflow and underflow.
21358         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21359         (__nexttowardf): Set errno on overflow and underflow.
21360         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21361         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21362         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21363         (__nextafterl): Set errno on overflow and underflow.
21364         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21365         setting to be missing on overflow.  Add more tests.
21366         (nexttoward_test_data): Likewise.
21368         * configure.ac (libc_cv_initfini_array): Remove configure test.
21369         * configure: Regenerated.
21371 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21373         [BZ #19189]
21374         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21375         non-finite argument handle arguments with negative sign.
21377         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21378         result from infinite argument.
21379         (j1_test_data): Likewise.
21380         (jn_test_data): Likewise.
21381         (y0_test_data): Likewise.
21382         (y1_test_data): Likewise.
21383         (yn_test_data): Likewise.
21385         [BZ #16171]
21386         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21387         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21388         * math/w_remainderf.c (dremf): Define as weak alias of
21389         __remainderf.
21390         * math/w_remainderl.c (dreml): Define as weak alias of
21391         __remainderl.
21392         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21393         __remainder.
21394         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21395         __remainderf.
21396         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21397         __remainderl.
21398         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21399         weak alias of remainderl.
21400         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21401         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21402         alias of __remainder.
21403         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21404         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21405         strong alias of __remainderl.
21406         (dreml): Use long_double_symbol.
21407         * math/Makefile (libm-calls): Remove w_drem.
21408         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21409         (CFLAGS-nldbl-drem.c): Remove variable.
21410         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21411         * math/w_drem.c: Remove file.
21412         * math/w_dremf.c: Likewise.
21413         * math/w_dreml.c: Likewise.
21414         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21415         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21416         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21418         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21419         * sysdeps/i386/configure: Regenerated.
21420         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21421         * sysdeps/x86_64/configure: Regenerated.
21423         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21424         test.
21425         (libc_cv_visibility_attribute): Likewise.
21426         (libc_cv_protected_data): Test unconditionally.
21427         (libc_cv_broken_visibility_attribute): Remove configure test.
21428         (libc_cv_have_sdata_section): Test unconditionally.
21429         * configure: Regenerated.
21431         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21432         * include/scratch_buffer.h: Include <stddef.h> instead of
21433         <libc-internal.h>.
21434         (struct scratch_buffer): Use max_align_t instead of
21435         libc_max_align_t.
21437 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21439         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21440         instead of extend_alloca.  Change control flow to avoid a goto.
21441         Remove assert which is trivially always true.
21443 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21445         [BZ #16068]
21446         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21447         (FE_ALL_EXCEPT_X86): New macro.
21448         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21449         FE_ALL_EXCEPT.  Ensure precision control is included in
21450         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21451         handle "denormal operand exception" and clear FZ and DAZ bits.
21452         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21453         (FE_ALL_EXCEPT_X86): New macro.
21454         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21455         FE_ALL_EXCEPT.  Ensure precision control is included in
21456         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21457         handle "denormal operand exception" and clear FZ and DAZ bits.
21458         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21459         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21460         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21461         test-fenv-x87 and test-fenv-sse-2.
21462         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21464         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21465         * math/test-double.h (BUILD_COMPLEX): New macro.
21466         * math/test-float.h (BUILD_COMPLEX): Likewise.
21467         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21469         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21470         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21471         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21473         instead of DBL_DENORM_MIN in comment.
21474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21475         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21476         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21477         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21479         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21481 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21483         [BZ #19048]
21484         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21485         attached_threads member.
21486         (main_arena): Initialize attached_threads.
21487         * malloc/arena.c (list_lock): Update comment.
21488         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21489         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21490         (deattach_arena): New function.
21491         (_int_new_arena): Initialize arena reference count and deattach
21492         replaced arena.
21493         (get_free_list, reused_arena): Update reference count and deattach
21494         replaced arena.
21495         (arena_thread_freeres): Update arena reference count and only put
21496         unreferenced arenas on the free list.
21498 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21500         [BZ #19181]
21501         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21502         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21503         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21504         * math/test-fenv-clear-main.c: New file.
21505         * math/test-fenv-clear.c: Likewise.
21506         * math/Makefile (tests): Add test-fenv-clear.
21507         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21508         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21509         test-fenv-clear-sse.
21510         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21512         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21513         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21514         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21516 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21518         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21519         static libc.
21521 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21523         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21524         test.
21525         * sysdeps/i386/configure: Regenerated.
21526         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21527         test.
21528         * sysdeps/x86_64/configure: Regenerated.
21529         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21531         memset-avx2 unconditionally instead of conditionally on
21532         [$(config-cflags-avx2) = yes].
21533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21534         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21535         unconditional.
21536         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21537         * sysdeps/x86_64/multiarch/memset_chk.S
21538         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21539         to [IS_IN (libc) && SHARED].
21541 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21543         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21544         configure test.
21545         * sysdeps/arm/configure: Regenerated.
21546         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21547         Define variable if not already defined.
21549         [BZ #17404]
21550         * sysdeps/mips/atomic-machine.h
21551         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21552         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21553         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21555         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21556         unconditional.
21557         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21558         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21559         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21560         unconditional.
21561         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21562         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21563         unconditional.
21564         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21565         * stdlib/setenv.c
21566         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21567         code unconditional.
21568         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21569         Remove conditional code.
21570         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21571         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21572         unconditional.
21573         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21574         code.
21575         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21576         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21577         unconditional.
21578         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21579         code.
21580         * sysdeps/ieee754/ldbl-128/k_tanl.c
21581         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21582         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21583         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21584         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21585         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21586         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21587         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21588         unconditional.
21589         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21590         code.
21591         * sysdeps/ieee754/ldbl-96/k_tanl.c
21592         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21593         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21595         * nptl/tst-initializers1-c11.c: New file.
21596         * nptl/tst-initializers1-gnu11.c: Likewise.
21597         * nptl/Makefile (tests): Add these new tests.
21598         (CFLAGS-tst-initializers1-c11.c): New variable.
21599         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21601         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21602         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21603         instead of -std=gnu99.
21604         * configure.ac (systemtap): Test with -std=gnu11 instead of
21605         -std=gnu99.
21606         * configure: Regenerated.
21607         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21608         in compilation command in comment.
21610         * sysdeps/nptl/configure.ac: Remove file.
21611         * sysdeps/nptl/configure: Remove generated file.
21612         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21613         * configure: Regenerated.
21614         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21615         * config.make.in (have-forced-unwind): Remove variable.
21616         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21617         unconditional.
21618         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21619         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21620         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21621         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21622         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21623         unconditional.
21625 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21627         [BZ #19174]
21628         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21629         .skip_lock_out_of_tbegin_retries.
21630         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21631         (__lll_lock_elision): Likewise, and respect a value of
21632         try_tbegin <= 0.
21634 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21636         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21637         statement.
21639 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21641         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21642         variable.
21643         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21644         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21646         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21647         of -std=c1x -D_ISOC11_SOURCE.
21649         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21650         * configure: Regenerated.
21651         * manual/install.texi (Tools for Compilation): Document
21652         requirement for GCC 4.7 or later.
21653         * INSTALL: Regenerated.
21655 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21657         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21658         on CNT to a conditional jump to 'puntdata'.
21660 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21662         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21663         (libc_cv_gcc_tls_model_attr): Likewise.
21664         * configure: Regenerated.
21666         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21667         * configure: Regenerated.
21668         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21670 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21672         * configure.ac (old_glibc_headers): Remove configure test.
21673         * configure: Regenerated.
21674         * config.make.in (old-glibc-headers): Remove variable.
21675         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21676         (install): Remove dependency on remove-old-headers.
21677         (headers2_0): Remove variable.
21678         (remove-old-headers): Remove rule.
21680         * configure.ac (libc_cv_dot_text): Remove configure test.
21681         (libc_cv_asm_set_directive): Use .text instead of
21682         ${libc_cv_dot_text} in configure test.
21683         * configure: Regenerated.
21685 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21687         [BZ #19168]
21688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21690 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21692         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21693         not support static linking.
21694         * configure: Regenerate.
21696 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21698         * math/libm-test.inc (check_float_internal): Do not special-case
21699         errors up to 0.5 ulp.
21701         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21702         log2.
21703         * math/auto-libm-test-out: Regenerated.
21704         * math/libm-test.inc (MAX_EXP): New macro.
21705         (ilogb_test_data): Add more tests.
21706         (isfinite_test_data): Likewise.
21707         (isgreater_test_data): Likewise.
21708         (isgreaterequal_test_data): Likewise.
21709         (isinf_test_data): Likewise.
21710         (isless_test_data): Likewise.
21711         (islessequal_test_data): Likewise.
21712         (islessgreater_test_data): Likewise.
21713         (isnan_test_data): Likewise.
21714         (isnormal_test_data): Likewise.
21715         (issignaling_test_data): Likewise.
21716         (isunordered_test_data): Likewise.
21717         (j0_test_data): Likewise.
21718         (j1_test_data): Likewise.
21719         (jn_test_data): Likewise.
21720         (lgamma_test_data): Likewise.
21721         (log_test_data): Likewise.
21722         (log10_test_data): Likewise.
21723         (log1p_test_data): Likewise.
21724         (log2_test_data): Likewise.
21725         (logb_test_data): Likewise.
21726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21728         [BZ #18611]
21729         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21730         avoid excess range and precision on underflow.
21731         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21732         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21733         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21734         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21735         underflow.
21736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21738         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21739         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21740         * math/auto-libm-test-in: Do not allow missing errno setting for
21741         tests of j1 and jn.
21742         * math/auto-libm-test-out: Regenerated.
21744 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #15491]
21747         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21748         floating-point environment instead of clearing all exceptions.
21749         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21750         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21751         merging in "invalid" exceptions from frndint.
21752         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21753         * math/test-nearbyint-except.c: New file.
21754         * math/Makefile (tests): Add test-nearbyint-except.
21756 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21758         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21760         * sysdeps/tile/libm-test-ulps: Regenerated.
21762 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21765         (__NR_sync_file_range2): Assume it is always defined.
21766         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21767         (__NR_sync_file_range): Assume it is always defined.
21769 2015-10-22  Andreas Schwab  <schwab@suse.de>
21771         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21772         INTERNAL_SYSCALL_ERRNO.
21773         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21774         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21775         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21776         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21777         Likewise.
21778         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21780 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21782         * io/tst-fcntl.c (fd): New static variable.
21783         (do_prepare): Open temporary file here....
21784         (do_test): ...not here.
21786         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21788 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21790         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21791         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21792         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21793         Moved before "#ifdef __ASSEMBLER__".
21795 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21797         [BZ #19156]
21798         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21799         arguments very close to 0.
21801 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21803         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21804         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21806 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21808         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21809         New.  Defined for GCC 5 and above when not compiling for
21810         profiling.
21811         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21813         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21814         Renamed to ...
21815         (CFLAGS-epoll_pwait.o): This.
21816         (CFLAGS-mmap.c): Renamed to ...
21817         (CFLAGS-mmap.o): This.
21818         (CFLAGS-mmap64.c): Renamed to ...
21819         (CFLAGS-mmap64.o): This.
21820         (CFLAGS-epoll_pwait.os): New.
21821         (CFLAGS-mmap.os): Likewise.
21822         (CFLAGS-mmap64.os): Likewise.
21823         (CFLAGS-semtimedop.os): Likewise.
21824         (CFLAGS-semtimedop.c): Renamed to ...
21825         (CFLAGS-semtimedop.o): This.
21827 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21829         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21830         warning message.
21832 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21834         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21835         * Makefile ($(objpfx)c++-types-check.out): Filter out
21836         $(+gccwarn-c) instead of -Wstrict-prototypes.
21838         * io/fts.c (fts_open): Convert to prototype-style function
21839         definition.
21840         * malloc/mcheck.c (mcheck): Likewise.
21841         (mcheck_pedantic): Likewise.
21842         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21843         internal_function.
21844         (re_search_internal): Likewise.
21845         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21846         prototype-style function definition.
21847         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21848         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21849         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21850         (xdr_utmpptr): Likewise.
21851         (xdr_utmparr): Likewise.
21852         (xdr_utmpidle): Likewise.
21853         (xdr_utmpidleptr): Likewise.
21854         (xdr_utmpidlearr): Likewise.
21856         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21857         log, log10 and log2.
21858         * math/auto-libm-test-out: Regenerated.
21859         * math/libm-test.inc (fmod_test_data): Add more tests.
21860         (fpclassify_test_data): Likewise.
21861         (frexp_test_data): Likewise.
21862         (hypot_test_data): Likewise.
21863         (ilogb_test_data): Likewise.
21865 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21867         * debug/fortify_fail.c (__fortify_fail): Convert to
21868         prototype-style function definition.  Use internal_function.
21869         * libio/genops.c (save_for_backup): Convert to prototype-style
21870         function definition.
21871         * libio/wgenops.c (save_for_wbackup): Likewise.
21872         * login/grantpt.c (grantpt): Likewise.
21873         * login/ptsname.c (ptsname): Likewise.
21874         (__ptsname_r): Likewise.
21875         * login/unlockpt.c (unlockpt): Likewise.
21876         * mach/msgserver.c (__mach_msg_server): Likewise.
21877         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21878         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21879         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21880         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21881         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21882         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21883         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21884         Likewise.
21885         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21886         internal_function.
21887         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21888         prototype-style function definition.
21889         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21890         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21891         (__pthread_create_2_0): Likewise.
21892         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21893         * nptl/register-atfork.c (__register_atfork): Likewise.
21894         * posix/glob.c (glob): Likewise.
21895         * posix/regcomp.c (re_comp): Likewise.
21896         * posix/regexec.c (re_exec): Likewise.
21897         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21898         [!__STDC__]: Remove conditional code.
21899         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21900         [!__STDC__]: Remove conditional code.
21901         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21902         [!__STDC__]: Remove conditional code.
21903         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21904         [!__STDC__]: Remove conditional code.
21905         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21906         [!__STDC__]: Remove conditional code.
21907         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21908         [!__STDC__]: Remove conditional code.
21909         * stdlib/mul.c [__STDC__]: Make code unconditional.
21910         [!__STDC__]: Remove conditional code.
21911         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21912         [!__STDC__]: Remove conditional code.
21913         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21914         [!__STDC__]: Remove conditional code.
21915         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21916         function definition.
21917         (STRTOF): Likewise.
21918         * stdlib/strtod_l.c (__STRTOF): Likewise.
21919         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21920         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21921         (__strtol_l): Likewise.
21922         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21923         [!__STDC__]: Remove conditional code.
21924         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21925         definition.
21926         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21927         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21928         type.
21929         (__strcasecmp): Convert to prototype-style function definition.
21930         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21931         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21932         type.
21933         (__strncasecmp): Convert to prototype-style function definition.
21934         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21935         * sunrpc/xdr.c (xdr_union): Likewise.
21936         * sunrpc/xdr_array.c (xdr_array): Likewise.
21937         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21938         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21939         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21940         Likewise.
21941         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21942         Likewise.
21943         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21944         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21945         Likewise.
21946         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21947         (LOCALE_PARAM_PROTO): Likewise.
21948         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21949         argument type.
21950         (ut_argument_spec): Remove macro.
21951         (ut_argument_spec_iso): Rename to ut_argument_spec.
21952         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21953         prototype-style function definition.
21954         (memcpy_uppcase): Likewise.
21955         (__strftime_internal): Likewise.
21956         (my_strftime): Likewise.
21957         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21958         (LOCALE_PARAM_DECL): Likewise.
21959         [_LIBC] (LOCALE_PARAM): Include argument type.
21960         (__strptime_internal): Convert to prototype-style function
21961         definition.
21962         (strptime): Likewise.
21963         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21964         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21965         type.
21966         (__wcscasecmp): Convert to prototype-style function definition.
21967         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21968         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21969         type.
21970         (__wcsncasecmp): Convert to prototype-style function definition.
21972         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21973         function definition.
21974         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21975         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21976         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21977         * elf/dl-minimal.c (_itoa): Likewise.
21978         * hurd/hurdmalloc.c (malloc): Likewise.
21979         (free): Likewise.
21980         (realloc): Likewise.
21981         * inet/inet6_option.c (inet6_option_space): Likewise.
21982         (inet6_option_init): Likewise.
21983         (inet6_option_append): Likewise.
21984         (inet6_option_alloc): Likewise.
21985         (inet6_option_next): Likewise.
21986         (inet6_option_find): Likewise.
21987         * io/ftw.c (FTW_NAME): Likewise.
21988         (NFTW_NAME): Likewise.
21989         (NFTW_NEW_NAME): Likewise.
21990         (NFTW_OLD_NAME): Likewise.
21991         * libio/iofwide.c (_IO_fwide): Likewise.
21992         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21993         (_IO_str_init_static): Likewise.
21994         (_IO_str_init_readonly): Likewise.
21995         (_IO_str_overflow): Likewise.
21996         (_IO_str_underflow): Likewise.
21997         (_IO_str_count): Likewise.
21998         (_IO_str_seekoff): Likewise.
21999         (_IO_str_pbackfail): Likewise.
22000         (_IO_str_finish): Likewise.
22001         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22002         (_IO_wstr_overflow): Likewise.
22003         (_IO_wstr_underflow): Likewise.
22004         (_IO_wstr_count): Likewise.
22005         (_IO_wstr_seekoff): Likewise.
22006         (_IO_wstr_pbackfail): Likewise.
22007         (_IO_wstr_finish): Likewise.
22008         * locale/programs/localedef.c (normalize_codeset): Likewise.
22009         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22010         (add_locales_to_archive): Likewise.
22011         (delete_locales_from_archive): Likewise.
22012         * malloc/malloc.c (__libc_mallinfo): Likewise.
22013         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22014         * misc/tsearch.c (__tfind): Likewise.
22015         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22016         * nptl/pthread_attr_getdetachstate.c
22017         (__pthread_attr_getdetachstate): Likewise.
22018         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22019         Likewise.
22020         * nptl/pthread_attr_getinheritsched.c
22021         (__pthread_attr_getinheritsched): Likewise.
22022         * nptl/pthread_attr_getschedparam.c
22023         (__pthread_attr_getschedparam): Likewise.
22024         * nptl/pthread_attr_getschedpolicy.c
22025         (__pthread_attr_getschedpolicy): Likewise.
22026         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22027         Likewise.
22028         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22029         Likewise.
22030         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22031         Likewise.
22032         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22033         Likewise.
22034         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22035         (__pthread_attr_init_2_0): Likewise.
22036         * nptl/pthread_attr_setdetachstate.c
22037         (__pthread_attr_setdetachstate): Likewise.
22038         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22039         Likewise.
22040         * nptl/pthread_attr_setinheritsched.c
22041         (__pthread_attr_setinheritsched): Likewise.
22042         * nptl/pthread_attr_setschedparam.c
22043         (__pthread_attr_setschedparam): Likewise.
22044         * nptl/pthread_attr_setschedpolicy.c
22045         (__pthread_attr_setschedpolicy): Likewise.
22046         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22047         Likewise.
22048         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22049         Likewise.
22050         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22051         Likewise.
22052         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22053         Likewise.
22054         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22055         Likewise.
22056         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22057         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22058         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22059         use internal_function.
22060         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22061         prototype-style function definition.
22062         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22063         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22064         internal_function.
22065         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22066         Convert to prototype-style function definition.
22067         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22068         Likewise.
22069         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22070         Likewise.
22071         (__pthread_mutex_unlock): Likewise.
22072         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22073         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22074         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22075         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22076         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22077         * nss/makedb.c (process_input): Likewise.
22078         * posix/fnmatch.c (__strchrnul): Likewise.
22079         (__wcschrnul): Likewise.
22080         (fnmatch): Likewise.
22081         * posix/fnmatch_loop.c (FCT): Likewise.
22082         * posix/glob.c (globfree): Likewise.
22083         (__glob_pattern_type): Likewise.
22084         (__glob_pattern_p): Likewise.
22085         * posix/regcomp.c (re_compile_pattern): Likewise.
22086         (re_set_syntax): Likewise.
22087         (re_compile_fastmap): Likewise.
22088         (regcomp): Likewise.
22089         (regerror): Likewise.
22090         (regfree): Likewise.
22091         * posix/regexec.c (regexec): Likewise.
22092         (re_match): Likewise.
22093         (re_search): Likewise.
22094         (re_match_2): Likewise.
22095         (re_search_2): Likewise.
22096         (re_search_stub): Likewise.  Use internal_function
22097         (re_copy_regs): Likewise.
22098         (re_set_registers): Convert to prototype-style function
22099         definition.
22100         (prune_impossible_nodes): Likewise.  Use internal_function.
22101         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22102         prototype-style function definition.
22103         (inet_net_pton_ipv4): Likewise.
22104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22105         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22106         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22107         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22108         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22109         Make variadic.
22110         * time/strptime_l.c (localtime_r): Convert to prototype-style
22111         function definition.
22112         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22113         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22114         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22115         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22117         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22118         definition.
22119         (_ufc_doit_r): Likewise.
22120         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22121         (_ufc_output_conversion_r): Likewise.
22122         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22123         * inet/rcmd.c (rcmd_af): Likewise.
22124         (rcmd): Likewise.
22125         (ruserok_af): Likewise.
22126         (ruserok): Likewise.
22127         (ruserok2_sa): Likewise.
22128         (ruserok_sa): Likewise.
22129         (iruserok_af): Likewise.
22130         (iruserok): Likewise.
22131         (__ivaliduser): Likewise.
22132         (__validuser2_sa): Likewise.
22133         * inet/rexec.c (rexec_af): Likewise.
22134         (rexec): Likewise.
22135         * inet/ruserpass.c (ruserpass): Likewise.
22136         * locale/programs/xmalloc.c (xcalloc): Likewise.
22137         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22138         * math/w_drem.c (__drem): Likewise.
22139         * math/w_dremf.c (__dremf): Likewise.
22140         * math/w_dreml.c (__dreml): Likewise.
22141         * misc/daemon.c (daemon): Likewise.
22142         * resolv/res_debug.c (p_fqnname): Likewise.
22143         * stdlib/div.c (div): Likewise.
22144         * string/memcmp.c (memcmp_bytes): Likewise.
22145         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22146         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22148         * crypt/cert.c (main): Convert to prototype-style function
22149         definition.
22150         * io/pipe.c (__pipe): Likewise.
22151         * io/pipe2.c (__pipe2): Likewise.
22152         * misc/futimesat.c (futimesat): Likewise.
22153         * misc/utimes.c (__utimes): Likewise.
22154         * posix/execve.c (__execve): Likewise.
22155         * posix/execvp.c (execvp): Likewise.
22156         * posix/execvpe.c (__execvpe): Likewise.
22157         * posix/fexecve.c (fexecve): Likewise.
22158         * socket/socketpair.c (socketpair): Likewise.
22159         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22160         * stdlib/erand48.c (erand48): Likewise.
22161         * stdlib/erand48_r.c (__erand48_r): Likewise.
22162         * stdlib/jrand48.c (jrand48): Likewise.
22163         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22164         * stdlib/lcong48.c (lcong48): Likewise.
22165         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22166         * stdlib/nrand48.c (nrand48): Likewise.
22167         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22168         * stdlib/seed48.c (seed48): Likewise.
22169         * stdlib/seed48_r.c (__seed48_r): Likewise.
22170         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22171         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22172         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22174 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22176         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22177         * configure: Regenerated.
22178         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22179         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22180         unconditional.
22181         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22182         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22183         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22184         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22185         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22186         unconditional.
22187         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22189         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22190         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22192         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22193         function definition.
22194         * crypt/crypt_util.c (__encrypt_r): Likewise.
22195         * libio/genops.c (_IO_no_init): Likewise.
22196         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22197         (_IO_old_fopencookie): Likewise.
22198         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22199         * libio/iogetline.c (_IO_getline): Likewise.
22200         (_IO_getline_info): Likewise.
22201         * libio/iogetwline.c (_IO_getwline): Likewise.
22202         (_IO_getwline_info): Likewise.
22203         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22204         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22205         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22206         (find_entry): Likewise.
22207         (iterate_table): Likewise.
22208         (lookup): Likewise.
22209         * login/forkpty.c (forkpty): Likewise.
22210         * misc/hsearch_r.c (__hsearch_r): Likewise.
22211         * misc/select.c (__select): Likewise.
22212         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22213         Likewise.
22214         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22215         Likewise.
22216         * nptl/old_pthread_cond_timedwait.c
22217         (__pthread_cond_timedwait_2_0): Likewise.
22218         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22219         * nptl/pthread_barrierattr_getpshared.c
22220         (pthread_barrierattr_getpshared): Likewise.
22221         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22222         Likewise.
22223         * nptl/pthread_mutex_setprioceiling.c
22224         (pthread_mutex_setprioceiling): Likewise.
22225         * nptl/pthread_mutexattr_getprioceiling.c
22226         (pthread_mutexattr_getprioceiling): Likewise.
22227         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22228         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22229         Likewise.
22230         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22231         Likewise.
22232         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22233         Likewise.
22234         * socket/recvfrom.c (__recvfrom): Likewise.
22235         * socket/sendto.c (__sendto): Likewise.
22236         * socket/setsockopt.c (__setsockopt): Likewise.
22237         * stdio-common/_itoa.c (_itoa): Likewise.
22238         * stdio-common/_itowa.c (_itowa): Likewise.
22239         * stdio-common/reg-printf.c (__register_printf_specifier):
22240         Likewise.
22241         (__register_printf_function): Likewise.
22242         * stdio-common/tempname.c (__path_search): Likewise.
22243         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22244         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22245         * stdlib/random_r.c (__initstate_r): Likewise.
22246         * stdlib/setenv.c (__add_to_environ): Likewise.
22247         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22248         * streams/getpmsg.c (getpmsg): Likewise.
22249         * streams/putmsg.c (putmsg): Likewise.
22250         * streams/putpmsg.c (putpmsg): Likewise.
22251         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22252         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22253         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22254         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22255         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22256         * sunrpc/svc_udp.c (cache_get): Likewise.
22257         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22258         * sysdeps/mach/hurd/getcwd.c
22259         (__canonicalize_directory_name_internal): Likewise.
22260         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22261         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22262         * sysdeps/mach/hurd/select.c (__select): Likewise.
22263         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22264         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22265         * sysdeps/sparc/nptl/pthread_barrier_init.c
22266         (__pthread_barrier_init): Likewise.
22267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22268         (__pthread_cond_timedwait): Likewise.
22269         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22270         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22271         Likewise.
22272         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22273         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22274         Likewise.
22275         * sysvipc/semtimedop.c (semtimedop): Likewise.
22276         * time/setitimer.c (__setitimer): Likewise.
22277         * time/strftime_l.c (emacs_strftime): Likewise.
22279 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22281         * config.make.in (have-ssp): Delete.
22282         (stack-protector): New variable.
22283         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22284         cache test for -fstack-protector-strong.  Export stack_protector to
22285         the best ssp flag.
22286         * configure: Regenerated.
22287         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22288         * nscd/Makefile (CFLAGS-nscd): Likewise.
22289         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22291 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22293         [BZ #19122]
22294         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22295         attribute_hidden.
22297 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22299         [BZ #18743]
22300         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22301         code to...
22302         (ELIDE_LOCK): ...here.
22303         (__get_new_count): New function with part of the code from
22304         __elide_lock that updates the value of adapt_count after a
22305         transaction abort.
22306         (__elided_trylock): Moved this code to...
22307         (ELIDE_TRYLOCK): ...here.
22309 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22311         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22312         * configure: Regenerate.
22313         * INSTALL: Regenerate.
22314         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22315         and tweak grammar.
22317 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22319         * login/programs/pt_chown.c: Include signal.h
22320         (main): Clear any signal mask from the parent process.
22322 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22324         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22325         * configure: Regenerated.
22326         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22327         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22328         $(gnu89-inline-CFLAGS).
22330         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22331         test.
22332         (libc_cv_asm_weakext_directive): Likewise.
22333         * configure: Regenerated.
22334         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22335         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22336         * include/libc-symbols.h
22337         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22338         #error.
22339         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22340         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22342         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22343         prototype-style function definition.
22344         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22345         * sysdeps/i386/ffs.c (__ffs): Likewise.
22346         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22347         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22348         Likewise.
22349         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22350         Likewise.
22351         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22352         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22353         Likewise.
22354         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22355         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22356         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22357         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22358         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22359         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22360         * sysdeps/mach/hurd/access.c (__access): Likewise.
22361         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22362         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22363         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22364         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22365         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22366         (cthread_getspecific): Likewise.
22367         (cthread_setspecific): Likewise.
22368         (__libc_getspecific): Likewise.
22369         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22370         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22371         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22372         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22373         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22374         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22375         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22376         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22377         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22378         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22379         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22380         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22381         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22382         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22383         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22384         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22385         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22386         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22387         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22388         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22389         * sysdeps/mach/hurd/link.c (__link): Likewise.
22390         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22391         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22392         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22393         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22394         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22395         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22396         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22397         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22398         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22399         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22400         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22401         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22402         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22403         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22404         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22405         * sysdeps/mach/hurd/send.c (__send): Likewise.
22406         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22407         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22408         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22409         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22410         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22411         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22412         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22413         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22414         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22415         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22416         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22417         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22418         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22419         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22420         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22421         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22422         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22423         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22424         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22425         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22426         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22427         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22428         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22429         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22430         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22431         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22432         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22433         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22434         * sysdeps/posix/alarm.c (alarm): Likewise.
22435         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22436         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22437         * sysdeps/posix/dup.c (__dup): Likewise.
22438         * sysdeps/posix/dup2.c (__dup2): Likewise.
22439         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22440         (main): Likewise.
22441         * sysdeps/posix/flock.c (__flock): Likewise.
22442         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22443         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22444         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22445         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22446         * sysdeps/posix/isatty.c (__isatty): Likewise.
22447         * sysdeps/posix/killpg.c (killpg): Likewise.
22448         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22449         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22450         * sysdeps/posix/raise.c (raise): Likewise.
22451         * sysdeps/posix/remove.c (remove): Likewise.
22452         * sysdeps/posix/rename.c (rename): Likewise.
22453         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22454         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22455         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22456         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22457         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22458         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22459         * sysdeps/posix/sigset.c (sigset): Likewise.
22460         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22461         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22462         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22463         * sysdeps/posix/time.c (time): Likewise.
22464         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22465         (ttyname): Likewise.
22466         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22467         * sysdeps/posix/utime.c (utime): Likewise.
22468         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22469         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22470         Likewise.
22471         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22472         (pthread_spin_trylock): Likewise.
22473         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22474         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22475         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22476         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22477         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22478         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22479         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22480         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22481         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22482         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22483         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22484         * sysdeps/s390/ffs.c (__ffs): Likewise.
22485         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22486         Likewise.
22487         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22488         Likewise.
22489         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22490         Likewise.
22491         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22492         (pthread_barrier_destroy): Likewise.
22493         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22494         (__pthread_barrier_wait): Likewise.
22495         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22496         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22497         (__pthread_barrier_wait): Likewise.
22498         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22499         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22500         (memcmp_not_common_alignment): Likewise.
22501         (MEMCMP): Likewise.
22502         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22503         (_wordcopy_fwd_dest_aligned): Likewise.
22504         (_wordcopy_bwd_aligned): Likewise.
22505         (_wordcopy_bwd_dest_aligned): Likewise.
22506         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22507         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22508         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22509         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22510         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22511         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22512         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22513         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22514         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22515         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22516         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22517         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22518         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22519         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22520         * sysdeps/unix/stime.c (stime): Likewise.
22521         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22522         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22523         Likewise.  Use internal_function.
22524         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22525         Convert to prototype-style function definition.
22526         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22527         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22529         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22530         Likewise.  Use internal_function.
22531         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22532         prototype-style function definition
22533         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22534         Likewise.
22535         (__getlogin_r): Likewise.
22536         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22537         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22538         (__pthread_cond_broadcast): Likewise.
22539         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22540         (__pthread_cond_destroy): Likewise.
22541         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22542         (__pthread_cond_init): Likewise.
22543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22544         (__pthread_cond_signal): Likewise.
22545         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22546         (__pthread_cond_wait): Likewise.
22547         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22548         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22549         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22550         Likewise.
22551         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22552         Likewise.
22553         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22554         Likewise.
22555         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22556         Likewise.
22557         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22559         (__ftruncate64): Likewise.
22560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22561         (truncate64): Likewise.
22562         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22563         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22564         (pthread_getcpuclockid): Likewise.
22565         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22566         Likewise.
22567         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22568         Likewise.
22569         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22570         Likewise.
22571         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22572         Likewise.
22573         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22574         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22575         (__libc_sigaction): Likewise.
22576         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22577         Likewise.
22578         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22579         (__sigprocmask): Likewise.
22580         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22581         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22582         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22583         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22584         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22585         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22586         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22587         Likewise.
22588         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22589         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22590         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22591         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22592         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22593         Likewise.
22594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22595         (__sigprocmask): Likewise.
22596         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22597         (cfgetispeed): Likewise.
22598         (cfsetospeed): Likewise.
22599         (cfsetispeed): Likewise.
22600         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22601         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22602         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22603         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22604         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22605         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22606         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22607         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22608         Likewise.
22609         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22610         Likewise.
22611         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22612         Likewise.
22613         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22614         Likewise.
22615         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22617 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22619         sunrpc: Rewrite with explicit TLS access using __thread.
22620         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22621         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22622         directly.
22623         (__rpc_thread_variables): Access thread_rpc_vars directly.
22624         Eliminate redundant assignment of the tvp variable.
22626 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22628         malloc: Rewrite with explicit TLS access using __thread.
22629         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22630         (tsd_setspecific, tsd_getspecific): Remove.
22631         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22632         (tsd_setspecific, tsd_getspecific): Likewise.
22633         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22634         (tsd_setspecific, tsd_getspecific): Likewise.
22635         * malloc/arena.c (thread_arena): New TLS variable.
22636         (arena_key): Remove variable.
22637         (arena_get): Use thread_arena.
22638         (arena_lookup): Remove macro.
22639         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22640         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22641         (_int_new_arena, get_free_list, reused_arena)
22642         (arena_thread_freeres): Use thread_arena.
22643         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22644         tsd_getspecific, tsd_setspecific from safety annotations.
22645         (Allocating Cleared Space): Remove arena_lookup from safety
22646         annotations.
22648 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22650         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22651         struct scratch_buffer instead of extend_alloca.
22653 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22655         * sysdeps/unix/sysv/linux/kernel-features.h
22656         (__ASSUME_SOCK_CLOEXEC): Remove.
22657         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22658         (__have_paccept): Remove unused macro.
22659         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22660         * misc/syslog.c (openlog_internal): Remove fallback code for
22661         !__ASSUME_SOCK_CLOEXEC.
22662         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22663         missing SOCK_CLOEXEC.
22664         * nscd/connections.c (have_sock_cloexec): Remove definition.
22665         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22666         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22667         !__ASSUME_SOCK_CLOEXEC.
22668         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22669         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22670         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22671         definition.
22672         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22673         code for !__ASSUME_SOCK_CLOEXEC.
22675 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22677         [BZ #18982]
22678         * manual/stdio.texi (Variable Arguments Output): Add portability
22679         note, explaining that vfprintf clobbers the va_list pointer.
22681 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22683         * math/libm-test.inc (fabs_test_data): Add more tests.
22684         (fdim_test_data): Likewise.
22685         (fma_test_data): Likewise.
22686         (fmax_test_data): Likewise.
22687         (fmin_test_data): Likewise.
22688         (fmod_test_data): Likewise.
22690 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22692         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22693         data.
22695 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22697         * math/libm-test.inc (ceil_test_data): Add more tests and more
22698         expectations for "inexact".
22699         (floor_test_data): Add more tests.
22700         (round_test_data): Likewise.
22701         (trunc_test_data): Likewise.
22703         * crypt/cert.c (good_bye): Convert to prototype-style function
22704         definition.
22705         (get8): Likewise.
22706         (put8): Likewise.
22707         * crypt/crypt-entry.c (crypt): Likewise.
22708         (__fcrypt): Likewise.
22709         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22710         (_ufc_set_bits): Likewise.
22711         (_ufc_clearmem): Likewise.
22712         (__init_des_r): Likewise.
22713         (shuffle_sb): Likewise.
22714         (shuffle_sb): Likewise.
22715         (_ufc_setup_salt_r): Likewise.
22716         (_ufc_mk_keytab_r): Likewise.
22717         (_ufc_dofinalperm_r): Likewise.
22718         (encrypt): Likewise.
22719         (__setkey_r): Likewise.
22720         (setkey): Likewise.
22721         * crypt/md5.c (md5_init_ctx): Likewise.
22722         (md5_read_ctx): Likewise.
22723         (md5_finish_ctx): Likewise.
22724         (md5_stream): Likewise.
22725         (md5_buffer): Likewise.
22726         (md5_process_bytes): Likewise.
22727         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22728         (__sha256_finish_ctx): Likewise.
22729         (__sha256_process_bytes): Likewise.
22730         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22731         (__sha512_finish_ctx): Likewise.
22732         (__sha512_process_bytes): Likewise.
22733         * ctype/isctype.c (__isctype): Likewise.
22734         * debug/backtrace.c (__backtrace): Likewise.
22735         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22736         * debug/fgets_chk.c (__fgets_chk): Likewise.
22737         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22738         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22739         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22740         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22741         * debug/memset_chk.c (__memset_chk): Likewise.
22742         * debug/strcat_chk.c (__strcat_chk): Likewise.
22743         * debug/strncat_chk.c (__strncat_chk): Likewise.
22744         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22745         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22746         * dirent/dirfd.c (dirfd): Likewise.
22747         * dirent/getdents.c (__getdirentries): Likewise.
22748         * dirent/getdents64.c (getdirentries64): Likewise.
22749         * dirent/rewinddir.c (__rewinddir): Likewise.
22750         * dirent/seekdir.c (seekdir): Likewise.
22751         * dirent/telldir.c (telldir): Likewise.
22752         * elf/sln.c (makesymlinks): Likewise.
22753         (makesymlink): Likewise.
22754         * gmon/gmon.c (__moncontrol): Likewise.
22755         (__monstartup): Likewise.
22756         (write_hist): Likewise.
22757         (write_call_graph): Likewise.
22758         (write_bb_counts): Likewise.
22759         * grp/setgroups.c (setgroups): Likewise.
22760         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22761         * inet/inet_net.c (inet_network): Likewise.
22762         * inet/inet_netof.c (inet_netof): Likewise.
22763         * inet/rcmd.c (rresvport_af): Likewise.
22764         (rresvport): Likewise.
22765         * io/access.c (__access): Likewise.
22766         * io/chdir.c (__chdir): Likewise.
22767         * io/chmod.c (__chmod): Likewise.
22768         * io/chown.c (__chown): Likewise.
22769         * io/close.c (__close): Likewise.
22770         * io/creat.c (creat): Likewise.
22771         * io/creat64.c (creat64): Likewise.
22772         * io/dup.c (__dup): Likewise.
22773         * io/dup2.c (__dup2): Likewise.
22774         * io/dup3.c (__dup3): Likewise.
22775         * io/euidaccess.c (__euidaccess): Likewise.
22776         * io/faccessat.c (faccessat): Likewise.
22777         * io/fchmod.c (__fchmod): Likewise.
22778         * io/fchmodat.c (fchmodat): Likewise.
22779         * io/fchown.c (__fchown): Likewise.
22780         * io/fchownat.c (fchownat): Likewise.
22781         * io/fcntl.c (__fcntl): Likewise.
22782         * io/flock.c (__flock): Likewise.
22783         * io/fts.c (fts_load): Likewise.
22784         (fts_close): Likewise.
22785         (fts_read): Likewise.
22786         (fts_set): Likewise.
22787         (fts_children): Likewise.
22788         (fts_build): Likewise.
22789         (fts_stat): Likewise.
22790         (fts_sort): Likewise.
22791         (fts_alloc): Likewise.
22792         (fts_lfree): Likewise.
22793         (fts_palloc): Likewise.
22794         (fts_padjust): Likewise.
22795         (fts_maxarglen): Likewise.
22796         (fts_safe_changedir): Likewise.
22797         * io/getwd.c (getwd): Likewise.
22798         * io/isatty.c (__isatty): Likewise.
22799         * io/lchown.c (__lchown): Likewise.
22800         * io/link.c (__link): Likewise.
22801         * io/linkat.c (linkat): Likewise.
22802         * io/lseek.c (__libc_lseek): Likewise.
22803         * io/mkdir.c (__mkdir): Likewise.
22804         * io/mkdirat.c (mkdirat): Likewise.
22805         * io/mkfifo.c (mkfifo): Likewise.
22806         * io/mkfifoat.c (mkfifoat): Likewise.
22807         * io/open.c (__libc_open): Likewise.
22808         * io/open64.c (__libc_open64): Likewise.
22809         * io/readlink.c (__readlink): Likewise.
22810         * io/readlinkat.c (readlinkat): Likewise.
22811         * io/rmdir.c (__rmdir): Likewise.
22812         * io/symlink.c (__symlink): Likewise.
22813         * io/symlinkat.c (symlinkat): Likewise.
22814         * io/ttyname.c (ttyname): Likewise.
22815         * io/ttyname_r.c (__ttyname_r): Likewise.
22816         * io/umask.c (__umask): Likewise.
22817         * io/unlink.c (__unlink): Likewise.
22818         * io/unlinkat.c (unlinkat): Likewise.
22819         * io/utime.c (utime): Likewise.
22820         * libio/clearerr.c (clearerr): Likewise.
22821         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22822         * libio/feof.c (_IO_feof): Likewise.
22823         * libio/feof_u.c (feof_unlocked): Likewise.
22824         * libio/ferror.c (_IO_ferror): Likewise.
22825         * libio/ferror_u.c (ferror_unlocked): Likewise.
22826         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22827         * libio/fileno.c (__fileno): Likewise.
22828         * libio/fputc.c (fputc): Likewise.
22829         * libio/fputc_u.c (fputc_unlocked): Likewise.
22830         * libio/fputwc.c (fputwc): Likewise.
22831         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22832         * libio/freopen.c (freopen): Likewise.
22833         * libio/freopen64.c (freopen64): Likewise.
22834         * libio/fseek.c (fseek): Likewise.
22835         * libio/fseeko.c (fseeko): Likewise.
22836         * libio/fseeko64.c (fseeko64): Likewise.
22837         * libio/ftello.c (__ftello): Likewise.
22838         * libio/ftello64.c (ftello64): Likewise.
22839         * libio/fwide.c (fwide): Likewise.
22840         * libio/genops.c (_IO_un_link): Likewise.
22841         (_IO_link_in): Likewise.
22842         (_IO_least_marker): Likewise.
22843         (_IO_switch_to_main_get_area): Likewise.
22844         (_IO_switch_to_backup_area): Likewise.
22845         (_IO_switch_to_get_mode): Likewise.
22846         (_IO_free_backup_area): Likewise.
22847         (_IO_switch_to_put_mode): Likewise.
22848         (__overflow): Likewise.
22849         (__underflow): Likewise.
22850         (__uflow): Likewise.
22851         (_IO_setb): Likewise.
22852         (_IO_doallocbuf): Likewise.
22853         (_IO_default_underflow): Likewise.
22854         (_IO_default_uflow): Likewise.
22855         (_IO_default_xsputn): Likewise.
22856         (_IO_sgetn): Likewise.
22857         (_IO_default_xsgetn): Likewise.
22858         (_IO_sync): Likewise.
22859         (_IO_default_setbuf): Likewise.
22860         (_IO_default_seekpos): Likewise.
22861         (_IO_default_doallocate): Likewise.
22862         (_IO_init): Likewise.
22863         (_IO_old_init): Likewise.
22864         (_IO_default_sync): Likewise.
22865         (_IO_default_finish): Likewise.
22866         (_IO_default_seekoff): Likewise.
22867         (_IO_sputbackc): Likewise.
22868         (_IO_sungetc): Likewise.
22869         (_IO_set_column): Likewise.
22870         (_IO_set_column): Likewise.
22871         (_IO_adjust_column): Likewise.
22872         (_IO_get_column): Likewise.
22873         (_IO_init_marker): Likewise.
22874         (_IO_remove_marker): Likewise.
22875         (_IO_marker_difference): Likewise.
22876         (_IO_marker_delta): Likewise.
22877         (_IO_seekmark): Likewise.
22878         (_IO_unsave_markers): Likewise.
22879         (_IO_nobackup_pbackfail): Likewise.
22880         (_IO_default_pbackfail): Likewise.
22881         (_IO_default_seek): Likewise.
22882         (_IO_default_stat): Likewise.
22883         (_IO_default_read): Likewise.
22884         (_IO_default_write): Likewise.
22885         (_IO_default_showmanyc): Likewise.
22886         (_IO_default_imbue): Likewise.
22887         (_IO_iter_next): Likewise.
22888         (_IO_iter_file): Likewise.
22889         * libio/getc.c (_IO_getc): Likewise.
22890         * libio/getwc.c (_IO_getwc): Likewise.
22891         * libio/iofclose.c (_IO_new_fclose): Likewise.
22892         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22893         * libio/iofflush.c (_IO_fflush): Likewise.
22894         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22895         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22896         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22897         * libio/iofgets.c (_IO_fgets): Likewise.
22898         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22899         * libio/iofgetws.c (fgetws): Likewise.
22900         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22901         * libio/iofopen64.c (_IO_fopen64): Likewise.
22902         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22903         (_IO_cookie_write): Likewise.
22904         (_IO_cookie_seek): Likewise.
22905         (_IO_cookie_close): Likewise.
22906         (_IO_cookie_seekoff): Likewise.
22907         (_IO_old_cookie_seek): Likewise.
22908         * libio/iofputs.c (_IO_fputs): Likewise.
22909         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22910         * libio/iofputws.c (fputws): Likewise.
22911         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22912         * libio/iofread.c (_IO_fread): Likewise.
22913         * libio/iofread_u.c (__fread_unlocked): Likewise.
22914         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22915         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22916         * libio/ioftell.c (_IO_ftell): Likewise.
22917         * libio/iofwrite.c (_IO_fwrite): Likewise.
22918         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22919         * libio/iogets.c (_IO_gets): Likewise.
22920         * libio/iopadn.c (_IO_padn): Likewise.
22921         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22922         (_IO_new_popen): Likewise.
22923         (_IO_new_proc_close): Likewise.
22924         * libio/ioputs.c (_IO_puts): Likewise.
22925         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22926         (_IO_seekoff): Likewise.
22927         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22928         (_IO_seekpos): Likewise.
22929         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22930         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22931         * libio/ioungetc.c (_IO_ungetc): Likewise.
22932         * libio/ioungetwc.c (ungetwc): Likewise.
22933         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22934         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22935         * libio/iowpadn.c (_IO_wpadn): Likewise.
22936         * libio/libc_fatal.c (__libc_fatal): Likewise.
22937         * libio/memstream.c (__open_memstream): Likewise.
22938         (_IO_mem_sync): Likewise.
22939         (_IO_mem_finish): Likewise.
22940         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22941         (_IO_old_file_close_it): Likewise.
22942         (_IO_old_file_finish): Likewise.
22943         (_IO_old_file_fopen): Likewise.
22944         (_IO_old_file_attach): Likewise.
22945         (_IO_old_file_setbuf): Likewise.
22946         (_IO_old_do_write): Likewise.
22947         (old_do_write): Likewise.
22948         (_IO_old_file_underflow): Likewise.
22949         (_IO_old_file_overflow): Likewise.
22950         (_IO_old_file_sync): Likewise.
22951         (_IO_old_file_seekoff): Likewise.
22952         (_IO_old_file_write): Likewise.
22953         (_IO_old_file_xsputn): Likewise.
22954         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22955         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22956         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22957         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22958         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22959         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22960         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22961         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22962         (_IO_old_popen): Likewise.
22963         (_IO_old_proc_close): Likewise.
22964         * libio/oldpclose.c (__old_pclose): Likewise.
22965         * libio/pclose.c (__new_pclose): Likewise.
22966         * libio/peekc.c (_IO_peekc_locked): Likewise.
22967         * libio/putc.c (_IO_putc): Likewise.
22968         * libio/putc_u.c (putc_unlocked): Likewise.
22969         * libio/putchar.c (putchar): Likewise.
22970         * libio/putchar_u.c (putchar_unlocked): Likewise.
22971         * libio/putwc.c (putwc): Likewise.
22972         * libio/putwc_u.c (putwc_unlocked): Likewise.
22973         * libio/putwchar.c (putwchar): Likewise.
22974         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22975         * libio/rewind.c (rewind): Likewise.
22976         * libio/setbuf.c (setbuf): Likewise.
22977         * libio/setlinebuf.c (setlinebuf): Likewise.
22978         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22979         * libio/vscanf.c (_IO_vscanf): Likewise.
22980         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22981         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22982         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22983         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22984         (_IO_switch_to_main_wget_area): Likewise.
22985         (_IO_switch_to_wbackup_area): Likewise.
22986         (_IO_wsetb): Likewise.
22987         (_IO_wdefault_pbackfail): Likewise.
22988         (_IO_wdefault_finish): Likewise.
22989         (_IO_wdefault_uflow): Likewise.
22990         (__woverflow): Likewise.
22991         (__wuflow): Likewise.
22992         (__wunderflow): Likewise.
22993         (_IO_wdefault_xsputn): Likewise.
22994         (_IO_wdefault_xsgetn): Likewise.
22995         (_IO_wdoallocbuf): Likewise.
22996         (_IO_wdefault_doallocate): Likewise.
22997         (_IO_switch_to_wget_mode): Likewise.
22998         (_IO_free_wbackup_area): Likewise.
22999         (_IO_switch_to_wput_mode): Likewise.
23000         (_IO_sputbackwc): Likewise.
23001         (_IO_sungetwc): Likewise.
23002         (_IO_adjust_wcolumn): Likewise.
23003         (_IO_init_wmarker): Likewise.
23004         (_IO_wmarker_delta): Likewise.
23005         (_IO_seekwmark): Likewise.
23006         (_IO_unsave_wmarkers): Likewise.
23007         * libio/wmemstream.c (open_wmemstream): Likewise.
23008         (_IO_wmem_sync): Likewise.
23009         (_IO_wmem_finish): Likewise.
23010         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23011         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23012         * locale/programs/simple-hash.c (init_hash): Likewise.
23013         (delete_hash): Likewise.
23014         (insert_entry): Likewise.
23015         (set_entry): Likewise.
23016         (next_prime): Likewise.
23017         (is_prime): Likewise.
23018         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23019         (xmalloc): Likewise.
23020         (xrealloc): Likewise.
23021         * locale/programs/xstrdup.c (xstrdup): Likewise.
23022         * localedata/collate-test.c (xstrcoll): Likewise.
23023         * localedata/xfrm-test.c (xstrcmp): Likewise.
23024         * login/getlogin_r.c (__getlogin_r): Likewise.
23025         * login/getpt.c (__posix_openpt): Likewise.
23026         * login/login_tty.c (login_tty): Likewise.
23027         * login/setlogin.c (setlogin): Likewise.
23028         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23029         (mach_msg_destroy_port): Likewise.
23030         (mach_msg_destroy_memory): Likewise.
23031         * malloc/mcheck.c (flood): Likewise.
23032         * misc/acct.c (acct): Likewise.
23033         * misc/brk.c (__brk): Likewise.
23034         * misc/chflags.c (chflags): Likewise.
23035         * misc/chroot.c (chroot): Likewise.
23036         * misc/fchflags.c (fchflags): Likewise.
23037         * misc/fstab.c (getfsspec): Likewise.
23038         (getfsfile): Likewise.
23039         * misc/fsync.c (fsync): Likewise.
23040         * misc/ftruncate.c (__ftruncate): Likewise.
23041         * misc/ftruncate64.c (__ftruncate64): Likewise.
23042         * misc/getdomain.c (getdomainname): Likewise.
23043         (getdomainname): Likewise.
23044         * misc/gethostname.c (__gethostname): Likewise.
23045         * misc/getpass.c (getpass): Likewise.
23046         * misc/getttyent.c (skip): Likewise.
23047         (value): Likewise.
23048         * misc/gtty.c (gtty): Likewise.
23049         * misc/hsearch.c (hsearch): Likewise.
23050         (hcreate): Likewise.
23051         * misc/hsearch_r.c (__hcreate_r): Likewise.
23052         (__hdestroy_r): Likewise.
23053         * misc/ioctl.c (__ioctl): Likewise.
23054         * misc/mkdtemp.c (mkdtemp): Likewise.
23055         * misc/mkostemp.c (mkostemp): Likewise.
23056         * misc/mkostemp64.c (mkostemp64): Likewise.
23057         * misc/mkostemps.c (mkostemps): Likewise.
23058         * misc/mkostemps64.c (mkostemps64): Likewise.
23059         * misc/mkstemp.c (mkstemp): Likewise.
23060         * misc/mkstemp64.c (mkstemp64): Likewise.
23061         * misc/mkstemps.c (mkstemps): Likewise.
23062         * misc/mkstemps64.c (mkstemps64): Likewise.
23063         * misc/mktemp.c (__mktemp): Likewise.
23064         * misc/preadv.c (preadv): Likewise.
23065         * misc/preadv64.c (preadv64): Likewise.
23066         * misc/pwritev.c (pwritev): Likewise.
23067         * misc/pwritev64.c (pwritev64): Likewise.
23068         * misc/readv.c (__readv): Likewise.
23069         * misc/revoke.c (revoke): Likewise.
23070         * misc/setdomain.c (setdomainname): Likewise.
23071         * misc/setegid.c (setegid): Likewise.
23072         * misc/seteuid.c (seteuid): Likewise.
23073         * misc/sethostid.c (sethostid): Likewise.
23074         * misc/sethostname.c (sethostname): Likewise.
23075         * misc/setregid.c (__setregid): Likewise.
23076         * misc/setreuid.c (__setreuid): Likewise.
23077         * misc/sstk.c (sstk): Likewise.
23078         * misc/stty.c (stty): Likewise.
23079         * misc/syscall.c (syscall): Likewise.
23080         * misc/syslog.c (setlogmask): Likewise.
23081         * misc/truncate.c (__truncate): Likewise.
23082         * misc/truncate64.c (truncate64): Likewise.
23083         * misc/ualarm.c (ualarm): Likewise.
23084         * misc/usleep.c (usleep): Likewise.
23085         * misc/ustat.c (ustat): Likewise.
23086         * misc/writev.c (__writev): Likewise.
23087         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23088         * nptl/old_pthread_cond_broadcast.c
23089         (__pthread_cond_broadcast_2_0): Likewise.
23090         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23091         Likewise.
23092         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23093         Likewise.
23094         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23095         Likewise.
23096         * nptl/pt-raise.c (raise): Likewise.
23097         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23098         Likewise.
23099         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23100         * nptl/pthread_barrierattr_destroy.c
23101         (pthread_barrierattr_destroy): Likewise.
23102         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23103         Likewise.
23104         * nptl/pthread_barrierattr_setpshared.c
23105         (pthread_barrierattr_setpshared): Likewise.
23106         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23107         Likewise.
23108         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23109         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23110         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23111         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23112         Likewise.
23113         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23114         Likewise.
23115         * nptl/pthread_condattr_getpshared.c
23116         (pthread_condattr_getpshared): Likewise.
23117         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23118         Likewise.
23119         * nptl/pthread_condattr_setpshared.c
23120         (pthread_condattr_setpshared): Likewise.
23121         * nptl/pthread_detach.c (pthread_detach): Likewise.
23122         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23123         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23124         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23125         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23126         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23127         Likewise.
23128         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23129         Likewise.
23130         * nptl/pthread_mutex_getprioceiling.c
23131         (pthread_mutex_getprioceiling): Likewise.
23132         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23133         Likewise.
23134         * nptl/pthread_mutexattr_getprotocol.c
23135         (pthread_mutexattr_getprotocol): Likewise.
23136         * nptl/pthread_mutexattr_getpshared.c
23137         (pthread_mutexattr_getpshared): Likewise.
23138         * nptl/pthread_mutexattr_getrobust.c
23139         (pthread_mutexattr_getrobust): Likewise.
23140         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23141         Likewise.
23142         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23143         Likewise.
23144         * nptl/pthread_mutexattr_setprioceiling.c
23145         (pthread_mutexattr_setprioceiling): Likewise.
23146         * nptl/pthread_mutexattr_setprotocol.c
23147         (pthread_mutexattr_setprotocol): Likewise.
23148         * nptl/pthread_mutexattr_setpshared.c
23149         (pthread_mutexattr_setpshared): Likewise.
23150         * nptl/pthread_mutexattr_setrobust.c
23151         (pthread_mutexattr_setrobust): Likewise.
23152         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23153         Likewise.
23154         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23155         Likewise.
23156         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23157         Likewise.
23158         * nptl/pthread_rwlockattr_getkind_np.c
23159         (pthread_rwlockattr_getkind_np): Likewise.
23160         * nptl/pthread_rwlockattr_getpshared.c
23161         (pthread_rwlockattr_getpshared): Likewise.
23162         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23163         Likewise.
23164         * nptl/pthread_rwlockattr_setkind_np.c
23165         (pthread_rwlockattr_setkind_np): Likewise.
23166         * nptl/pthread_rwlockattr_setpshared.c
23167         (pthread_rwlockattr_setpshared): Likewise.
23168         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23169         Likewise.
23170         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23171         Likewise.
23172         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23173         Likewise.
23174         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23175         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23176         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23177         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23178         * nptl/sem_close.c (sem_close): Likewise.
23179         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23180         * nptl/sem_init.c (__old_sem_init): Likewise.
23181         * nptl/sigaction.c (__sigaction): Likewise.
23182         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23183         * posix/_exit.c (_exit): Likewise.
23184         * posix/alarm.c (alarm): Likewise.
23185         * posix/confstr.c (confstr): Likewise.
23186         * posix/fpathconf.c (__fpathconf): Likewise.
23187         * posix/getgroups.c (__getgroups): Likewise.
23188         * posix/getpgid.c (__getpgid): Likewise.
23189         * posix/group_member.c (__group_member): Likewise.
23190         * posix/pathconf.c (__pathconf): Likewise.
23191         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23192         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23193         * posix/setgid.c (__setgid): Likewise.
23194         * posix/setpgid.c (__setpgid): Likewise.
23195         * posix/setuid.c (__setuid): Likewise.
23196         * posix/sleep.c (__sleep): Likewise.
23197         * posix/sysconf.c (__sysconf): Likewise.
23198         * posix/times.c (__times): Likewise.
23199         * posix/uname.c (__uname): Likewise.
23200         * posix/waitid.c (__waitid): Likewise.
23201         * pwd/getpw.c (__getpw): Likewise.
23202         * resolv/base64.c (b64_pton): Likewise.
23203         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23204         * resolv/gethnamaddr.c (Dprintf): Likewise.
23205         (gethostbyname): Likewise.
23206         (gethostbyname2): Likewise.
23207         (gethostbyaddr): Likewise.
23208         (_sethtent): Likewise.
23209         (_gethtbyname): Likewise.
23210         (_gethtbyname2): Likewise.
23211         (_gethtbyaddr): Likewise.
23212         (map_v4v6_address): Likewise.
23213         (map_v4v6_hostent): Likewise.
23214         (addrsort): Likewise.
23215         (ht_sethostent): Likewise.
23216         (ht_gethostbyname): Likewise.
23217         (ht_gethostbyaddr): Likewise.
23218         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23219         (inet_net_ntop_ipv4): Likewise.
23220         * resolv/inet_neta.c (inet_neta): Likewise.
23221         * resolv/inet_ntop.c (inet_ntop): Likewise.
23222         (inet_ntop4): Likewise.
23223         (inet_ntop6): Likewise.
23224         * resolv/inet_pton.c (__inet_pton): Likewise.
23225         (inet_pton4): Likewise.
23226         (inet_pton6): Likewise.
23227         * resolv/res_debug.c (loc_aton): Likewise.
23228         (loc_ntoa): Likewise.
23229         * resource/getpriority.c (__getpriority): Likewise.
23230         * resource/getrusage.c (__getrusage): Likewise.
23231         * resource/nice.c (nice): Likewise.
23232         * resource/setpriority.c (__setpriority): Likewise.
23233         * resource/setrlimit64.c (setrlimit64): Likewise.
23234         * resource/vlimit.c (vlimit): Likewise.
23235         * resource/vtimes.c (vtimes): Likewise.
23236         * rt/aio_error.c (aio_error): Likewise.
23237         * rt/aio_return.c (aio_return): Likewise.
23238         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23239         * signal/kill.c (__kill): Likewise.
23240         * signal/killpg.c (killpg): Likewise.
23241         * signal/raise.c (raise): Likewise.
23242         * signal/sigaction.c (__sigaction): Likewise.
23243         * signal/sigaddset.c (sigaddset): Likewise.
23244         * signal/sigaltstack.c (sigaltstack): Likewise.
23245         * signal/sigandset.c (sigandset): Likewise.
23246         * signal/sigblock.c (__sigblock): Likewise.
23247         * signal/sigdelset.c (sigdelset): Likewise.
23248         * signal/sigempty.c (sigemptyset): Likewise.
23249         * signal/sigfillset.c (sigfillset): Likewise.
23250         * signal/sighold.c (sighold): Likewise.
23251         * signal/sigignore.c (sigignore): Likewise.
23252         * signal/sigintr.c (siginterrupt): Likewise.
23253         * signal/sigisempty.c (sigisemptyset): Likewise.
23254         * signal/sigismem.c (sigismember): Likewise.
23255         * signal/signal.c (signal): Likewise.
23256         * signal/sigorset.c (sigorset): Likewise.
23257         * signal/sigpause.c (__sigpause): Likewise.
23258         * signal/sigpending.c (sigpending): Likewise.
23259         * signal/sigprocmask.c (__sigprocmask): Likewise.
23260         * signal/sigrelse.c (sigrelse): Likewise.
23261         * signal/sigreturn.c (__sigreturn): Likewise.
23262         * signal/sigset.c (sigset): Likewise.
23263         * signal/sigsetmask.c (__sigsetmask): Likewise.
23264         * signal/sigstack.c (sigstack): Likewise.
23265         * signal/sigsuspend.c (__sigsuspend): Likewise.
23266         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23267         * signal/sysv_signal.c (__sysv_signal): Likewise.
23268         * socket/accept.c (accept): Likewise.
23269         * socket/accept4.c (__libc_accept4): Likewise.
23270         * socket/bind.c (__bind): Likewise.
23271         * socket/connect.c (__connect): Likewise.
23272         * socket/getpeername.c (getpeername): Likewise.
23273         * socket/getsockname.c (__getsockname): Likewise.
23274         * socket/getsockopt.c (getsockopt): Likewise.
23275         * socket/listen.c (__listen): Likewise.
23276         * socket/recv.c (__recv): Likewise.
23277         * socket/recvmsg.c (__recvmsg): Likewise.
23278         * socket/send.c (__send): Likewise.
23279         * socket/sendmsg.c (__sendmsg): Likewise.
23280         * socket/shutdown.c (shutdown): Likewise.
23281         * socket/sockatmark.c (sockatmark): Likewise.
23282         * socket/socket.c (__socket): Likewise.
23283         * stdio-common/ctermid.c (ctermid): Likewise.
23284         * stdio-common/cuserid.c (cuserid): Likewise.
23285         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23286         * stdio-common/remove.c (remove): Likewise.
23287         * stdio-common/rename.c (rename): Likewise.
23288         * stdio-common/renameat.c (renameat): Likewise.
23289         * stdio-common/tempname.c (__gen_tempname): Likewise.
23290         * stdio-common/xbug.c (InitBuffer): Likewise.
23291         (AppendToBuffer): Likewise.
23292         (ReadFile): Likewise.
23293         * stdlib/a64l.c (a64l): Likewise.
23294         * stdlib/drand48_r.c (drand48_r): Likewise.
23295         * stdlib/getcontext.c (getcontext): Likewise.
23296         * stdlib/getenv.c (getenv): Likewise.
23297         * stdlib/l64a.c (l64a): Likewise.
23298         * stdlib/llabs.c (llabs): Likewise.
23299         * stdlib/lldiv.c (lldiv): Likewise.
23300         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23301         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23302         * stdlib/putenv.c (putenv): Likewise.
23303         * stdlib/random.c (__srandom): Likewise.
23304         (__initstate): Likewise.
23305         (__setstate): Likewise.
23306         * stdlib/random_r.c (__srandom_r): Likewise.
23307         (__setstate_r): Likewise.
23308         (__random_r): Likewise.
23309         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23310         * stdlib/setcontext.c (setcontext): Likewise.
23311         * stdlib/setenv.c (setenv): Likewise.
23312         (unsetenv): Likewise.
23313         * stdlib/srand48.c (srand48): Likewise.
23314         * stdlib/srand48_r.c (__srand48_r): Likewise.
23315         * stdlib/swapcontext.c (swapcontext): Likewise.
23316         * stdlib/system.c (__libc_system): Likewise.
23317         * stdlib/tst-strtod.c (expand): Likewise.
23318         * stdlib/tst-strtol.c (expand): Likewise.
23319         * stdlib/tst-strtoll.c (expand): Likewise.
23320         * streams/fattach.c (fattach): Likewise.
23321         * streams/fdetach.c (fdetach): Likewise.
23322         * streams/getmsg.c (getmsg): Likewise.
23323         * streams/isastream.c (isastream): Likewise.
23324         * string/ffs.c (__ffs): Likewise.
23325         * string/ffsll.c (ffsll): Likewise.
23326         * string/memcmp.c (memcmp_common_alignment): Likewise.
23327         (memcmp_not_common_alignment): Likewise.
23328         (MEMCMP): Likewise.
23329         * string/memcpy.c (memcpy): Likewise.
23330         * string/memmove.c (MEMMOVE): Likewise.
23331         * string/memset.c (memset): Likewise.
23332         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23333         * string/strchrnul.c (STRCHRNUL): Likewise.
23334         * string/strerror.c (strerror): Likewise.
23335         * string/strndup.c (__strndup): Likewise.
23336         * string/strverscmp.c (__strverscmp): Likewise.
23337         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23338         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23339         (clnttcp_freeres): Likewise.
23340         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23341         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23342         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23343         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23344         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23345         (xdr_callhdr): Likewise.
23346         * sunrpc/rpcinfo.c (udpping): Likewise.
23347         (tcpping): Likewise.
23348         (pstatus): Likewise.
23349         (pmapdump): Likewise.
23350         (brdcst): Likewise.
23351         (deletereg): Likewise.
23352         (getprognum): Likewise.
23353         (getvers): Likewise.
23354         (get_inet_address): Likewise.
23355         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23356         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23357         (svcudp_stat): Likewise.
23358         (svcudp_recv): Likewise.
23359         (svcudp_reply): Likewise.
23360         (svcudp_getargs): Likewise.
23361         (svcudp_freeargs): Likewise.
23362         (svcudp_destroy): Likewise.
23363         * sunrpc/xdr.c (xdr_bytes): Likewise.
23364         (xdr_netobj): Likewise.
23365         (xdr_string): Likewise.
23366         (xdr_wrapstring): Likewise.
23367         * sunrpc/xdr_float.c (xdr_float): Likewise.
23368         (xdr_double): Likewise.
23369         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23370         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23371         * sysvipc/ftok.c (ftok): Likewise.
23372         * sysvipc/msgctl.c (msgctl): Likewise.
23373         * sysvipc/msgget.c (msgget): Likewise.
23374         * sysvipc/msgrcv.c (msgrcv): Likewise.
23375         * sysvipc/msgsnd.c (msgsnd): Likewise.
23376         * sysvipc/semget.c (semget): Likewise.
23377         * sysvipc/semop.c (semop): Likewise.
23378         * sysvipc/shmat.c (shmat): Likewise.
23379         * sysvipc/shmctl.c (shmctl): Likewise.
23380         * sysvipc/shmdt.c (shmdt): Likewise.
23381         * sysvipc/shmget.c (shmget): Likewise.
23382         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23383         * termios/speed.c (cfgetospeed): Likewise.
23384         (cfgetispeed): Likewise.
23385         (cfsetospeed): Likewise.
23386         (cfsetispeed): Likewise.
23387         * termios/tcflow.c (tcflow): Likewise.
23388         * termios/tcflush.c (tcflush): Likewise.
23389         * termios/tcgetattr.c (__tcgetattr): Likewise.
23390         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23391         * termios/tcgetsid.c (tcgetsid): Likewise.
23392         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23393         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23394         * time/adjtime.c (__adjtime): Likewise.
23395         * time/dysize.c (dysize): Likewise.
23396         * time/ftime.c (ftime): Likewise.
23397         * time/getitimer.c (__getitimer): Likewise.
23398         * time/gettimeofday.c (__gettimeofday): Likewise.
23399         * time/gmtime.c (__gmtime_r): Likewise.
23400         (gmtime): Likewise.
23401         * time/localtime.c (__localtime_r): Likewise.
23402         (localtime): Likewise.
23403         * time/offtime.c (__offtime): Likewise.
23404         * time/settimeofday.c (__settimeofday): Likewise.
23405         * time/stime.c (stime): Likewise.
23406         * time/strftime_l.c (tm_diff): Likewise.
23407         (iso_week_days): Likewise.
23408         * time/strptime.c (strptime): Likewise.
23409         * time/time.c (time): Likewise.
23410         * time/timespec_get.c (timespec_get): Likewise.
23411         * time/tzset.c (tzset_internal): Likewise.
23412         (compute_change): Likewise.
23413         (__tz_compute): Likewise.
23414         * wcsmbs/btowc.c (__btowc): Likewise.
23415         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23416         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23417         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23418         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23419         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23420         * wcsmbs/wcscat.c (__wcscat): Likewise.
23421         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23422         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23423         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23424         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23425         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23426         * wcsmbs/wcslen.c (__wcslen): Likewise.
23427         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23428         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23429         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23430         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23431         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23432         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23433         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23434         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23435         * wcsmbs/wcstok.c (wcstok): Likewise.
23436         * wcsmbs/wctob.c (wctob): Likewise.
23437         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23438         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23439         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23440         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23441         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23442         * wcsmbs/wmemset.c (__wmemset): Likewise.
23443         * wctype/wcfuncs.c (__towlower): Likewise.
23444         (__towupper): Likewise.
23446         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23447         (lll_unlock_elision): Add adapt_count parameter.
23449 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23451         * sysdeps/nptl/configure.ac: Do not give errors based on the
23452         results of top-level configure tests.
23453         * sysdeps/nptl/configure: Regenerated.
23455         * configure.ac (libc_cv_Bgroup): Remove configure test.
23456         * configure: Regenerated.
23457         * config.make.in (have-Bgroup): Remove variable.
23459         * configure.ac (sizeof_long_double): Remove configure test.
23460         * configure: Regenerated.
23461         * config.make.in (sizeof-long-double): Remove variable.
23463         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23464         * configure: Regenerated.
23465         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23466         variable.
23467         (exceptions): Likewise.
23468         * sysdeps/arm/configure: Regenerated.
23469         * config.make.in (exceptions): Remove variable.
23470         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23471         $(exceptions).
23472         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23473         (CFLAGS-vdprintf_chk.c): Likewise.
23474         (CFLAGS-printf_chk.c): Likewise.
23475         (CFLAGS-fprintf_chk.c): Likewise.
23476         (CFLAGS-vprintf_chk.c): Likewise.
23477         (CFLAGS-vfprintf_chk.c): Likewise.
23478         (CFLAGS-gets_chk.c): Likewise.
23479         (CFLAGS-fgets_chk.c): Likewise.
23480         (CFLAGS-fgets_u_chk.c): Likewise.
23481         (CFLAGS-fread_chk.c): Likewise.
23482         (CFLAGS-fread_u_chk.c): Likewise.
23483         (CFLAGS-wprintf_chk.c): Likewise.
23484         (CFLAGS-fwprintf_chk.c): Likewise.
23485         (CFLAGS-vwprintf_chk.c): Likewise.
23486         (CFLAGS-vfwprintf_chk.c): Likewise.
23487         (CFLAGS-fgetws_chk.c): Likewise.
23488         (CFLAGS-fgetws_u_chk.c): Likewise.
23489         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23490         (CFLAGS-fputc.c): Likewise.
23491         (CFLAGS-fputwc.c): Likewise.
23492         (CFLAGS-freopen64.c): Likewise.
23493         (CFLAGS-freopen.c): Likewise.
23494         (CFLAGS-fseek.c): Likewise.
23495         (CFLAGS-fseeko64.c): Likewise.
23496         (CFLAGS-fseeko.c): Likewise.
23497         (CFLAGS-ftello64.c): Likewise.
23498         (CFLAGS-ftello.c): Likewise.
23499         (CFLAGS-fwide.c): Likewise.
23500         (CFLAGS-genops.c): Likewise.
23501         (CFLAGS-getc.c): Likewise.
23502         (CFLAGS-getchar.c): Likewise.
23503         (CFLAGS-getwc.c): Likewise.
23504         (CFLAGS-getwchar.c): Likewise.
23505         (CFLAGS-iofclose.c): Likewise.
23506         (CFLAGS-iofflush.c): Likewise.
23507         (CFLAGS-iofgetpos64.c): Likewise.
23508         (CFLAGS-iofgetpos.c): Likewise.
23509         (CFLAGS-iofgets.c): Likewise.
23510         (CFLAGS-iofgetws.c): Likewise.
23511         (CFLAGS-iofputs.c): Likewise.
23512         (CFLAGS-iofputws.c): Likewise.
23513         (CFLAGS-iofread.c): Likewise.
23514         (CFLAGS-iofsetpos64.c): Likewise.
23515         (CFLAGS-iofsetpos.c): Likewise.
23516         (CFLAGS-ioftell.c): Likewise.
23517         (CFLAGS-iofwrite.c): Likewise.
23518         (CFLAGS-iogetdelim.c): Likewise.
23519         (CFLAGS-iogetline.c): Likewise.
23520         (CFLAGS-iogets.c): Likewise.
23521         (CFLAGS-iogetwline.c): Likewise.
23522         (CFLAGS-ioputs.c): Likewise.
23523         (CFLAGS-ioseekoff.c): Likewise.
23524         (CFLAGS-ioseekpos.c): Likewise.
23525         (CFLAGS-iosetbuffer.c): Likewise.
23526         (CFLAGS-iosetvbuf.c): Likewise.
23527         (CFLAGS-ioungetc.c): Likewise.
23528         (CFLAGS-ioungetwc.c): Likewise.
23529         (CFLAGS-oldfileops.c): Likewise.
23530         (CFLAGS-oldiofclose.c): Likewise.
23531         (CFLAGS-oldiofgetpos64.c): Likewise.
23532         (CFLAGS-oldiofgetpos.c): Likewise.
23533         (CFLAGS-oldiofsetpos64.c): Likewise.
23534         (CFLAGS-oldiofsetpos.c): Likewise.
23535         (CFLAGS-peekc.c): Likewise.
23536         (CFLAGS-putc.c): Likewise.
23537         (CFLAGS-putchar.c): Likewise.
23538         (CFLAGS-putwc.c): Likewise.
23539         (CFLAGS-putwchar.c): Likewise.
23540         (CFLAGS-rewind.c): Likewise.
23541         (CFLAGS-wfileops.c): Likewise.
23542         (CFLAGS-wgenops.c): Likewise.
23543         (CFLAGS-oldiofopen.c): Likewise.
23544         (CFLAGS-iofopen.c): Likewise.
23545         (CFLAGS-iofopen64.c): Likewise.
23546         (CFLAGS-oldtmpfile.c): Likewise.
23547         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23548         (CFLAGS-fprintf.c): Likewise.
23549         (CFLAGS-printf.c): Likewise.
23550         (CFLAGS-vfwprintf.c): Likewise.
23551         (CFLAGS-vfscanf.c): Likewise.
23552         (CFLAGS-vfwscanf.c): Likewise.
23553         (CFLAGS-fscanf.c): Likewise.
23554         (CFLAGS-scanf.c): Likewise.
23555         (CFLAGS-isoc99_vfscanf.c): Likewise.
23556         (CFLAGS-isoc99_vscanf.c): Likewise.
23557         (CFLAGS-isoc99_fscanf.c): Likewise.
23558         (CFLAGS-isoc99_scanf.c): Likewise.
23559         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23560         (CFLAGS-isoc99_fwscanf.c): Likewise.
23561         (CFLAGS-isoc99_vwscanf.c): Likewise.
23562         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23564         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23565         after mkstemp64.
23566         * login/tst-utmp.c (do_prepare): Likewise.
23567         * rt/tst-aio.c (do_prepare): Likewise.
23568         * rt/tst-aio64.c (do_prepare): Likewise.
23570 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23572         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23573         (__lll_lock_elision): Remove adapt_count decrement...
23574         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23575         (__lll_trylock_elision): Likewise.
23576         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23577         (__lll_unlock_elision): ... to here. And utilize
23578         new adapt_count parameter.
23579         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23580         (__lll_unlock_elision): Update to include adapt_count
23581         parameter.
23582         (lll_unlock_elision): Pass pointer to adapt_count
23583         variable.
23585 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23587         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23588         Add elision adapt_count parameter to list of arguments.
23589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23590         (lll_unlock_elision): Update with new parameter list
23591         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23592         (lll_unlock_elision): Likewise.
23593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23594         (lll_unlock_elision): Likewise.
23596 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23598         [BZ #19122]
23599         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23600         attribute_hidden.
23602         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23603         attribute_hidden.
23604         [IS_IN (rtld)] (__strdup): Likewise.
23605         [IS_IN (rtld)] (__strerror_r): Likewise.
23606         [IS_IN (rtld)] (__strsep_g): Likewise.
23607         [IS_IN (rtld)] (memchr): Likewise.
23608         [IS_IN (rtld)] (memcmp): Likewise.
23609         [IS_IN (rtld)] (memcpy): Likewise.
23610         [IS_IN (rtld)] (memmove): Likewise.
23611         [IS_IN (rtld)] (memset): Likewise.
23612         [IS_IN (rtld)] (rawmemchr): Likewise.
23613         [IS_IN (rtld)] (stpcpy): Likewise.
23614         [IS_IN (rtld)] (strchr): Likewise.
23615         [IS_IN (rtld)] (strcmp): Likewise.
23616         [IS_IN (rtld)] (strlen): Likewise.
23617         [IS_IN (rtld)] (strnlen): Likewise.
23618         [IS_IN (rtld)] (strsep): Likewise.
23620         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23621         attribute_hidden.
23622         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23624         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23625         attribute_hidden.
23626         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23628         * include/setjmp.h (__longjmp): Add attribute_hidden.
23629         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23631         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23632         Add attribute_hidden.
23634         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23635         [IS_IN (rtld)] (__open): Likewise.
23636         [IS_IN (rtld)] (__fcntl): Likewise.
23638         * include/dirent.h (__opendirat): Add attribute_hidden.
23639         (__getdents): Likewise.
23640         (__getdents64): Likewise.
23641         (__alloc_dir): Likewise.
23642         [IS_IN (rtld)] (__closedir): Likewise.
23643         [IS_IN (rtld)] (__fdopendir): Likewise.
23644         [IS_IN (rtld)] (__readdir): Likewise.
23645         [IS_IN (rtld)] (__readdir64): Likewise.
23646         [IS_IN (rtld)] (__rewinddir): Likewise.
23648         * include/dlfcn.h (_dl_catch_error): Moved to ...
23649         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23650         attribute_hidden.
23652         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23653         (_itoa_word): Likewise.
23655         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23656         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23657         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23658         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23659         (_dl_higher_prime_number): Likewise.
23660         (_dl_debug_printf_c): Likewise.
23661         (_dl_signal_cerror): Likewise.
23662         (_dl_receive_error): Likewise.
23663         (_dl_reloc_bad_type): Likewise.
23664         (_dl_resolve_conflicts): Likewise.
23665         (_dl_check_all_versions): Likewise.
23666         (_dl_check_map_versions): Likewise.
23667         (_dl_sort_fini): Likewise.
23668         (_dl_debug_initialize): Likewise.
23669         (_dl_init_paths): Likewise.
23670         (_dl_show_auxv): Likewise.
23671         (_dl_next_ld_env_entry): Likewise.
23672         (_dl_important_hwcaps): Likewise.
23673         (_dl_load_cache_lookup): Likewise.
23674         (_dl_update_slotinfo): Likewise.
23675         (_dl_show_scope): Likewise.
23677         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23678         attribute_hidden.
23679         (_wordcopy_fwd_dest_aligned): Likewise.
23680         (_wordcopy_bwd_aligned): Likewise.
23681         (_wordcopy_bwd_dest_aligned): Likewise.
23683         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23684         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23685         Likewise.
23686         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23687         Likewise.
23688         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23690 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23693         GCC 5 requirement.
23695 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23697         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23698         test.
23699         * sysdeps/i386/configure: Regenerated.
23700         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23701         code unconditional.
23703         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23704         test.
23705         (libc_cv_asm_popsection_directive): Likewise.
23706         * configure: Regenerated.
23707         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23708         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23709         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23710         (__make_section_unallocated): Make definition unconditional.
23711         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23712         Remove conditional definition.
23713         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23714         (__make_section_unallocated): Likewise.
23716         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23717         * configure: Regenerated.
23718         * config.make.in (static-libgcc): Remove variable.
23719         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23720         $(static-libgcc).
23721         (build-module-helper): Likewise.
23723         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23724         * configure: Regenerated.
23726 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23728         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23729         (struct char_buffer): New type.
23730         (char_buffer_start, char_buffer_size, char_buffer_error)
23731         (char_buffer_rewind, char_buffer_add): New functions.
23732         (ADDW): Remove macro, replaced by the char_buffer_add function.
23733         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23734         of extend_alloca.  Make control flow more explicit.
23736 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23738         [BZ #19137]
23739         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23740         Add -fomit-frame-pointer.
23741         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23743 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23745         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23746         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23748         only if !__GNUC_PREREQ (5,0).
23749         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23750         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23751         (INTERNAL_SYSCALL_NCS): Likewise.
23752         (LOADREGS_0): New macro for GCC 5.
23753         (ASMARGS_0): Likewise.
23754         (LOADREGS_1): Likewise.
23755         (ASMARGS_1): Likewise.
23756         (LOADREGS_2): Likewise.
23757         (ASMARGS_2): Likewise.
23758         (LOADREGS_3): Likewise.
23759         (ASMARGS_3): Likewise.
23760         (LOADREGS_4): Likewise.
23761         (ASMARGS_4): Likewise.
23762         (LOADREGS_5): Likewise.
23763         (ASMARGS_5): Likewise.
23764         (LOADREGS_6): Likewise.
23765         (ASMARGS_6): Likewise.
23767 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23769         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23770         -fomit-frame-pointer.
23771         (CFLAGS-mmap64.c): Likewise.
23772         (CFLAGS-semtimedop.c): Likewise.
23773         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23774         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23775         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23776         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23778 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23780         [BZ #18928]
23781         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23782         _dl_pointer_guard member.
23783         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23784         initializer.
23785         (security_init): Always set up pointer guard.
23786         (process_envvars): Do not process LD_POINTER_GUARD.
23788 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23790         [BZ #19134]
23791         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23792         (.LC2): Likewise.
23793         (.LC3): Likewise.
23794         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23796 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23798         [BZ #19129]
23799         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23800         r0 and r1.
23802 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23804         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23806 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23808         * include/stap-probe.h: Fix macro definition formatting.
23810 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23812         [BZ #19074]
23813         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23814         load and store num_ifs.
23816 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23818         [BZ #18822]
23819         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23820         (__sched_getaffinity_new): Add libc_hidden_proto and
23821         libc_hidden_def.
23823 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23825         [BZ #19007]
23826         * scripts/localplt.awk: Also allow GOT references.
23827         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23828         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23829         with "+ REL R_386_GLOB_DAT".
23830         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23831         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23833 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23835         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23836         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23837         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23838         Likewise.
23839         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23840         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23841         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23842         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23843         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23844         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23845         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23846         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23847         Likewise.
23848         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23850 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23852         [BZ #19125]
23853         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23854         <math_private.h> and <stdint.h>.
23855         (__llround): Avoid conversions to and from long long int, and
23856         subtractions, where those might raise spurious exceptions.
23857         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23858         <math_private.h> and <stdint.h>.
23859         (__llroundf): Avoid conversions to and from long long int, and
23860         subtractions, where those might raise spurious exceptions.
23862 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23864         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23865         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23866         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23867         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23868         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23869         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23870         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23871         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23872         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23873         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23874         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23875         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23876         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23877         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23878         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23879         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23880         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23881         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23882         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23883         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23885         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23886         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23887         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23888         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23889         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23890         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23891         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23892         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23893         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23894         (__xstat64_conv): Likewise.
23895         (__xstat32_conv): Likewise.
23897 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23899         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23900         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23901         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23902         <sysdeps/unix/sysv/linux/sysdep.h>.
23903         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23904         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23905         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23906         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23907         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23908         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23909         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23910         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23911         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23916         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23917         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23919         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23920         (sysdep-dl-routines): Add sysdep.
23921         [$(subdir) == nptl] (libpthread-routines): Likewise.
23922         [$(subdir) == rt] (librt-routines): Likewise.
23923         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23924         PIC when branching to SYSCALL_ERROR_LABEL.
23925         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23927         <sysdeps/unix/sysv/linux/sysdep.h>.
23928         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23929         (SYSCALL_ERROR_ERRNO): Removed.
23930         (SYSCALL_ERROR_HANDLER): Changed to empty.
23931         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23932         (__syscall_error): New prototype.
23933         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23934         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23936 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23938         [BZ #19124]
23939         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23940         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23941         _dl_runtime_resolve_avx.
23942         (_dl_runtime_profile_avx512): Make it a hidden alias of
23943         _dl_runtime_profile_avx.
23945 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23947         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23948         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23949         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23950         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23952         [BZ #16422]
23953         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23954         New configure test.
23955         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23956         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23957         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23958         <math_private.h> and <stdint.h>.
23959         (__llrint): Avoid conversions to long long int where those might
23960         raise spurious exceptions.
23961         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23962         <math_private.h> and <stdint.h>.
23963         (__llrintf): Avoid conversions to long long int where those might
23964         raise spurious exceptions.
23966 2015-10-12  Andreas Schwab  <schwab@suse.de>
23968         [BZ #18969]
23969         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23970         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23971         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23972         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23973         $(gen-locales).
23974         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23975         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23976         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23977         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23978         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23979         $(gen-locales).
23980         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23981         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23982         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23983         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23984         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23985         ($(objpfx)tst-ftell-active-handler.out)
23986         ($(objpfx)tst-ftell-append.out)
23987         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23988         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23989         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23990         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23991         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23992         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23993         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23994         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23995         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23996         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23997         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23998         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23999         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24000         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24001         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24002         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24003         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24004         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24005         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24006         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24007         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24008         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24009         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24010         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24011         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24012         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24013         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24014         $(gen-locales).
24015         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24016         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24017         $(gen-locales).
24018         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24019         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24020         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24021         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24022         $(gen-locales).
24023         * libio/tst_wprintf2.c (main): Use explicit locale.
24024         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24026 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24028         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24029         __msg_sig_post.
24030         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24032 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24034         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24035         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24037         * sysdeps/arm/libm-test-ulps: Regenerated.
24039         [BZ #15470]
24040         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24042         [BZ #16399]
24043         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24044         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24045         and <fix-fp-int-convert-overflow.h>.
24046         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24047         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24048         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24049         and <fix-fp-int-convert-overflow.h>.
24050         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24051         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24052         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24053         <fix-fp-int-convert-overflow.h>.
24054         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24055         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24056         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24057         <fix-fp-int-convert-overflow.h>.
24058         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24059         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24060         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24061         and <fix-fp-int-convert-overflow.h>.
24062         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24063         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24064         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24065         <limits.h> and <fix-fp-int-convert-overflow.h>.
24066         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24067         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24068         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24069         and <fix-fp-int-convert-overflow.h>.
24070         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24071         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24072         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24073         and <fix-fp-int-convert-overflow.h>.
24074         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24075         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24076         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24078 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24080         [BZ #18589]
24081         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24082         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24083         $(gen-locales).
24085 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24086             Phil Blundell <pb@pbcl.net>
24088         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24089         * nptl/tst-cancel26.c: New file.
24090         * nptl/tst-cancel27.c: Likewise.
24092 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24094         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24095         __ILP32__ isn't defined.
24096         (lrint): Likewise.
24097         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24098         (lrintf): Likewise.
24099         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24100         (lrintl): Likewise.
24101         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24102         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24103         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24105 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24107         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24110         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24111         file.
24112         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24113         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24115 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24117         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24118         configure test.
24119         * sysdeps/i386/configure: Regenerated.
24120         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24121         configure test.
24122         * sysdeps/x86_64/configure: Regenerated.
24123         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24124         Make code unconditional.
24126         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24127         test.
24128         * sysdeps/i386/configure: Regenerated.
24129         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24130         test.
24131         * sysdeps/x86_64/configure: Regenerated.
24132         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24133         Make code unconditional.
24134         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24135         Likewise.
24136         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24137         Likewise.
24138         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24139         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24140         code unconditional.
24141         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24142         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24143         code unconditional.
24144         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24145         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24146         code unconditional.
24147         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24148         code unconditional.
24149         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24150         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24151         code unconditional.
24152         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24153         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24154         code unconditional.
24155         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24156         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24157         code unconditional.
24158         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24159         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24160         code unconditional.
24161         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24162         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24164         [BZ #19095]
24165         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24166         mantissa to long int before shifting left.
24168 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24170         [BZ #19094]
24171         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24172         <limits.h>.
24173         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24174         when result overflows but exception would not result from cast.
24175         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24176         <limits.h>.
24177         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24178         when result overflows but exception would not result from cast.
24179         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24180         <limits.h>.
24181         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24182         when result overflows but exception would not result from cast.
24183         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24184         <limits.h>.
24185         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24186         when result overflows but exception would not result from cast.
24187         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24188         <limits.h>.
24189         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24190         when result overflows but exception would not result from cast.
24191         * math/libm-test.inc (lrint_test_data): Add more tests.
24192         (llrint_test_data): Likewise.
24194 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24196         [BZ #18872]
24197         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24198         Move out from under [$(run-built-tests) = yes] conditional.
24199         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24200         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24202 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24204         [BZ #18589]
24205         * string/Makefile (tests): Add bug-strcoll2.
24206         (LOCALES): Add cs_CZ.UTF-8.
24207         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24209         [BZ #18589]
24210         * string/bug-strcoll2.c: New file.
24211         * locale/categories.def: Revert commit
24212         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24213         * locale/langinfo.h: Likewise.
24214         * locale/localeinfo.h: Likewise.
24215         * locale/C-collate.c: Likewise.
24216         * locale/programs/ld-collate.c (collate_output): Likewise.
24217         * string/strcoll_l.c (STRDIFF): Likewise.
24218         (STRCOLL): Likewise.
24219         * wcsmbs/wcscoll_l.c: Likewise.
24221 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24223         * math/libm-test.inc (lround_test_data): Do not expect the absence
24224         of "inexact" for some tests with non-integer arguments.
24225         (llround_test_data): Likewise.
24227         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24228         test.
24229         (libc_cv_cc_sse2avx): Likewise.
24230         * sysdeps/i386/configure: Regenerated.
24231         * sysdeps/i386/i686/multiarch/Makefile
24232         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24233         [$(subdir) = math].
24234         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24235         code unconditional.
24236         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24237         Likewise.
24238         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24239         Likewise.
24240         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24241         Likewise.
24242         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24243         test.
24244         (libc_cv_cc_sse2avx): Likewise.
24245         * sysdeps/x86_64/configure: Regenerated.
24246         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24247         unconditional.
24248         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24249         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24250         unconditional.
24251         (_dl_runtime_profile)
24252         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24253         conditional code.
24254         * sysdeps/x86_64/fpu/multiarch/Makefile
24255         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24256         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24257         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24258         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24259         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24260         * sysdeps/x86_64/fpu/multiarch/e_log.c
24261         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24262         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24263         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24264         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24265         Likewise.
24266         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24267         Likewise.
24268         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24269         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24270         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24271         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24272         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24273         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24274         (HAVE_SSE2AVX_SUPPORT): Likewise.
24276 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24278         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24279         instead of #pragma optimize.
24281 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24283         [BZ #17195]
24284         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24285         as is similarly done in systrim and _int_free already.
24287 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24289         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24291 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24293         [BZ #19088]
24294         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24295         <limits.h>.
24296         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24297         overflows but exception would not result from cast.
24298         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24299         and <limits.h>.
24300         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24301         overflows but exception would not result from cast.
24302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24303         <limits.h>.
24304         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24305         overflows but exception would not result from cast.
24306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24307         <limits.h>.
24308         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24309         overflows but exception would not result from cast.
24310         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24311         <limits.h>.
24312         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24313         overflows but exception would not result from cast.
24314         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24315         <limits.h>.
24316         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24317         overflows but exception would not result from cast.
24318         * math/libm-test.inc (lround_test_data): Add more tests.
24319         (llround_test_data): Likewise.
24321 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24323         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24324         (CFLAGS-ialloc.c): Ditto.
24325         (CFLAGS-scheck.c): Ditto.
24327 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24329         [BZ #19086]
24330         * manual/filesys.texi (Storage Allocation): Fix argument order for
24331         posix_fallocate64.
24333 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24335         [BZ #19085]
24336         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24337         exponent below 48 inside case for non-overflowing exponent.
24338         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24340 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24342         * iconvdata/cp737.h (from_idx): Add const.
24343         * iconvdata/cp775.h (from_idx): Likewise.
24345 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24347         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24348         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24349         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24351         [BZ #19079]
24352         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24353         file, conditioned on [!_LP64].
24354         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24355         [!_LP64] (__lround): Do not define as function or alias.
24356         [!_LP64] (lround): Likewise.
24357         [!_LP64] (__lroundl): Likewise.
24358         [!_LP64] (lroundl): Likewise.
24359         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24360         macro.
24361         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24362         Likewise.
24364 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24366         * math/libm-test.inc (lrint_test_data): Add more tests.
24367         (llrint_test_data): Likewise.
24368         (lround_test_data): Likewise.
24369         (llround_test_data): Likewise.
24371         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24372         (llrint_test_data): Add tests used for lrint.
24374         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24375         test.
24376         * sysdeps/i386/configure: Regenerated.
24377         * sysdeps/i386/i686/multiarch/Makefile
24378         [$(config-cflags-sse4) = yes]: Make code unconditional.
24379         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24380         Likewise.
24381         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24382         Likewise.
24383         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24384         test.
24385         * sysdeps/x86_64/configure: Regenerated.
24386         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24387         Make code unconditional.
24388         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24389         Likewise.
24390         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24391         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24393         * scripts/rpm2dynsym.sh: Remove file.
24395 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24397         * configure.ac (libc_cv_cxx_thread_local): Define.
24398         * configure: Regenerate.
24399         * config.make.in (have-cxx-thread_local): Define.
24400         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24401         (LDLIBS-tst-thread_local1): Define.
24402         (tests): Add tst-thread_local1.
24403         [have-cxx-thread_local != yes] (tests-unsupported): Add
24404         tst-thread_local1.
24405         * nptl/tst-thread_local1.cc: New file.
24407 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24409         [BZ #19078]
24410         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24411         (u_thres): Likewise.
24412         (__expl): Determine whether to call __kernel_standard_l based on
24413         value of result, not argument.
24415         * math/libm-test.inc (scalb_test_data): Add more expectations for
24416         the "inexact" exception.
24418         [BZ #19077]
24419         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24420         0.0L for argument 1.0L.
24422         [BZ #19076]
24423         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24424         constant 0.0L when computing infinite result.
24426 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24428         [BZ #10432]
24429         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24430         malloc_usable_size.
24432 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24434         [BZ #19018]
24435         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24436         Mangle function pointer before storing it.
24437         (__call_tls_dtors): Demangle function pointer before calling it.
24439 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24441         [BZ #19012]
24442         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24443         Clean up on failure.
24445 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24447         [BZ #19071]
24448         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24449         long int variable to store possibly incremented high part of
24450         mantissa.
24451         * math/libm-test.inc (lround_test_data): Add tests used for
24452         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24453         for tests requiring 64-bit long.  Do not condition tests on
24454         [TEST_FLOAT] unnecessarily.
24455         (llround_test_data): Add tests used for lround.  Add another
24456         expectation for the "inexact" exception.  Do not condition tests
24457         on [TEST_FLOAT] unnecessarily.
24459         [BZ #887]
24460         [BZ #19049]
24461         [BZ #19050]
24462         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24463         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24464         <fix-int-fp-convert-zero.h>.
24465         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24466         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24467         <fix-int-fp-convert-zero.h>.
24468         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24469         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24470         <fix-int-fp-convert-zero.h>.
24471         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24472         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24473         <fix-int-fp-convert-zero.h>.
24474         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24475         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24476         <fix-int-fp-convert-zero.h>.
24477         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24478         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24479         <fix-int-fp-convert-zero.h>.
24480         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24481         * sysdeps/ieee754/flt-32/s_erff.c: Include
24482         <fix-int-fp-convert-zero.h>.
24483         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24484         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24485         <fix-int-fp-convert-zero.h>.
24486         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24488         <fix-int-fp-convert-zero.h>.
24489         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24491         <fix-int-fp-convert-zero.h>.
24492         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24493         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24494         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24495         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24496         file.
24497         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24499 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24503 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24505         [BZ #19059]
24506         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24507         overflowing computation.
24508         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24509         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24510         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24511         Likewise.
24512         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24513         Likewise.
24514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24515         Likewise.
24516         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24517         Likewise.
24518         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24519         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24520         Likewise.
24521         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24522         Likewise.
24523         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24525         * nss/rewrite_field.c (__nss_rewrite_field): Use
24526         internal_function.
24527         * nss/valid_field.c (__nss_valid_field): Likewise.
24528         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24530 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24532         [BZ #18724]
24533         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24534         (__nss_invalid_field_characters, __nss_valid_field)
24535         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24536         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24537         tst-field.c: New file.
24538         * nss/Makefile (routines): Add valid_field, rewrite_field.
24539         (tests-static): Define unconditionally.
24540         (tests): Include tests-static.
24541         [build-static-nss] (tests-static): Use append.
24542         [build-static-nss] (tests): Remove modification.
24543         * nss/getent.c (print_group): Call putgrent.  Report error.
24544         (print_gshadow): Call putsgent.  Report error.
24545         (print_passwd): Call putpwent.  Report error.
24546         (print_shadow): Call putspent.  Report error.
24547         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24548         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24549         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24550         name, password, directory, shell fields for valid syntax.  Rewrite
24551         GECOS field to match syntax.
24552         * pwd/Makefile (tests): Add tst-putpwent.
24553         * pwd/tst-putpwent.c: New file.
24554         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24555         Check grName, grpasswd, gr_mem fields for valid syntax.
24556         Change loop variable i to size_t.
24557         * grp/Makefile (tests): Add tst-putgrent.
24558         * grp/tst-putgrent.c: New file.
24559         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24560         valid syntax.
24561         * shadow/Makefile (tests): Add tst-putspent.
24562         * shadow/tst-putspent.c: New file.
24563         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24564         sg_mem fields for valid syntax.
24565         * gshadow/Makefile (tests): Add tst-putsgent.
24566         * gshadow/tst-putsgent.c: New file.
24568 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24570         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24571         assembly instructions.
24573 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24575         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24576         prefix from operands.
24578 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24580         [BZ #16347]
24581         [BZ #19046]
24582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24583         <libc-internal.h>.
24584         (MAXLGM): Do not use diagnostic control macros.
24585         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24586         threshold for ldbl-128ibm.
24587         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24588         instead of multiplying by log then subtracting.
24589         * math/auto-libm-test-in: Add more tests of lgamma.
24590         * math/auto-libm-test-out: Regenerated.
24592         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24593         (TYPE_HEX_DIG): Likewise.
24594         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24595         precisions when printing floating-point numbers.
24596         (check_float_internal): Likewise.
24598 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24600         [BZ #16620]
24601         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24602         of log (10) rounded downward to 48 bits.
24603         (log10_low): Use corresponding low part of log (10).
24605         [BZ #19032]
24606         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24607         compute result as (x - x) / (x - x) not as 0 / 0.
24608         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24609         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24611         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24612         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24613         and expm1.
24614         * math/auto-libm-test-out: Regenerated.
24615         * math/libm-test.inc (acos_test_data): Add more tests.
24616         (asin_test_data): Likewise.
24617         (asinh_test_data): Likewise.
24618         (atan_test_data): Likewise.
24619         (atanh_test_data): Likewise.
24620         (atan2_test_data): Likewise.
24621         (cbrt_test_data): Likewise.
24622         (ceil_test_data): Likewise.
24623         (copysign_test_data): Likewise.
24624         (cos_test_data): Likewise.
24625         (cosh_test_data): Likewise.
24626         (erf_test_data): Likewise.
24627         (erfc_test_data): Likewise.
24628         (exp_test_data): Likewise.
24629         (exp10_test_data): Likewise.
24630         (exp2_test_data): Likewise.
24631         (expm1_test_data): Likewise.
24632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24634 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24636         [BZ #19006]
24637         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24638         to ...
24639         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24640         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24641         to ...
24642         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24643         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24644         to ...
24645         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24646         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24647         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24648         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24649         to ...
24650         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24651         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24652         Moved to ...
24653         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24654         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24655         Moved to ...
24656         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24657         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24658         to ...
24659         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24660         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24661         Moved to ...
24662         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24664         to ...
24665         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24666         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24667         Removed.
24668         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24669         Likewise.
24670         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24671         Likewise.
24672         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24673         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24674         Likewise.
24675         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24676         Likewise.
24677         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24678         Likewise.
24679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24680         Likewise.
24681         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24682         Likewise.
24683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24684         Likewise.
24685         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24686         Likewise.
24687         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24688         Likewise.
24689         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24690         Likewise.
24691         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24692         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24693         Likewise.
24694         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24695         Likewise.
24696         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24697         Likewise.
24698         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24699         Likewise.
24700         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24703         Replace ../i486/pthread_cond_timedwait.S with
24704         ../pthread_cond_timedwait.S.
24706 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24708         * math/libm-test.inc (acos_test_data): Refine expectations for
24709         errno and "inexact" exceptions.
24710         (acosh_test_data): Likewise.
24711         (asin_test_data): Likewise.
24712         (asinh_test_data): Likewise.
24713         (atan_test_data): Likewise.
24714         (atanh_test_data): Likewise.
24715         (atan2_test_data): Likewise.
24716         (cbrt_test_data): Likewise.
24717         (ceil_test_data): Likewise.
24718         (copysign_test_data): Likewise.
24719         (cosh_test_data): Likewise.
24720         (erf_test_data): Likewise.
24721         (erfc_test_data): Likewise.
24722         (exp_test_data): Likewise.
24723         (exp10_test_data): Likewise.
24724         (exp2_test_data): Likewise.
24725         (expm1_test_data): Likewise.
24726         (fabs_test_data): Likewise.
24727         (floor_test_data): Likewise.
24728         (fma_test_data): Likewise.
24729         (fmax_test_data): Likewise.
24730         (fmin_test_data): Likewise.
24731         (fmod_test_data): Likewise.
24732         (fpclassify_test_data): Likewise.
24733         (frexp_test_data): Likewise.
24734         (hypot_test_data): Likewise.
24735         (ilogb_test_data): Likewise.
24736         (isgreater_test_data): Likewise.
24737         (isgreaterequal_test_data): Likewise.
24738         (isinf_test_data): Likewise.
24739         (isless_test_data): Likewise.
24740         (islessequal_test_data): Likewise.
24741         (islessgreater_test_data): Likewise.
24742         (isnan_test_data): Likewise.
24743         (isnormal_test_data): Likewise.
24744         (issignaling_test_data): Likewise.
24745         (isunordered_test_data): Likewise.
24746         (j0_test_data): Likewise.
24747         (j1_test_data): Likewise.
24748         (jn_test_data): Likewise.
24749         (lgamma_test_data): Likewise.
24750         (lrint_test_data): Likewise.
24751         (llrint_test_data): Likewise.
24752         (log_test_data): Likewise.
24753         (log10_test_data): Likewise.
24754         (log1p_test_data): Likewise.
24755         (log2_test_data): Likewise.
24756         (logb_test_data): Likewise.
24757         (lround_test_data): Likewise.
24758         (llround_test_data): Likewise.
24759         (modf_test_data): Likewise.
24760         (nearbyint_test_data): Likewise.
24761         (nextafter_test_data): Likewise.
24762         (nexttoward_test_data): Likewise.
24763         (pow_test_data): Likewise.
24764         (remainder_test_data): Likewise.
24765         (remquo_test_data): Likewise.
24766         (rint_test_data): Likewise.
24767         (round_test_data): Likewise.
24768         (signbit_test_data): Likewise.
24769         (sinh_test_data): Likewise.
24770         (sqrt_test_data): Likewise.
24771         (tanh_test_data): Likewise.
24772         (tgamma_test_data): Likewise.
24773         (trunc_test_data): Likewise.
24774         (y0_test_data): Likewise.
24775         (y1_test_data): Likewise.
24776         (yn_test_data): Likewise.
24777         (significand_test_data): Likewise.
24779 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24781         * manual/filesys.texi (Storage Allocation): Document that
24782         posix_fallocate emulation fails when fd is open with O_WRONLY.
24784 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24786         [BZ #19016]
24787         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24788         allow more cases with X^2 + Y^2 >= 0.5.
24789         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24790         normal element in sum instead of special-casing based on values of
24791         arguments.
24792         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24793         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24794         -1 as normal element in sum instead of special-casing based on
24795         values of arguments.
24796         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24797         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24798         (__x2y2m1): Update comment.
24799         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24800         as normal element in sum instead of special-casing based on values
24801         of arguments.
24802         * math/s_clog.c (__clog): Handle more cases using log1p without
24803         hypot.
24804         * math/s_clog10.c (__clog10): Likewise.
24805         * math/s_clog10f.c (__clog10f): Likewise.
24806         * math/s_clog10l.c (__clog10l): Likewise.
24807         * math/s_clogf.c (__clogf): Likewise.
24808         * math/s_clogl.c (__clogl): Likewise.
24809         * math/auto-libm-test-in: Add more tests of clog and clog10.
24810         * math/auto-libm-test-out: Regenerated.
24811         * sysdeps/i386/fpu/libm-test-ulps: Update.
24812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2015-09-28  Martin Sebor  <msebor@redhat.com>
24816         [BZ #18969]
24817         * string/Makefile (LOCALES): Define.
24818         (gen-locales.mk): Include.
24819         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24820         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24821         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24822         on setlocale failure.
24824 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24826         [BZ #18985]
24827         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24828         (__strftime_internal): Likewise.
24829         * time/tst-strftime.c (do_bz18985): New test.
24830         (do_test): Call it.
24832 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24834         [BZ #18956]
24835         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24836         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24837         extracting high part.
24838         * math/auto-libm-test-in: Add another test of pow.
24839         * math/auto-libm-test-out: Regenerated.
24840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24842 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24844         [BZ #18825]
24845         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24846         New macro.
24847         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24848         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24849         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24850         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24851         DBL_NARROW_EVAL, reloading the PIC register as needed.
24852         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24853         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24854         FLT_NARROW_EVAL.  Use separate return path for case when first
24855         argument is NaN.
24856         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24857         DEFINE_LDBL_MIN.
24858         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24859         PIC register.
24860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24861         math_check_force_underflow_nonneg.
24862         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24863         underflow for subnormal result.
24864         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24866         math_check_force_underflow_nonneg.
24867         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24868         math_check_force_underflow.
24869         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24870         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24871         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24872         DEFINE_LDBL_MIN.
24873         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24874         * math/auto-libm-test-in: Add more tests of pow.
24875         * math/auto-libm-test-out: Regenerated.
24877 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24879         * nss/bug17079.c (init_test_items): Add diagnostic for
24880         inconsistent entries.
24881         (test_buffer_size): Skip inconsistent entries.
24883 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24885         [BZ #13304]
24886         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24887         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24888         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24890         [BZ #13304]
24891         * sysdeps/microblaze/s_fma.c: New file.
24892         * sysdeps/microblaze/s_fmaf.c: Likewise.
24893         * sysdeps/microblaze/sfp-machine.h: Likewise.
24895 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24897         [BZ #17250]
24898         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24899         member.
24901 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24903         [BZ #18803]
24904         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24905         (MO): New macro.
24906         (__ieee754_hypot) [PIC]: Load PIC register.
24907         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24908         DBL_NARROW_EVAL.
24909         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24910         math_check_force_underflow_nonneg in case where result might be
24911         tiny.
24912         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24913         Likewise.
24914         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24915         Likewise.
24916         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24917         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24918         * math/auto-libm-test-in: Add more tests of hypot.
24919         * math/auto-libm-test-out: Regenerated.
24921 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24923         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24925 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24927         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24928         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24929         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24930         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24931         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24932         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24933         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24935         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24936         LOAD_PIC_REG.
24938         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24939         (FLT_CHECK_FORCE_UFLOW): Likewise.
24940         (DBL_CHECK_FORCE_UFLOW): Likewise.
24941         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24942         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24943         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24944         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24945         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24946         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24947         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24948         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24949         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24950         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24951         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24952         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24953         (flt_min): Replace with use of DEFINE_FLT_MIN.
24954         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24955         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24956         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24957         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24958         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24959         (flt_min): Replace with use of DEFINE_FLT_MIN.
24960         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24961         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24962         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24963         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24964         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24965         (flt_min): Replace with use of DEFINE_FLT_MIN.
24966         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24967         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24968         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24969         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24970         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24971         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24972         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24973         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24974         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24975         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24976         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24977         (flt_min): Replace with use of DEFINE_FLT_MIN.
24978         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24979         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24980         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24981         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24982         main computation.
24983         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24984         (flt_min): Replace with use of DEFINE_FLT_MIN.
24985         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24986         main computation.
24987         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24988         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24989         (MO): New macro.
24990         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24991         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24992         (flt_min): Replace with use of DEFINE_FLT_MIN.
24993         (MO): New macro.
24994         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24995         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24996         (__log1pl): Use MO.
24998         [BZ #19003]
24999         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25000         $(config-cflags-nofma).
25002 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25004         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25006 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25008         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25009         (TWO127): Likewise.
25011         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25012         (min_of_type): Likewise.
25013         (math_check_force_underflow): Likewise.
25014         (math_check_force_underflow_nonneg): Likewise.
25015         (math_check_force_underflow_complex): Likewise.
25016         * math/e_exp2l.c (__ieee754_exp2l): Use
25017         math_check_force_underflow_nonneg.
25018         * math/k_casinh.c (__kernel_casinh): Likewise.
25019         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25020         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25021         * math/s_catan.c (__catan): Use
25022         math_check_force_underflow_complex.
25023         * math/s_catanf.c (__catanf): Likewise.
25024         * math/s_catanh.c (__catanh): Likewise.
25025         * math/s_catanhf.c (__catanhf): Likewise.
25026         * math/s_catanhl.c (__catanhl): Likewise.
25027         * math/s_catanl.c (__catanl): Likewise.
25028         * math/s_ccosh.c (__ccosh): Likewise.
25029         * math/s_ccoshf.c (__ccoshf): Likewise.
25030         * math/s_ccoshl.c (__ccoshl): Likewise.
25031         * math/s_cexp.c (__cexp): Likewise.
25032         * math/s_cexpf.c (__cexpf): Likewise.
25033         * math/s_cexpl.c (__cexpl): Likewise.
25034         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25035         * math/s_clog10.c (__clog10): Likewise.
25036         * math/s_clog10f.c (__clog10f): Likewise.
25037         * math/s_clog10l.c (__clog10l): Likewise.
25038         * math/s_clogf.c (__clogf): Likewise.
25039         * math/s_clogl.c (__clogl): Likewise.
25040         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25041         * math/s_csinf.c (__csinf): Likewise.
25042         * math/s_csinh.c (__csinh): Likewise.
25043         * math/s_csinhf.c (__csinhf): Likewise.
25044         * math/s_csinhl.c (__csinhl): Likewise.
25045         * math/s_csinl.c (__csinl): Likewise.
25046         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25047         * math/s_csqrtf.c (__csqrtf): Likewise.
25048         * math/s_csqrtl.c (__csqrtl): Likewise.
25049         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25050         * math/s_ctanf.c (__ctanf): Likewise.
25051         * math/s_ctanh.c (__ctanh): Likewise.
25052         * math/s_ctanhf.c (__ctanhf): Likewise.
25053         * math/s_ctanhl.c (__ctanhl): Likewise.
25054         * math/s_ctanl.c (__ctanl): Likewise.
25055         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25056         instead of volatile.
25057         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25058         math_check_force_underflow.
25059         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25060         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25061         volatile when forcing underflow.
25062         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25063         math_check_force_underflow_nonneg.
25064         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25065         Likewise.
25066         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25067         math_check_force_underflow.
25068         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25069         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25070         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25071         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25072         math_check_force_underflow_nonneg.
25073         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25074         math_check_force_underflow.
25075         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25077         instead of volatile.
25078         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25079         math_check_force_underflow.
25080         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25081         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25082         math_check_force_underflow_nonneg.
25083         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25084         math_check_force_underflow.
25085         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25086         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25087         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25088         math_check_force_underflow_nonneg.
25089         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25090         Likewise.
25091         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25092         math_check_force_underflow.
25093         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25094         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25095         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25096         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25097         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25098         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25099         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25100         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25101         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25102         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25103         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25104         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25105         Likewise.
25106         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25107         math_check_force_underflow_nonneg.
25108         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25109         Likewise.
25110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25111         math_check_force_underflow.
25112         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25113         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25114         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25115         Likewise.
25116         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25117         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25118         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25119         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25120         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25121         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25123         instead of volatile.
25124         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25125         math_check_force_underflow.
25126         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25128         math_check_force_underflow.
25129         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25130         Likewise.
25131         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25132         Use math_check_force_underflow_nonneg.
25133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25134         math_check_force_underflow.
25135         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25136         Likewise.
25137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25138         Likewise.
25139         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25140         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25141         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25142         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25143         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25144         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25145         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25146         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25147         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25148         math_check_force_underflow_nonneg.
25149         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25150         math_check_force_underflow.
25151         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25152         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25153         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25154         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25155         math_check_force_underflow_nonneg.
25156         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25157         math_check_force_underflow.
25158         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25160         instead of volatile.
25161         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25162         math_check_force_underflow.
25164         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25165         * stdlib/strtod_l.c: Include <math_private.h>.
25166         (overflow_value): Use math_narrow_eval.
25167         (underflow_value): Likewise.
25168         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25169         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25170         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25171         (__ieee754_gamma_r): Likewise.
25172         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25173         Likewise.
25174         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25175         Likewise.
25176         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25177         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25178         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25179         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25180         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25181         (__ieee754_gammaf_r): Likewise.
25182         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25183         Likewise.
25184         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25185         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25186         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25187         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25188         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25189         volatile.
25190         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25191         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25192         math_narrow_eval.
25193         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25194         Likewise.
25195         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25196         Likewise.
25197         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25198         Likewise.
25199         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25200         volatile.
25201         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25202         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25203         math_narrow_eval.
25204         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25205         Likewise.
25206         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25207         Likewise.
25209 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25211         * nptl/Versions: Remove ignored symbols.
25213 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25215         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25216         * nss/Makefile (tests): Update.
25218 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25220         * nss/bug18287.c: New file.
25221         * nss/Makefile (tests): Add bug18287.
25223 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25225         * mach/Versions (__mach_host_self_): Add symbol.
25227 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25229         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25230         vm_page_size.
25232 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25234         Really fix sysdeps/i386/fpu/s_scalbn.S build
25236         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25237         (libc: GLIBC_2_22): Remove unused version set.
25239 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25241         * config.make.in (enable-timezone-tools): New variable.
25242         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25243         (enable_timezone_tools): Export to generated files.
25244         * configure: Regenerate.
25245         * INSTALL: Regenerate.
25246         * manual/install.texi (--disable-timezone-tools): Document new flag.
25247         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25248         ifeq ($(enable-timezone-tools),yes) check.
25250 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25252         * timezone/Makefile: Revert previous change.
25254         [BZ #18980]
25255         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25256         (DEFINE_DBL_MIN): Likewise.
25257         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25258         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25259         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25260         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25261         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25262         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25263         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25264         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25265         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25266         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25267         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25268         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25269         (flt_min): Replace with use of DEFINE_FLT_MIN.
25270         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25271         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25272         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25273         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25274         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25275         (flt_min): Replace with use of DEFINE_FLT_MIN.
25276         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25277         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25278         (flt_min): Replace with use of DEFINE_FLT_MIN.
25279         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25280         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25281         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25282         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25283         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25284         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25285         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25286         (__ieee754_pow): Use DBL_NARROW_EVAL.
25287         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25288         (__ieee754_powf): Use FLT_NARROW_EVAL.
25289         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25290         (__ieee754_expf_sse2): Convert double-precision result to single
25291         precision.
25292         * sysdeps/i386/fpu/libm-test-ulps: Update.
25294 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25296         * timezone/Makefile: Ignore unused variable errors due to private.h
25297         (time_t_min) and (time_t_max).
25298         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25299         Likewise.
25301 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25303         [BZ #18981]
25304         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25305         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25306         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25307         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25308         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25309         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25310         (__scalbn): Use DBL_NARROW_EVAL.
25311         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25312         (__scalbnf): Use FLT_NARROW_EVAL.
25314 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25316         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25317         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25318         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25319         * stdio-common/printf_fp.c (___printf_fp):
25320         Use signbit to get the sign. Use isinf macro to allow inlining.
25321         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25322         * stdio-common/printf_size.c (__printf_size): Likewise.
25324 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25326         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25328 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25330         [BZ #18980]
25331         * sysdeps/generic/math_private.h: Include <float.h>.
25332         (math_narrow_eval): New macro.
25333         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25334         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25335         math_narrow_eval on overflowing return value.
25336         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25337         Likewise.
25338         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25339         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25340         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25341         Likewise.
25342         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25344 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25346         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25347         * math/Makefile: Remove isinf_ns.c.
25348         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25349         * math/multc3.c (__multc3): Likewise.
25350         * math/s_casin.c (__casin): Likewise.
25351         * math/s_casinf.c (__casinf): Likewise.
25352         * math/s_casinl.c (__casinl): Likewise.
25353         * math/s_cproj.c (__cproj): Likewise.
25354         * math/s_cprojf.c (__cprojf): Likewise.
25355         * math/s_cprojl.c (__cprofl): Likewise.
25356         * math/s_ctan.c (__ctan): Likewise.
25357         * math/s_ctanf.c (__ctanf): Likewise.
25358         * math/s_ctanh.c (__ctanh): Likewise.
25359         * math/s_ctanhf.c (__ctanhf): Likewise.
25360         * math/s_ctanhl.c (__ctanhl): Likewise.
25361         * math/s_ctanl.c (__ctanl): Likewise.
25362         * math/w_fmod.c (__fmod): Likewise.
25363         * math/w_fmodf.c (__fmodf): Likewise.
25364         * math/w_fmodl.c (_fmodl): Likewise.
25365         * math/w_remainder.c (__remainder): Likewise.
25366         * math/w_remainderf.c (__remainderf): Likewise.
25367         * math/w_remainderl.c (__remainderl): Likewise.
25368         * math/w_scalb.c (__scalb): Likewise.
25369         * math/w_scalbf.c (__scalbf): Likewise.
25370         * math/w_scalbl.c (__scalbl): Likewise.
25371         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25372         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25373         with isinf.
25374         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25375         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25376         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25377         __isinf_nsf with isinf.
25378         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25379         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25380         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25381         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25382         with isinf.
25383         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25384         __isinf_nsl with isinf.
25385         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25386         with isinf.
25387         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25388         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25389         __isinf_nsl with isinf.
25390         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25391         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25392         with isinf.
25394 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25396         * resolv/base64.c (rcsid): Remove unused static.
25397         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25398         static.  (tqpi1): Likewise.
25399         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25400         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25401         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25402         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25403         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25404         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25405         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25406         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25407         Likewise.
25409 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25411         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25412         <nptl/pthreadP.h>.
25413         (_longjmp_unwind): Use __libc_ptf_call.
25414         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25416 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25418         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25419         * sysdeps/arm/__longjmp.S: Likewise.
25421 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25423         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25424         Use __builtin_signbit.
25425         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25426         Use __builtin_signbitf.
25427         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25428         Use __builtin_signbitl.
25429         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25430         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25432 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25434         [BZ #15367]
25435         [BZ #17441]
25437         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25438         * math/math.h (fpclassify): Use __builtin_fpclassify when
25439         available.  (signbit): Use __builtin_signbit(f/l).
25440         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25441         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25442         (isinf): Use __builtin_isinf_sign.
25444 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25446         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25447         * benchtests/bench-math-inlines.c: New benchmark.
25448         * benchtests/bench-util.h: New file.
25449         * benchtests/bench-util.c: New file.
25450         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25452 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25454         * elf/tst-dlmopen1.c: Define TEST_SO.
25455         (do_test): Use TEST_SO.
25457         * elf/dl-load.c: Include libc-internal.h.
25458         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25460 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25462         [BZ #17887]
25463         * time/strptime_l.c (__strptime_internal): Make %z accept
25464         [+-]HH:MM time zones.
25466 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25468         [BZ #17886]
25469         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25470         valid time zone.
25472 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25474         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25475         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25476         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25477         (__ASSUME_FDATASYNC): Delete.
25479 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25481         * conform/linknamespace.pl: Require weak undefined symbols to be
25482         in the standard namespace.
25483         (%strong_syms): Rename to %seen_syms.
25484         (%strong_seen): Rename to %seen_where.
25486 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25488         [BZ #18970]
25489         * misc/error.c (error): Replace pthread_setcancelstate with
25490         __pthread_setcancelstate.
25491         (error_at_line): Likewise.
25492         * posix/wordexp.c (parse_comm): Likewise.
25493         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25494         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25495         (__pthread_setcancelstate): This.
25496         (pthread_setcancelstate): Add an alias.
25497         * nptl/nptl-init.c (pthread_functions): Replace
25498         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25499         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25500         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25501         hidden_proto.
25502         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25503         it with hidden_def.
25504         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25505         (pthread_setcancelstate): Renamed to ...
25506         (__pthread_setcancelstate): This.
25507         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25508         __libc_ptf_call with __pthread_setcancelstate.
25510 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25511             Andreas Schwab  <schwab@suse.de>
25513         [BZ #17118]
25514         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25515         result when imaginary part of argument is infinite using sine and
25516         cosine.
25517         * math/s_ctanf.c (__ctanf): Likewise.
25518         * math/s_ctanl.c (__ctanl): Likewise.
25519         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25520         of result when real part of argument is infinite using sine and
25521         cosine.
25522         * math/s_ctanhf.c (__ctanhf): Likewise.
25523         * math/s_ctanhl.c (__ctanhl): Likewise.
25524         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25525         (ctanh_test_data): Add more tests of ctanh.
25527 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25529         [BZ #15384]
25530         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25531         bit-mask as in subtraction.
25532         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25533         Likewise.
25534         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25535         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25538         [BZ #18951]
25539         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25540         underflow exception for small results.
25541         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25542         Likewise.
25543         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25544         Likewise.
25545         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25546         Likewise.
25547         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25548         Likewise.
25549         * math/auto-libm-test-in: Add more tests of tgamma.
25550         * math/auto-libm-test-out: Regenerated.
25552 2015-09-17  Andreas Schwab  <schwab@suse.de>
25554         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25556 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25558         [BZ #18977]
25559         * math/bits/mathcalls.h
25560         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25561         not declare.
25562         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25563         Likewise.
25564         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25565         Likewise.
25566         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25567         Likewise.
25568         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25569         Likewise.
25570         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25571         Likewise.
25572         * conform/data/math.h-data
25573         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25574         function.
25575         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25576         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25577         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25578         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25579         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25580         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25581         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25582         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25583         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25584         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25585         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25587         [BZ #6803]
25588         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25589         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25590         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25591         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25592         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25593         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25594         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25595         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25596         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25598         Likewise.
25599         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25600         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25602         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25603         long_double_symbol calls.
25604         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25605         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25606         strong alias of __ldexpl.
25607         (scalbnl): Define using long_double_symbol.
25608         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25609         Remove alias.
25610         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25611         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25612         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25613         (scalbln_test_data): Add more errno expectations.
25615 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25617         Cache the host port like we cache the task port.  This way we do not
25618         need to call the kernel just to get the port.  Furthermore, we no
25619         longer increase the reference count on every invocation of
25620         `mach_host_self'.
25622         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25623         Protect declarations against the macro expansion.
25624         * mach/mach_init.c (__mach_host_self_): New variable.
25625         (mach_init): Initialize `__mach_host_self_'.
25626         * mach/mach_init.h (__mach_host_self_): New declaration.
25627         (__mach_host_self, mach_host_self): New macros.
25628         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25629         Release reference.
25631 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25633         [BZ #4404]
25634         * po/de.po: Update from Translation Project.
25636         [BZ #16415]
25637         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25638         (__expm1l): Remove code to handle positive infinity and overflow.
25639         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25640         variable.
25641         (__expm1l): Remove code to handle positive infinity and overflow.
25643 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25644             Paul Pluzhnikov  <ppluzhnikov@google.com>
25646         [BZ #18872]
25647         * stdio-common/Makefile (tst-printf-bz18872): New test.
25648         (tst-printf-bz18872-mem.out): Likewise.
25649         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25650         * stdio-common/vfprintf.c: Fix memory leaks.
25652 2015-09-16  Andreas Schwab  <schwab@suse.de>
25654         [BZ #17244]
25655         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25656         Remove extra va_start/va_end calls.
25658         [BZ #17243]
25659         * posix/execl.c (execl): Add missing va_end.
25660         * posix/execle.c (execle): Likewise.
25661         * posix/execlp.c (execlp): Likewise.
25663 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25665         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25666         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25668 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #18967]
25671         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25672         undefine around includes of <bits/mathcalls.h>.
25673         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25674         not declare function.
25675         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25676         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25677         (scalb): Likewise.
25678         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25679         not define macro.
25680         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25681         variable.
25682         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25683         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25684         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25686         [BZ #18857]
25687         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25688         return non-finite argument without doing ordered comparisons on
25689         it.
25691         [BZ #16296]
25692         * math/fenv.h (fegetround): Use __attribute_pure__.
25693         * include/fenv.h (__fegetround): Likewise.
25695         [BZ #18595]
25696         * math/s_ctan.c (__ctan): Force underflow exception for results
25697         whose real or imaginary part has small absolute value.
25698         * math/s_ctanf.c (__ctanf): Likewise.
25699         * math/s_ctanh.c (__ctanh): Likewise.
25700         * math/s_ctanhf.c (__ctanhf): Likewise.
25701         * math/s_ctanhl.c (__ctanhl): Likewise.
25702         * math/s_ctanl.c (__ctanl): Likewise.
25703         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25704         and ctanh.  Add more tests of ctan and ctanh.
25706         [BZ #15918]
25707         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25708         handling of cases where one argument is an infinity.
25710         [BZ #18875]
25711         [BZ #18966]
25712         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25713         (MO): New macro.
25714         (__ieee754_exp10): For small results, force underflow exception
25715         and remove excess range and precision from return value.
25716         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25717         (MO): New macro.
25718         (__ieee754_exp10f): For small results, force underflow exception
25719         and remove excess range and precision from return value.
25720         * math/auto-libm-test-in: Add more tests of exp10.
25721         * math/auto-libm-test-out: Regenerated.
25723 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25725         [BZ #18875]
25726         [BZ #18961]
25727         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25728         (MO): New macro.
25729         (__ieee754_exp): For small results, force underflow exception and
25730         remove excess range and precision from return value.
25731         (__exp_finite): Likewise.
25732         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25733         (MO): New macro.
25734         (__ieee754_expf): For small results, force underflow exception and
25735         remove excess range and precision from return value.
25736         (__expf_finite): Likewise.
25737         * math/auto-libm-test-in: Add more tests of exp.
25738         * math/auto-libm-test-out: Regenerated.
25740         [BZ #16521]
25741         [BZ #18875]
25742         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25743         small results.
25744         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25745         (MO): New macro.
25746         (__ieee754_exp2): For small results, force underflow exception and
25747         remove excess range and precision from return value.
25748         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25749         (MO): New macro.
25750         (__ieee754_exp2f): For small results, force underflow exception
25751         and remove excess range and precision from return value.
25752         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25753         (MO): New macro.
25754         (__ieee754_exp2l): Force underflow exception for small results.
25755         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25756         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25757         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25758         (MO): New macro.
25759         (__ieee754_exp2l): Force underflow exception for small results.
25760         * math/auto-libm-test-in: Add more tests or exp2.
25761         * math/auto-libm-test-out: Regenerated.
25763 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25765         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25767         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25768         /dev/null.
25770 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25772         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25773         io fs process)): Drop spurious backslash.
25775 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25777         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25778         Use sysinfo system call instead of parsing /proc/meminfo.
25779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25780         Likewise.
25782 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25784         [BZ #16985]
25785         * programs/localedef.c (main): Display argv[remaining] when
25786         output_path is NULL.
25788 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25790         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25791         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25792         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25793         tanh.
25794         * math/auto-libm-test-out: Regenerated.
25795         * sysdeps/i386/fpu/libm-test-ulps: Update.
25796         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25797         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25800 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25802         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25803         Use 'override' keyword to freeze the value here, preventing
25804         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25806 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25808         [BZ #14912]
25809         * sysdeps/aarch64/bits/atomic.h: Move to ...
25810         * sysdeps/aarch64/atomic-machine.h: ...here.
25811         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25812         _AARCH64_ATOMIC_MACHINE_H.
25813         * sysdeps/alpha/bits/atomic.h: Move to ...
25814         * sysdeps/alpha/atomic-machine.h: ...here.
25815         * sysdeps/arm/bits/atomic.h: Move to ...
25816         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25817         * bits/atomic.h: Move to ...
25818         * sysdeps/generic/atomic-machine.h: ...here.
25819         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25820         * sysdeps/i386/bits/atomic.h: Move to ...
25821         * sysdeps/i386/atomic-machine.h: ...here.
25822         * sysdeps/ia64/bits/atomic.h: Move to ...
25823         * sysdeps/ia64/atomic-machine.h: ...here.
25824         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25825         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25826         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25827         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25828         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25829         * sysdeps/microblaze/bits/atomic.h: Move to ...
25830         * sysdeps/microblaze/atomic-machine.h: ...here.
25831         * sysdeps/mips/bits/atomic.h: Move to ...
25832         * sysdeps/mips/atomic-machine.h: ...here.
25833         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25834         * sysdeps/powerpc/bits/atomic.h: Move to ...
25835         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25836         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25837         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25838         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25839         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25840         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25841         <atomic-machine.h> instead of <bits/atomic.h>.
25842         * sysdeps/s390/bits/atomic.h: Move to ...
25843         * sysdeps/s390/atomic-machine.h: ...here.
25844         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25845         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25846         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25847         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25848         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25849         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25850         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25851         * sysdeps/tile/bits/atomic.h: Move to ...
25852         * sysdeps/tile/atomic-machine.h: ...here.
25853         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25854         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25855         <sysdeps/tile/atomic-machine.h> instead of
25856         <sysdeps/tile/bits/atomic.h>.
25857         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25858         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25859         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25860         <sysdeps/tile/atomic-machine.h> instead of
25861         <sysdeps/tile/bits/atomic.h>.
25862         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25863         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25864         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25865         <sysdeps/arm/atomic-machine.h> instead of
25866         <sysdeps/arm/bits/atomic.h>.
25867         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25868         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25869         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25870         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25871         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25872         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25873         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25874         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25875         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25876         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25877         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25878         * sysdeps/x86_64/bits/atomic.h: Move to ...
25879         * sysdeps/x86_64/atomic-machine.h: ...here.
25880         * include/atomic.h: Include <atomic-machine.h> instead of
25881         <bits/atomic.h>.
25883         * sysdeps/mips/mips32/libm-test-ulps: Update.
25884         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25886         [BZ #18952]
25887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25888         not convert non-integer negative arguments to int to determine the
25889         value of signgam.
25890         * math/auto-libm-test-in: Add more tests of lgamma.
25891         * math/auto-libm-test-out: Regenerated.
25893         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25894         cosh, csqrt, erfc, expm1 and lgamma.
25895         * math/auto-libm-test-out: Regenerated.
25896         * sysdeps/i386/fpu/libm-test-ulps: Update.
25897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25901         [BZ #2542]
25902         [BZ #2543]
25903         [BZ #2558]
25904         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25905         __lgamma_neg for arguments from -28.0 to -2.0.
25906         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25907         __lgamma_negf for arguments from -15.0 to -2.0.
25908         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25909         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25910         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25911         Call __lgamma_negl for arguments from -33.0 to -2.0.
25912         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25913         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25914         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25915         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25916         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25917         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25918         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25922         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25923         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25924         (__lgamma_neg): Likewise.
25925         (__lgamma_negl): Likewise.
25926         (__lgamma_product): Likewise.
25927         (__lgamma_productl): Likewise.
25928         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25929         * math/auto-libm-test-in: Add more tests of lgamma.
25930         * math/auto-libm-test-out: Regenerated.
25931         * sysdeps/i386/fpu/libm-test-ulps: Update.
25932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25934 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25936         [BZ #18675]
25937         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25939 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25941         [BZ #14912]
25942         * bits/libc-lock.h: Move to ...
25943         * sysdeps/generic/libc-lock.h: ...here.
25944         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25945         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25946         * sysdeps/mach/hurd/libc-lock.h: ...here.
25947         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25948         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25949         * sysdeps/mach/bits/libc-lock.h: Move to ...
25950         * sysdeps/mach/libc-lock.h: ...here.
25951         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25952         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25953         * sysdeps/nptl/libc-lock.h: ...here.
25954         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25955         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25956         * sysdeps/nptl/libc-lockP.h: ...here.
25957         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25958         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25959         <bits/libc-lock.h>.
25960         * dirent/scandir-tail.c: Likewise.
25961         * dlfcn/dlerror.c: Likewise.
25962         * elf/dl-close.c: Likewise.
25963         * elf/dl-iteratephdr.c: Likewise.
25964         * elf/dl-lookup.c: Likewise.
25965         * elf/dl-open.c: Likewise.
25966         * elf/dl-support.c: Likewise.
25967         * elf/dl-writev.h: Likewise.
25968         * elf/rtld.c: Likewise.
25969         * grp/fgetgrent.c: Likewise.
25970         * gshadow/fgetsgent.c: Likewise.
25971         * gshadow/sgetsgent.c: Likewise.
25972         * iconv/gconv_conf.c: Likewise.
25973         * iconv/gconv_db.c: Likewise.
25974         * iconv/gconv_dl.c: Likewise.
25975         * iconv/gconv_int.h: Likewise.
25976         * iconv/gconv_trans.c: Likewise.
25977         * include/link.h: Likewise.
25978         * inet/getnameinfo.c: Likewise.
25979         * inet/getnetgrent.c: Likewise.
25980         * inet/getnetgrent_r.c: Likewise.
25981         * intl/bindtextdom.c: Likewise.
25982         * intl/dcigettext.c: Likewise.
25983         * intl/finddomain.c: Likewise.
25984         * intl/gettextP.h: Likewise.
25985         * intl/loadmsgcat.c: Likewise.
25986         * intl/localealias.c: Likewise.
25987         * intl/textdomain.c: Likewise.
25988         * libidn/idn-stub.c: Likewise.
25989         * libio/libioP.h: Likewise.
25990         * locale/duplocale.c: Likewise.
25991         * locale/freelocale.c: Likewise.
25992         * locale/newlocale.c: Likewise.
25993         * locale/setlocale.c: Likewise.
25994         * login/getutent_r.c: Likewise.
25995         * login/getutid_r.c: Likewise.
25996         * login/getutline_r.c: Likewise.
25997         * login/utmp-private.h: Likewise.
25998         * login/utmpname.c: Likewise.
25999         * malloc/mtrace.c: Likewise.
26000         * misc/efgcvt.c: Likewise.
26001         * misc/error.c: Likewise.
26002         * misc/fstab.c: Likewise.
26003         * misc/getpass.c: Likewise.
26004         * misc/mntent.c: Likewise.
26005         * misc/syslog.c: Likewise.
26006         * nis/nis_call.c: Likewise.
26007         * nis/nis_callback.c: Likewise.
26008         * nis/nss-default.c: Likewise.
26009         * nis/nss_compat/compat-grp.c: Likewise.
26010         * nis/nss_compat/compat-initgroups.c: Likewise.
26011         * nis/nss_compat/compat-pwd.c: Likewise.
26012         * nis/nss_compat/compat-spwd.c: Likewise.
26013         * nis/nss_nis/nis-alias.c: Likewise.
26014         * nis/nss_nis/nis-ethers.c: Likewise.
26015         * nis/nss_nis/nis-grp.c: Likewise.
26016         * nis/nss_nis/nis-hosts.c: Likewise.
26017         * nis/nss_nis/nis-network.c: Likewise.
26018         * nis/nss_nis/nis-proto.c: Likewise.
26019         * nis/nss_nis/nis-pwd.c: Likewise.
26020         * nis/nss_nis/nis-rpc.c: Likewise.
26021         * nis/nss_nis/nis-service.c: Likewise.
26022         * nis/nss_nis/nis-spwd.c: Likewise.
26023         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26024         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26025         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26026         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26027         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26028         * nis/nss_nisplus/nisplus-network.c: Likewise.
26029         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26030         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26031         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26032         * nis/nss_nisplus/nisplus-service.c: Likewise.
26033         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26034         * nis/ypclnt.c: Likewise.
26035         * nptl/libc_pthread_init.c: Likewise.
26036         * nss/getXXbyYY.c: Likewise.
26037         * nss/getXXent.c: Likewise.
26038         * nss/getXXent_r.c: Likewise.
26039         * nss/nss_db/db-XXX.c: Likewise.
26040         * nss/nss_db/db-netgrp.c: Likewise.
26041         * nss/nss_db/nss_db.h: Likewise.
26042         * nss/nss_files/files-XXX.c: Likewise.
26043         * nss/nss_files/files-alias.c: Likewise.
26044         * nss/nsswitch.c: Likewise.
26045         * posix/regex_internal.h: Likewise.
26046         * posix/wordexp.c: Likewise.
26047         * pwd/fgetpwent.c: Likewise.
26048         * resolv/res_hconf.c: Likewise.
26049         * resolv/res_libc.c: Likewise.
26050         * shadow/fgetspent.c: Likewise.
26051         * shadow/lckpwdf.c: Likewise.
26052         * shadow/sgetspent.c: Likewise.
26053         * socket/opensock.c: Likewise.
26054         * stdio-common/reg-modifier.c: Likewise.
26055         * stdio-common/reg-printf.c: Likewise.
26056         * stdio-common/reg-type.c: Likewise.
26057         * stdio-common/vfprintf.c: Likewise.
26058         * stdio-common/vfscanf.c: Likewise.
26059         * stdlib/abort.c: Likewise.
26060         * stdlib/cxa_atexit.c: Likewise.
26061         * stdlib/fmtmsg.c: Likewise.
26062         * stdlib/random.c: Likewise.
26063         * stdlib/setenv.c: Likewise.
26064         * string/strsignal.c: Likewise.
26065         * sunrpc/auth_none.c: Likewise.
26066         * sunrpc/bindrsvprt.c: Likewise.
26067         * sunrpc/create_xid.c: Likewise.
26068         * sunrpc/key_call.c: Likewise.
26069         * sunrpc/rpc_thread.c: Likewise.
26070         * sysdeps/arm/backtrace.c: Likewise.
26071         * sysdeps/generic/ldsodefs.h: Likewise.
26072         * sysdeps/generic/stdio-lock.h: Likewise.
26073         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26074         * sysdeps/i386/backtrace.c: Likewise.
26075         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26076         * sysdeps/m68k/backtrace.c: Likewise.
26077         * sysdeps/mach/hurd/cthreads.c: Likewise.
26078         * sysdeps/mach/hurd/dirstream.h: Likewise.
26079         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26080         * sysdeps/nptl/malloc-machine.h: Likewise.
26081         * sysdeps/nptl/stdio-lock.h: Likewise.
26082         * sysdeps/posix/dirstream.h: Likewise.
26083         * sysdeps/posix/getaddrinfo.c: Likewise.
26084         * sysdeps/posix/system.c: Likewise.
26085         * sysdeps/pthread/aio_suspend.c: Likewise.
26086         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26087         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26088         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26089         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26090         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26091         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26092         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26093         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26094         * sysdeps/unix/sysv/linux/system.c: Likewise.
26095         * sysdeps/x86_64/backtrace.c: Likewise.
26096         * time/alt_digit.c: Likewise.
26097         * time/era.c: Likewise.
26098         * time/tzset.c: Likewise.
26099         * wcsmbs/wcsmbsload.c: Likewise.
26100         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26101         instead of <bits/libc-lock.h> in comment.
26103 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26105         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26106         Only use .set mips2 if the current ISA is below mips2.
26107         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26108         Likewise.
26109         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26110         mips32r2 if the current ISA is below mips32r2.
26111         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26112         (TLS_IE): Updated to use the TLD_RDHWR macro.
26113         (TLS_LE): Likewise.
26114         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26115         __ASSEMBLER__ condition.
26117 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26119         Fix parallel build of before-compile targets.
26121         * sysdeps/mach/Makefile ($(patsubst
26122         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26123         mach-before-compile target.
26124         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26125         io fs process)): Move rule to dedicated hurd-before-compile target.
26127 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26129         Fix rules generating headers in hurd/ and mach/ when initial make call
26130         has subdir= explicitly set.
26132         * sysdeps/mach/Makefile ($(patsubst
26133         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26134         calling $(MAKE).
26135         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26136         io fs process)): Force subdir to hurd when calling $(MAKE).
26137         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26138         subdir to mach when calling $(MAKE).
26140 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26142         Check sysheaders when looking for Mach and Hurd headers
26144         * sysdeps/mach/configure.ac: Add sysheaders check.
26145         * sysdeps/mach/configure: Regenerate.
26146         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26147         * sysdeps/mach/hurd/configure: Regenerate.
26149 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26151         [BZ #18921]
26152         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26153         Fix inverted sense of test of 'o_directory_works' value.
26154         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26155         Bernhard Voelker <mail@bernhard-voelker.de>.
26157 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26159         [BZ #14912]
26160         * bits/linkmap.h: Move to ...
26161         * sysdeps/generic/linkmap.h: ...here.
26162         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26163         * sysdeps/aarch64/linkmap.h: ...here.
26164         * sysdeps/arm/bits/linkmap.h: Move to ...
26165         * sysdeps/arm/linkmap.h: ...here.
26166         * sysdeps/hppa/bits/linkmap.h: Move to ...
26167         * sysdeps/hppa/linkmap.h: ...here.
26168         * sysdeps/ia64/bits/linkmap.h: Move to ...
26169         * sysdeps/ia64/linkmap.h: ...here.
26170         * sysdeps/mips/bits/linkmap.h: Move to ...
26171         * sysdeps/mips/linkmap.h: ...here.
26172         * sysdeps/s390/bits/linkmap.h: Move to ...
26173         * sysdeps/s390/linkmap.h: ...here.
26174         * sysdeps/sh/bits/linkmap.h: Move to ...
26175         * sysdeps/sh/linkmap.h: ...here.
26176         * sysdeps/x86/bits/linkmap.h: Move to ...
26177         * sysdeps/x86/linkmap.h: ...here.
26178         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26180 2015-09-04  Andreas Schwab  <schwab@suse.de>
26182         [BZ #18635]
26183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26184         (__makecontext): Terminate FDE before return label.
26185         (__novec_makecontext): Likewise.
26187 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26189         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26190         first member of struct sv in syscall macro.
26192 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26194         [BZ #14912]
26195         * bits/stdio-lock.h: Move to ...
26196         * sysdeps/generic/stdio-lock.h: ...here.
26197         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26198         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26199         * sysdeps/nptl/stdio-lock.h: ...here.
26200         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26201         * include/libio.h: Include <stdio-lock.h> instead of
26202         <bits/stdio-lock.h>.
26203         * sysdeps/nptl/fork.c: Likewise.
26204         * sysdeps/pthread/flockfile.c: Likewise.
26205         * sysdeps/pthread/ftrylockfile.c: Likewise.
26206         * sysdeps/pthread/funlockfile.c: Likewise.
26208         [BZ #14912]
26209         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26210         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26211         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26212         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26213         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26214         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26215         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26217 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26219         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26220         (test-xfail-tst-protected1b): New variable.
26222 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26224         [BZ #14912]
26225         * bits/libc-tsd.h: Move to ...
26226         * sysdeps/generic/libc-tsd.h: ...here.
26227         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26228         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26229         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26230         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26231         * include/ctype.h: Include <libc-tsd.h> instead of
26232         <bits/libc-tsd.h>.
26233         * include/rpc/rpc.h: Likewise.
26234         * locale/localeinfo.h: Likewise.
26235         * sunrpc/rpc_thread.c: Likewise.
26236         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26237         * sysdeps/nptl/malloc-machine.h: Likewise.
26239         * Makefile (headers): Remove bits/libc-lock.h.
26240         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26242         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26243         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26244         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26245         <bits/stdio-lock.h>.
26246         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26247         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26249 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26251         [BZ #18757]
26252         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26253         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26254         BZ #18757.
26256 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26258         * malloc/mtrace.pl: Filter out NULL entries.
26260 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26262         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26263         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26264         macro.
26266         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26267         (TCP_CC_INFO): Likewise.
26268         (TCP_SAVE_SYN): Likewise.
26269         (TCP_SAVED_SYN): Likewise.
26271 2015-08-31  Brett Neumeier <brett@neumeier.us>
26273         [BZ #18870]
26274         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26276 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26278         [BZ #18873]
26279         Fix broken overflow check in posix_fallocate
26280         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26281         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26282         Fix parenthesization typo.
26284 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26286         [BZ #18887]
26287         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26288         tst-mntent-blank-passno.
26289         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26290         * misc/tst-mntent-blank-corrupt.c: New test.
26291         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26292         * misc/tst-mntent.c (do_test): ... here.
26294 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26296         [BZ #4404]
26297         * po/de.po: Fix SIGALRM typo.
26299 2015-08-28  James Perkins  <james@loowit.net>
26301         * time/tst-strptime2.c (tests): Replace short list of test
26302         strings for strptime %z specifier with code which exhaustively
26303         tests every combination of sign and 0 to 5 digits. Tests for
26304         rejection of invalid strings.
26306 2015-08-28  James Perkins  <james@loowit.net>
26308         [BZ #16141]
26309         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26310         calculation, removing incorrect decimal time rounding, so that
26311         all minute values result in a valid seconds value.
26312         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26313         offset range limits to UTC-99:59 through UTC+99:59 to parse
26314         current and historical use cases.
26315         * time/tst-strptime2.c (tests): Modify and add tests for the
26316         strptime %z input field descriptor, specifically conversion of
26317         minutes to seconds and validating an offset range of -9959 to
26318         +9959.
26320 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26321             Dmitry V. Levin  <ldv@altlinux.org>
26323         [BZ #18877]
26324         * posix/Makefile (tests): Add tst-mmap-offset.
26325         * posix/tst-mmap.c: New file.
26326         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26327         offset calculation for negative values.
26329 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26331         * sysdeps/i386/init-arch.h: New file.
26332         * sysdeps/i386/i586/init-arch.h: Likewise.
26333         * sysdeps/i386/i686/init-arch.h: Likewise.
26334         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26335         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26336         * sysdeps/x86/cpu-features.h (bit_I586): New.
26337         (bit_I686): Likewise.
26338         (bit_CX8): Likewise.
26339         (bit_CMOV): Likewise.
26340         (index_CX8): Likewise.
26341         (index_CMOV): Likewise.
26342         (index_I586): Likewise.
26343         (index_I686): Likewise.
26344         (reg_CX8): Likewise.
26345         (reg_CMOV): Likewise.
26346         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26347         available at compile-time.
26348         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26349         available at compile-time.
26350         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26351         (USE_I686): Likewise.
26353 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26355         * sysdeps/i386/bcopy.S: New file.
26356         * sysdeps/i386/bzero.S: Likewise.
26357         * sysdeps/i386/memcpy.S: Likewise.
26358         * sysdeps/i386/memmove.S: Likewise.
26359         * sysdeps/i386/mempcpy.S: Likewise.
26360         * sysdeps/i386/memset.S: Likewise.
26361         * sysdeps/i386/bzero.c: Removed.
26362         * sysdeps/i386/memset.c: Likewise.
26363         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26364         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26365         * sysdeps/i386/i586/memset_chk.S: Likewise.
26366         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26367         * sysdeps/i386/memcpy_chk.S: Here.
26368         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26369         * sysdeps/i386/memmove_chk.S: Here.
26370         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26371         * sysdeps/i386/mempcpy_chk.S: Likewise.
26372         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26373         * sysdeps/i386/memset_chk.S: Likewise.
26375 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26377         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26378         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26379         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26380         * soft-fp/fmadf4.c: Ditto.
26381         * soft-fp/fmatf4.c: Ditto.
26383 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26385         * sysdeps/i386/i586/Implies: Removed.
26386         * sysdeps/i386/i686/Implies: Likewise.
26388 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26390         * sysdeps/i386/i486/strlen.S: Moved to ...
26391         * sysdeps/i386/strlen.S: Here.
26393 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26395         * sysdeps/i386/i486/strcat.S: Moved to ...
26396         * sysdeps/i386/strcat.S: Here.
26398 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26400         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26401         * sysdeps/i386/pthread_spin_trylock.S: Here.
26402         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26403         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26405 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26407         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26408         * sysdeps/i386/string-inlines.c: Here.
26410 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26412         * sysdeps/i386/i486/htonl.S: Moved ...
26413         * sysdeps/i386/htonl.S: here.
26415 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26417         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26418         * sysdeps/i386/bits/atomic.h: Here.
26420 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26422         * sysdeps/i386/i486/Versions: Removed.
26424 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26426         [BZ #2898]
26427         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26428         Based on patch by Aurelien Jarno.
26430 2015-08-26  Stan Shebs  <stanshebs@google.com>
26432         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26433         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26435 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26437         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26438         * sysdeps/powerpc/dl-procinfo.c:
26439         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26440         feature so it shows when LD_SHOW_AUXV=1.
26442 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26444         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26445         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26446         definition.  ISA 2.07B no longer requires full sync.
26448 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26450         [BZ #18863]
26451         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26452         (si_call_addr): Define.
26453         (si_syscall): Define.
26454         (si_arch): Define.
26456 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26458         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26459         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26460         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26461         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26462         (__memset_zero_constant_len_parameter): New.
26463         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26464         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26465         (__memset_zero_constant_len_parameter): Don't define if
26466         __memset_chk or USE_AS_BZERO are defined.
26468         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26469         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26470         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26472         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26473         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26474         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26475         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26476         comments.
26477         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26478         -mno-mmx for $(all-rtld-routines).
26479         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26480         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26481         i386.
26483 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26485         * sysdeps/generic/unwind.h
26486         (_Unwind_Word): Use __mode__(__unwind_word__)
26487         instead of __mode__(__word__).
26488         (_Unwind_Sword): Likewise.
26490         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26491         (MAX_NEEDED_INPUT): New define.
26492         (MAX_NEEDED_OUTPUT): New define.
26494         * NEWS: New item for IBM z13 string optimizations.
26496         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26497         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26498         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26499         * sysdeps/s390/multiarch/Makefile
26500         (sysdep_routines): Add memrchr functions.
26501         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26502         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26504         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26505         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26506         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26507         * sysdeps/s390/multiarch/Makefile
26508         (sysdep_routines): Add wmemcmp functions.
26509         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26510         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26511         * benchtests/bench-wmemcmp.c: New File.
26512         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26514         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26515         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26516         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26517         * sysdeps/s390/multiarch/Makefile
26518         (sysdep_routines): Add wmemset functions.
26519         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26520         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26521         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26522         * string/test-memset.c: Add wmemset support.
26523         * wcsmbs/test-wmemset.c: New File.
26524         * wcsmbs/Makefile (strop-tests): Add wmemset.
26525         * benchtests/bench-memset.c: Add wmemset support.
26526         * benchtests/bench-wmemset.c: New File.
26527         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26529         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26530         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26531         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26532         * sysdeps/s390/multiarch/Makefile
26533         (sysdep_routines): Add memccpy functions.
26534         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26535         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26536         * string/memccpy.c: Use MEMCCPY if defined.
26538         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26539         * sysdeps/s390/multiarch/memchr.c: Likewise.
26540         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26541         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26542         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26543         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26544         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26545         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26546         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26547         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26548         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26549         and rawmemchr functions.
26550         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26551         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26552         and wmemchr.
26553         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26554         * string/test-memchr.c: Add wmemchr support.
26555         * wcsmbs/test-wmemchr.c: New File.
26556         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26557         * benchtests/bench-memchr.c: Add wmemchr support.
26558         * benchtests/bench-wmemchr.c: New File.
26559         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26561         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26562         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26563         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26564         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26565         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26566         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26567         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26568         wcscspn functions.
26569         * sysdeps/s390/multiarch/ifunc-impl-list.c
26570         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26571         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26572         * string/test-strcspn.c: Add wcscspn support.
26573         * wcsmbs/test-wcscspn.c: New File.
26574         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26575         * benchtests/bench-strcspn.c: Add wcscspn support.
26576         * benchtests/bench-wcscspn.c: New File.
26577         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26579         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26580         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26581         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26582         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26583         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26584         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26586         wcspbrk functions.
26587         * sysdeps/s390/multiarch/ifunc-impl-list.c
26588         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26589         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26590         * string/test-strpbrk.c: Add wcspbrk support.
26591         * wcsmbs/test-wcspbrk.c: New File.
26592         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26593         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26594         * benchtests/bench-wcspbrk.c: New File.
26595         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26597         * sysdeps/s390/multiarch/strspn-c.c: New File.
26598         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26599         * sysdeps/s390/multiarch/strspn.c: Likewise.
26600         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26601         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26602         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26603         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26605         wcsspn functions.
26606         * sysdeps/s390/multiarch/ifunc-impl-list.c
26607         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26608         * string/test-strspn.c: Add wcsspn support.
26609         * wcsmbs/test-wcsspn.c: New File.
26610         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26611         * benchtests/bench-strspn.c: Add wcsspn support.
26612         * benchtests/bench-wcsspn.c: New File.
26613         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26615         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26616         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26617         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26618         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26619         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26620         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26622         wcsrchr functions.
26623         * sysdeps/s390/multiarch/ifunc-impl-list.c
26624         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26625         * benchtests/bench-wcsrchr.c: New File.
26626         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26628         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26629         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26630         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26631         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26632         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26633         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26635         wcschrnul functions.
26636         * sysdeps/s390/multiarch/ifunc-impl-list.c
26637         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26638         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26639         * string/test-strchr.c: Add wcschrnul support.
26640         * wcsmbs/test-wcschrnul.c: New File.
26641         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26642         * benchtests/bench-strchr.c: Add wcschrnul support.
26643         * benchtests/bench-wcschrnul.c: New File.
26644         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26646         * sysdeps/s390/multiarch/strchr-c.c: New File.
26647         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26648         * sysdeps/s390/multiarch/strchr.c: Likewise.
26649         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26650         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26651         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26653         wcschr functions.
26654         * sysdeps/s390/multiarch/ifunc-impl-list.c
26655         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26656         * string/strchr.c (STRCHR): Define and use macro.
26657         * benchtests/bench-wcschr.c: New File.
26658         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26660         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26661         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26662         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26663         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26664         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26665         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26667         wcsncmp functions.
26668         * sysdeps/s390/multiarch/ifunc-impl-list.c
26669         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26670         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26671         * benchtests/bench-strncmp.c: Add wcsncmp support.
26672         * benchtests/bench-wcsncmp.c: New File.
26673         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26675         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26676         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26677         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26678         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26679         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26680         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26681         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26682         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26683         wcscmp functions.
26684         * sysdeps/s390/multiarch/ifunc-impl-list.c
26685         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26686         * string/strcmp.c (STRCMP): Define and use macro.
26687         * benchtests/bench-wcscmp.c: New File.
26688         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26689         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26690         instead of _HAVE_STRING_ARCH_memchr.
26692         * sysdeps/s390/multiarch/strncat-c.c: New File.
26693         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26694         * sysdeps/s390/multiarch/strncat.c: Likewise.
26695         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26696         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26697         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26698         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26699         wcsncat functions.
26700         * sysdeps/s390/multiarch/ifunc-impl-list.c
26701         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26702         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26703         * string/test-strncat.c: Add wcsncat support.
26704         * wcsmbs/test-wcsncat.c: New File.
26705         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26706         * benchtests/bench-strncat.c: Add wcsncat support.
26707         * benchtests/bench-wcsncat.c: New File.
26708         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26710         * sysdeps/s390/multiarch/strcat-c.c: New File.
26711         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26712         * sysdeps/s390/multiarch/strcat.c: Likewise.
26713         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26714         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26715         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26716         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26717         wcscat functions.
26718         * sysdeps/s390/multiarch/ifunc-impl-list.c
26719         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26720         * string/strcat.c (STRCAT): Define and use macro.
26721         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26722         * string/test-strcat.c: Add wcscat support.
26723         * wcsmbs/test-wcscat.c: New File.
26724         * wcsmbs/Makefile (strop-tests): Add wcscat.
26725         * benchtests/bench-strcat.c: Add wcscat support.
26726         * benchtests/bench-wcscat.c: New File.
26727         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26729         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26730         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26731         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26732         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26733         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26734         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26736         wcpncpy functions.
26737         * sysdeps/s390/multiarch/ifunc-impl-list.c
26738         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26739         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26740         * string/test-stpncpy.c: Add wcpncpy support.
26741         * wcsmbs/test-wcpncpy.c: New File.
26742         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26743         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26744         * benchtests/bench-wcpncpy.c: New File.
26745         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26747         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26748         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26749         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26750         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26751         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26752         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26753         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26755         wcsncpy functions.
26756         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26757         * sysdeps/s390/multiarch/ifunc-impl-list.c
26758         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26759         * string/test-strncpy.c: Add wcsncpy support.
26760         * wcsmbs/test-wcsncpy.c: New File.
26761         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26762         * benchtests/bench-strncpy.c: Add wcsncpy support.
26763         * benchtests/bench-wcsncpy.c: New File.
26764         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26766         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26767         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26768         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26769         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26770         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26771         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26773         wcpcpy functions.
26774         * string/stpcpy.c: Use STPCPY if defined.
26775         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26776         * sysdeps/s390/multiarch/ifunc-impl-list.c
26777         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26778         * string/test-stpcpy.c: Add wcpcpy support.
26779         * wcsmbs/test-wcpcpy.c: New File.
26780         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26781         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26782         * benchtests/bench-wcpcpy.c: New File.
26783         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26785         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26786         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26787         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26788         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26789         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26790         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26791         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26792         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26793         wcscpy functions.
26794         * sysdeps/s390/multiarch/ifunc-impl-list.c
26795         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26796         * benchtests/bench-wcscpy.c: New File.
26797         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26799         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26800         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26801         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26802         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26803         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26804         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26805         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26806         wcsnlen functions.
26807         * sysdeps/s390/multiarch/ifunc-impl-list.c
26808         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26809         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26810         * string/test-strnlen.c: Add wcsnlen support.
26811         * wcsmbs/test-wcsnlen.c: New File.
26812         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26813         * benchtests/bench-strnlen.c: Add wcsnlen support.
26814         * benchtests/bench-wcsnlen.c: New File.
26815         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26817         * sysdeps/s390/multiarch/Makefile: New File.
26818         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26819         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26820         * sysdeps/s390/multiarch/strlen.c: Likewise.
26821         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26822         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26823         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26824         * string/strlen.c (STRLEN): Define and use macro.
26825         * sysdeps/s390/multiarch/ifunc-impl-list.c
26826         (IFUNC_VX_IMPL): New macro function.
26827         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26828         * benchtests/Makefile (wcsmbs-bench): New variable.
26829         (string-bench-all): Added wcsmbs-bench.
26830         * benchtests/bench-wcslen.c: New File.
26832         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26833         s390_vx_libc_ifunc2): New macro function.
26835         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26836         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26837         assembler support.
26838         * sysdeps/s390/configure: Regenerated.
26840         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26841         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26843         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26844         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26845         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26847         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26848         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26850         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26851         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26852         (memcmp, bcmp): Use __memcmp_default as alias source.
26853         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26854         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26855         Rename to __memcmp_default.
26856         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26857         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26858         (memcpy): Use __memcpy_default as alias source.
26859         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26860         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26861         Rename to __memcpy_default.
26862         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26863         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26864         (memset): Use __memset_default as alias source.
26865         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26866         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26867         Rename to __memset_default.
26868         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26869         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26870         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26871         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26872         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26873         (memcmp, bcmp): Use __memcmp_default as alias source.
26874         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26875         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26876         Rename to __memcmp_default.
26877         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26878         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26879         (memcpy): Use __memcpy_default as alias source.
26880         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26881         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26882         Rename to __memcpy_default.
26883         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26884         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26885         (memset): Use __memset_default as alias source.
26886         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26887         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26888         Rename to __memset_default.
26889         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26890         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26892         [BZ #18610]
26893         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26894         __ieee_instruction_pointer to __unused.
26895         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26896         __ieee_instruction_pointer.
26897         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26898         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26899         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26900         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26901         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26902         Mark dxc-field as reserved.
26904 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26906         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26907         if the weak reference is not null.
26909 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26911         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26913         [BZ #11214]
26914         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26916 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26918         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26919         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26920         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26921         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26922         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26923         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26924         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26925         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26926         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26927         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26928         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26929         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26930         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26931         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26932         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26933         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26934         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26935         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26937 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26939         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26940         register other than r0 for tabort, it has special meaning.
26941         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26942         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26943         transaction before starting syscall.
26945 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26947         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26949 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26951         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26953         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26954         * sysdeps/x86_64/rtld-memset.S: Likewise.
26955         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26956         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26957         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26958         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26960         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26962 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26964         * debug/strcpy_chk.c: Improve performance.
26965         * debug/stpcpy_chk.c: Likewise.
26966         * sysdeps/x86_64/strcpy_chk.S: Remove.
26967         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26969         [BZ #18240]
26970         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26972 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26974         [BZ #15128]
26975         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26976         ifuncmain8.
26977         (modules-names): Add ifuncmod8.
26978         ($(objpfx)ifuncmain8): New rule.
26979         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26980         <cpuid.h>.
26981         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26982         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26983         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26984         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26985         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26986         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26987         * sysdeps/x86_64/ifuncmain8.c: New file.
26988         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26989         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26990         Removed.
26991         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26992         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26993         Change rtld_savespace_sse to __glibc_unused2.
26994         (RTLD_CHECK_FOREIGN_CALL): Removed.
26995         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26996         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26997         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26999 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27001         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27003 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27005         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27006         Unconditionally set __fpcr to avoid uninialized warning.
27007         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27009 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27011         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27012         is corrupt.
27014         * malloc/arena.c (arena_get2): Drop unused argument.
27015         (arena_lock): Adjust.
27016         (arena_get_retry): Likewise.
27018 2015-08-24  Andreas Schwab  <schwab@suse.de>
27020         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27021         Don't define.
27022         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27023         (__ASSUME_IPC64): Don't undef.
27024         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27025         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27026         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27027         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27028         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27029         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27030         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27031         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27032         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27033         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27034         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27035         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27036         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27037         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27038         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27039         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27040         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27041         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27042         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27043         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27044         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27046 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27048         * manual/Makefile (install): Only build manual when perl is available.
27050 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27052         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27053         '#undef memcpy' by '#undef memchr'.
27055 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27057         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27058         memchr not point to the internal __GI_memchr implementation.
27060 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27062         * timezone/Makefile (CFLAGS-zdump.c): Remove
27063         -Wno-strict-prototypes.
27064         (CFLAGS-zic.c): Likewise.
27065         (CFLAGS-ialloc.c): Likewise.
27066         (CFLAGS-scheck.c): Likewise.
27068         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27069         -Wno-error=undef.
27071 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27073         * i386/i686/multiarch/strcasestr-c.c: Removed.
27074         * x86_64/multiarch/strcasestr.c: Likewise.
27075         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27076         Remove strcasestr.
27078 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27080         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27082         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27083         variables for high and low parts before possibly modifying them.
27085 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27087         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27088         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27089         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27090         of "multiarch/init-arch.h".
27091         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27092         * sysdeps/x86/init-arch.h: This.
27094 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27096         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27097         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27099 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27101         [BZ #17787]
27102         * manual/macros.texi: Add twoexp macro.
27103         * manual/filesys.texi: Fix exponents.
27104         * manual/llio.texi: Likewise.
27105         * manual/stdio.texi: Likewise.
27107 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27109         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27110         incorrect use.
27112 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27114         [BZ #18370]
27115         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27116         whose real or imaginary part has small absolute value.
27117         * math/s_csqrtf.c (__csqrtf): Likewise.
27118         * math/s_csqrtl.c (__csqrtl): Likewise.
27119         * math/auto-libm-test-in: Add more tests of csqrt.
27120         * math/auto-libm-test-out: Regenerated.
27121         * sysdeps/i386/fpu/libm-test-ulps: Update.
27123 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27125         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27126         __ppc_set_ppr_very_low): New functions.
27127         * manual/platform.texi: Add documentation about
27128         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27130 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27132         * string/stpncpy.c (stpncpy): Improve performance using
27133         __strnlen/memcpy/memset.
27135 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27137         [BZ #18796]
27138         * scripts/test-installation.pl: Don't add -lmvec to build options if
27139         libmvec wasn't built.
27141 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27143         [BZ #14341]
27144         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27145         case when there is a gap between DT_REL and DT_JMPREL sections.
27146         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27147         (LDFLAGS-tst-split-dynreloc): New.
27148         (tst-split-dynreloc-ENV): Likewise.
27149         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27150         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27152 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27154         [BZ #18822]
27155         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27156         attribute_hidden.
27157         (__xstat64_conv): Likewise.
27158         (__xstat32_conv): Likewise.
27160 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27162         [BZ #18822]
27163         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27164         Don't load %ebx when calling __setcontext.  Call __setcontext
27165         with HIDDEN_JUMPTARGET.
27166         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27167         libc_hidden_def.
27169 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27171         * sysdeps/i386/i686/Makefile
27172         [$(subdir) == string] (sysdep_routines): Moved to ...
27173         * sysdeps/i386/Makefile: Here.
27174         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27175         * sysdeps/i386/cacheinfo.c: Here.
27176         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27177         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27178         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27179         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27181 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27183         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27184         __i586__ is defined.
27185         (HAS_I686): Defined to 1 if __i686__ is defined.
27187 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27189         * elf/Makefile [$(have-z-execstack) = yes]
27190         (CPPFLAGS-tst-execstack.c): New variable.
27192         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27193         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27194         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27195         UTMPX || _HAVE_UT_TV].
27196         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27197         UTMPX || _HAVE_UT_TV - 0].
27199 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27201         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27202         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27203         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27205 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27207         * sysdeps/powerpc/dl-procinfo.c:
27208         (_dl_powerpc_cap_flags): Added missing strings for some
27209         hwcap features.
27210         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27212 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27214         Port the 0x7efe...feff pattern to GCC 6.
27215         See Steve Ellcey's bug report in:
27216         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27217         * string/memrchr.c (MEMRCHR):
27218         * string/rawmemchr.c (RAWMEMCHR):
27219         * string/strchr.c (strchr):
27220         * string/strchrnul.c (STRCHRNUL):
27221         Rewrite code to avoid issues with signed shift overflow.
27223 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27225         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27226         whether cpuid is available only if HAS_CPUID is 0.
27227         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27228         (HAS_I586): Likewise.
27229         (HAS_I686): Likewise.
27231 2015-08-18  Zack Weinberg  <zackw@panix.com>
27233         * misc/Versions (libc): Add GLIBC_2.23.
27235 2015-08-18  Alan Modra  <amodra@gmail.com>
27237         [BZ #18421]
27238         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27239         .Lp__global.
27240         (_start): Load %dp via .Lp__global.
27241         [!SHARED]: Use .section .rodata.
27243 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27245         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27246         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27248 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27250         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27251         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27253 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27255         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27256         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27258 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27260         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27261         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27263 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27265         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27266         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27268 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27270         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27271         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27273 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27275         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27277 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27279         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27280         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27281         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27282         (__ASSUME_LWS_CAS): Delete.
27284 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27286         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27287         * sysdeps/hppa/configure: Regenerated.
27288         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27289         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27290         * sysdeps/hppa/nptl/tls.h: Likewise.
27292 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #18823]
27295         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27296         for scaling up small arguments.
27297         * math/s_csqrtf.c (__csqrtf): Likewise.
27298         * math/s_csqrtl.c (__csqrtl): Likewise.
27299         * math/auto-libm-test-in: Add more tests of csqrt.
27300         * math/auto-libm-test-out: Regenerated.
27302 2015-08-17  Andreas Schwab  <schwab@suse.de>
27304         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27305         version set GLIBC_2.19.
27307 2015-08-16  Zack Weinberg  <zackw@panix.com>
27309         [BZ #18681]
27310         * misc/regexp.h: This interface is no longer supported.
27311         Remove all contents, leaving only an #error directive.
27312         * misc/regexp.c (loc1, loc2, locs, step, advance):
27313         Demote to compatibility symbols.
27315 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27317         [BZ #18084]
27318         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27319         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27320         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27321         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27322         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27323         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27324         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27325         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27326         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27328 2015-08-15  Zack Weinberg  <zackw@panix.com>
27330         [BZ #18795]
27331         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27332         buffer length is known to be too large, not if it's known to be
27333         small enough.
27334         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27335         overflow at runtime, involving a length parameter, twice: once
27336         with a compile-time constant length parameter, once without.
27338 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27340         [BZ #18824]
27341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27342         scaling x * y up instead of down.
27343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27344         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27345         * math/auto-libm-test-in: Add more tests of fma.
27346         * math/auto-libm-test-out: Regenerated.
27348 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27350         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27352 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27354         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27355         unnecessary movq.
27356         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27357         Likewise.
27359 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27361         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27362         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27363         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27364         and tgamma.
27365         * math/auto-libm-test-out: Regenerated.
27366         * sysdeps/i386/fpu/libm-test-ulps: Update.
27367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27369         [BZ #16520]
27370         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27371         (__tanh): Force underflow exception for arguments with small
27372         absolute value.
27373         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27374         (__tanhf): Force underflow exception for arguments with small
27375         absolute value.
27376         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27377         (__tanhl): Force underflow exception for arguments with small
27378         absolute value.
27379         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27380         (__tanhl): Force underflow exception for arguments with small
27381         absolute value.
27382         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27383         (__tanhl): Force underflow exception for arguments with small
27384         absolute value.
27385         * math/auto-libm-test-in: Add more tests of tanh.
27386         * math/auto-libm-test-out: Regenerated.
27387         * sysdeps/i386/fpu/libm-test-ulps: Update.
27389 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27391         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27392         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27394 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27396         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27397         <cpuid.h>.
27399 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27401         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27402         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27404 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27406         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27407         Remove $(objpfx)init-arch.o.
27408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27409         init-arch.
27410         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27411         (INIT_ARCH_EXT): Defined as empty.
27412         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27414         __init_cpu_features call.  Replace HAS_XXX with
27415         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27418         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27420         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27421         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27422         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27423         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27424         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27425         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27426         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27427         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27428         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27429         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27430         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27431         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27434         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27437         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27438         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27440         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27448         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27449         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27450         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27452 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27454         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27455         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27456         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27457         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27458         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27459         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27460         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27461         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27462         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27463         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27464         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27465         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27466         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27467         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27468         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27469         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27477         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27478         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27479         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27480         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27481         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27482         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27483         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27484         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27485         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27486         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27487         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27488         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27489         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27490         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27491         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27492         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27493         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27494         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27495         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27496         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27498 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27500         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27501         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27502         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27504         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27505         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27506         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27507         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27508         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27509         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27510         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27511         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27512         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27513         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27514         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27515         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27516         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27517         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27518         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27519         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27521         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27522         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27523         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27524         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27525         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27526         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27527         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27528         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27529         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27530         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27531         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27532         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27533         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27534         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27535         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27536         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27537         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27538         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27539         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27540         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27541         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27542         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27544 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27546         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27547         (dl_platform_init): Call init_cpu_features.
27548         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27549         * sysdeps/i386/i686/cacheinfo.c
27550         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27551         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27552         * sysdeps/i386/i686/multiarch/Versions: Removed.
27553         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27554         Removed.
27555         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27556         * sysdeps/unix/sysv/linux/x86/Makefile
27557         (libpthread-sysdep_routines): Remove init-arch.
27558         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27559         <sysdeps/x86_64/dl-procinfo.c> instead of
27560         sysdeps/generic/dl-procinfo.c>.
27561         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27562         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27563         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27564         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27565         [$(subdir) == elf] (tests-static): Add
27566         tst-get-cpu-features-static.
27567         * sysdeps/x86/Versions: New file.
27568         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27569         * sysdeps/x86/cpu-features.c: Likewise.
27570         * sysdeps/x86/cpu-features.h: Likewise.
27571         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27572         * sysdeps/x86/libc-start.c: Likewise.
27573         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27574         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27575         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27576         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27577         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27578         Assume USE_MULTIARCH is defined and don't check it.
27579         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27580         (is_amd): Likewise.
27581         (max_cpuid): Likewise.
27582         (intel_check_word): Likewise.
27583         (__cache_sysconf): Don't call __init_cpu_features.
27584         (__x86_preferred_memory_instruction): Removed.
27585         (init_cacheinfo): Don't call __init_cpu_features. Replace
27586         __cpu_features with GLRO(dl_x86_cpu_features).
27587         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27588         (dl_platform_init): Call init_cpu_features.
27589         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27590         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27591         * sysdeps/x86_64/multiarch/Versions: Removed.
27592         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27593         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27594         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27595         Removed.
27596         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27598 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27600         [BZ #18820]
27601         * libio/Makefile (test-fmemopen-mem): New test.
27602         * libio/test-fmemopen.c (do_bz18820): New test.
27603         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27604         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27606 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27608         [BZ #16734]
27609         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27610         (FREE_BUF): Delete.
27611         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27612         * libio/genops.c (_IO_setb): Use malloc and free directly.
27613         (_IO_default_doallocate, _IO_default_finish): Likewise.
27614         ( _IO_unbuffer_all): Likewise.
27615         ( libc_freeres_fn): Likewise.
27616         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27617         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27618         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27619         (_IO_wdefault_doallocate): Likewise.
27621 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27623         [BZ #18086]
27624         * sysdeps/posix/nice.c (nice): Restore old errno.
27625         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27627 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27631 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27633         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27634         __bcopy and add a weak_alias to bcopy.
27635         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27636         for static build.
27638         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27639         cleanup macro usage.
27640         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27643         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27644         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27645         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27646         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27647         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27648         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27649         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27650         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27651         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27653         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27655         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27656         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27657         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27658         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27660         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27661         libc_hidden_def.
27662         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27664         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27665         (sysdep_routines): Add strstr-ppc64.
27666         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27668 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27670         [BZ #18778]
27671         * elf/Makefile (tests): Add Add tst-nodelete2.
27672         (modules-names): Add tst-nodelete2mod.
27673         (tst-nodelete2mod.so-no-z-defs): New.
27674         ($(objpfx)tst-nodelete2): Likewise.
27675         ($(objpfx)tst-nodelete2.out): Likewise.
27676         (LDFLAGS-tst-nodelete2): Likewise.
27677         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27678         out of loop through all loaded libraries.
27679         * elf/tst-nodelete2.c: New file.
27680         * elf/tst-nodelete2mod.c: Likewise.
27681         * elf/tst-znodelete-zlib.cc: Delete.
27683 2015-08-11  Andreas Schwab  <schwab@suse.de>
27685         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27686         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27687         (__openat64_nocancel): Likewise.
27689 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27691         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27692         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27693         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27694         * math/auto-libm-test-out: Regenerated.
27695         * sysdeps/i386/fpu/libm-test-ulps: Update.
27696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27698 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #18790]
27701         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27702         threshold for returning +/- 1.
27703         * math/auto-libm-test-in: Add more tests of tanh.
27704         * math/auto-libm-test-out: Regenerated.
27705         * sysdeps/i386/fpu/libm-test-ulps: Update.
27707 2015-08-10  Andreas Schwab  <schwab@suse.de>
27709         [BZ #18781]
27710         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27711         MORE_OFLAGS to oflag.
27712         * io/test-lfs.c (do_test): Test openat64.
27714 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27716         [BZ #18789]
27717         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27718         smaller threshold for returning the argument.
27719         * math/auto-libm-test-in: Add more tests of sinh.
27720         * math/auto-libm-test-out: Regenerated.
27721         * sysdeps/i386/fpu/libm-test-ulps: Update.
27723 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27725         [BZ #18674]
27726         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27727         break.
27729 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27731         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27732         (generated): Don't add $(addprefix z.,$(tzfiles)).
27734 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27736         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27737         * scripts/sysd-rules.awk: Likewise.
27739 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27741         * iconvdata/tst-tables.sh: Change echo -n to printf.
27742         * nss/db-Makefile: Likewise.
27743         * posix/tst-getconf.sh: Likewise.
27744         * stdio-common/tst-unbputc.sh: Likewise.
27746 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27748         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27749         MADV_*_PAGES defines behind this feature check.
27751 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27753         [BZ #18480]
27754         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27755         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27756         Define.
27757         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27758         LOAD_REGS_5, LOAD_REGS_6): Update.
27759         (INTERNAL_SYSCALL): Update using new LOAD defines.
27760         (INTERNAL_SYSCALL_NCS): Likewise.
27761         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27763 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27765         [BZ #16734]
27766         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27768 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27770         [BZ #17905]
27771         * catgets/Makefile (tst-catgets-mem): New test.
27772         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27773         * catgets/open_catalog.c (__open_catalog): Likewise.
27774         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27776 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27778         [BZ #18787]
27779         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27780         clobber registers.
27781         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27782         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27783         Cast return to __typeof (oldval).
27785 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27787         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27788         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27789         and delete sys/syscall.h include.
27791 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27793         [BZ #16517]
27794         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27795         (tan): Force underflow exception for arguments with small absolute
27796         value.
27797         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27798         (__kernel_tanf): Force underflow exception for arguments with
27799         small absolute value.
27800         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27801         (__kernel_tanl): Force underflow exception for arguments with
27802         small absolute value.
27803         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27804         (__kernel_tanl): Force underflow exception for arguments with
27805         small absolute value.
27806         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27807         (__kernel_tanl): Force underflow exception for arguments with
27808         small absolute value.
27809         * math/auto-libm-test-in: Add more tests of tan.
27810         * math/auto-libm-test-out: Regenerated.
27812 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27814         Fix sysdeps/i386/fpu/s_scalbn.S build
27816         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27818 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27820         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27822 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27824         Fix gcrt0.o compilation
27826         When static-start-installed-name is different from
27827         start-installed-name, we must not use the shared objects.
27829         * csu/Makefile
27830         (extra-objs): Add gmon-start.o when building shared library and
27831         $(static-start-installed-name) is different from
27832         $(start-installed-name).
27833         $(objpfx)g$(static-start-installed-name): When building shared
27834         library and $(static-start-installed-name) is different from
27835         $(static-start-installed-name), revert to non-shared rule,
27836         i.e. using $(objpfx)% and gmon-start.o.
27838 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27840         [BZ #16519]
27841         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27842         (__ieee754_sinh): Force underflow exception for arguments with
27843         small absolute value.
27844         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27845         (__ieee754_sinhf): Force underflow exception for arguments with
27846         small absolute value.
27847         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27848         (__ieee754_sinhl): Force underflow exception for arguments with
27849         small absolute value.
27850         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27851         (__ieee754_sinhl): Force underflow exception for arguments with
27852         small absolute value.
27853         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27854         (__ieee754_sinhl): Force underflow exception for arguments with
27855         small absolute value.
27856         * math/auto-libm-test-in: Add more tests of sinh.
27857         * math/auto-libm-test-out: Regenerated.
27858         * sysdeps/i386/fpu/libm-test-ulps: Update.
27860 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27862         * libio/oldfileops.c: Include unistd.h.
27864 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27866         * stdlib/isomac.c: Include ctype.h.
27868 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27870         * dirent/tst-seekdir.c (main): Converted to ...
27871         (do_test): ... this.
27872         (TEST_FUNCTION): New macro.
27873         Include test-skeleton.c.
27874         * elf/tst-dlmodcount.c (main): Converted to ...
27875         (do_test): ... this.
27876         (TEST_FUNCTION): New macro.
27877         Include test-skeleton.c.
27878         * elf/tst-order-main.c (main): Converted to ...
27879         (do_test): ... this.
27880         (TEST_FUNCTION): New macro.
27881         Include test-skeleton.c.
27882         * elf/tst-pie2.c (main): Converted to ...
27883         (do_test): ... this.
27884         (TEST_FUNCTION): New macro.
27885         Include test-skeleton.c.
27886         * inet/tst-ether_aton.c (main): Converted to ...
27887         (do_test): ... this.
27888         (TEST_FUNCTION): New macro.
27889         Include test-skeleton.c.
27890         * misc/tst-mntent.c (main): Converted to ...
27891         (do_test): ... this.
27892         (TEST_FUNCTION): New macro.
27893         Include test-skeleton.c.
27894         * misc/tst-tsearch.c (main): Converted to ...
27895         (do_test): ... this.
27896         (TEST_FUNCTION): New macro.
27897         Include test-skeleton.c.
27898         * posix/tst-regexloc.c (main): Converted to ...
27899         (do_test): ... this.
27900         (TEST_FUNCTION): New macro.
27901         Include test-skeleton.c.
27902         * resolv/tst-aton.c (main): Converted to ...
27903         (do_test): ... this.
27904         (TEST_FUNCTION): New macro.
27905         Include test-skeleton.c.
27906         * stdio-common/test-fwrite.c (main): Converted to ...
27907         (do_test): ... this.
27908         (TEST_FUNCTION): New macro.
27909         Include test-skeleton.c.
27910         * stdio-common/tst-ferror.c (main): Converted to ...
27911         (do_test): ... this.
27912         (TEST_FUNCTION): New macro.
27913         Include test-skeleton.c.
27914         * stdio-common/tst-printf.c (main): Converted to ...
27915         (do_test): ... this.
27916         (TEST_FUNCTION): New macro.
27917         Include test-skeleton.c.
27918         * stdio-common/tst-printfsz.c (main): Converted to ...
27919         (do_test): ... this.
27920         (TEST_FUNCTION): New macro.
27921         Include test-skeleton.c.
27922         * stdlib/tst-strtod.c (main): Converted to ...
27923         (do_test): ... this.
27924         (TEST_FUNCTION): New macro.
27925         Include test-skeleton.c.
27926         * string/tst-strlen.c (main): Converted to ...
27927         (do_test): ... this.
27928         (TEST_FUNCTION): New macro.
27929         Include test-skeleton.c.
27930         * string/tst-svc.c (main): Converted to ...
27931         (do_test): ... this.
27932         (TEST_FUNCTION): New macro.
27933         Include test-skeleton.c.
27934         * time/tst-strptime.c (main): Converted to ...
27935         (do_test): ... this.
27936         (TEST_FUNCTION): New macro.
27937         Include test-skeleton.c.
27938         * timezone/tst-timezone.c (main): Converted to ...
27939         (do_test): ... this.
27940         (TEST_FUNCTION): New macro.
27941         Include test-skeleton.c.
27943 2015-08-05  Zack Weinberg  <zackw@panix.com>
27945         * misc/regexp.h: Update comments.
27947 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27949         [BZ #18635]
27950         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27951         before return label.
27953 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27955         [BZ #18661]
27956         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27957         when calling __errno_location.
27958         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27959         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27961 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27963         [BZ #18661]
27964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27965         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27966         __gettimeofday.
27968 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27970         [BZ #18661]
27971         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27972         (__start_context): Don't use pop to restore %rdi so that stack
27973         is aligned to 16 bytes when calling __setcontext.
27975 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27977         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27978         only for libc.
27979         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27981 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27983         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27984         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27985         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27987 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27989         * string/memccpy.c (memccpy):
27990         Improve performance by using memchr/memcpy/__mempcpy.
27992 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27994         * string/strncpy.c (strncpy):
27995         Improve performance by using __strnlen/memcpy.
27997 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27999         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28000         Optimize to avoid an unnecessary FPCR read.
28002 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28004         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28005         Optimize to reduce FPCR/FPSR accesses.
28007 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28009         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28010         dead->data[category] != NULL.
28012 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28014         [BZ #18647]
28015         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28016         and |x| close to 1, use absolute value of x when computing log.
28017         * math/auto-libm-test-in: Add more tests of pow.
28018         * math/auto-libm-test-out: Regenerated.
28020 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28022         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28023         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28024         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28026 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28028         [BZ #18525]
28029         * locales/km_KH: Remove timezone definition.
28030         * locales/lo_LA: Likewise.
28031         * locales/my_MM: Likewise.
28032         * locales/nan_TW@latin: Likewise.
28033         * locales/th_TH: Likewise.
28034         * locales/uk_UA: Likewise.
28036 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28038         [BZ #18265]
28039         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28040         (wcsncat): Likewise.
28041         (wcscmp): Likewise.
28042         (wcsncmp): Likewise.
28044 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28046         * test-skeleton.c (usage): New function.
28047         (main): Call usage when opt is '?'.
28049 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28051         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28052         before first use.
28054 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28056         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28057         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28058         in there too.
28060 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28062         * version.h (RELEASE): Set to "development".
28063         (VERSION): Set to "2.22.90"
28065         * version.h (RELEASE): Set to "stable".
28066         (VERSION): Set to "2.22"
28067         * include/features.h (__GLIBC_MINOR__): Set to 22.
28069 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28071         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28072         Restructure macro to avoid "value computed is not used" warning.
28073         (atomic_compare_and_exchange_val_acq): Likewise.
28075 2015-08-04  Andreas Schwab  <schwab@suse.de>
28077         [BZ #18635]
28078         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28079         ret.
28080         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28082 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28084         * po/pl.po: Updated translation.
28085         * po/uk.po: Likewise.
28086         * po/fi.po: Likewise.
28087         * po/ko.po: Likewise.
28088         * po/ru.po: Likewise.
28089         * po/vi.po: Likewise.
28091 2015-07-31  Zack Weinberg  <zackw@panix.com>
28093         [BZ #18681]
28094         * regexp.h: Add unconditional #warning stating that this header
28095         will be removed soon.  Revise banner comment to match.
28096         (compile): Consistently use ERROR instead of RETURN to report
28097         errors (partial fix for BZ #18681).
28098         * regexp.c: Don't include regexp.h. Remove some unnecessary
28099         declarations.
28101 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28103         * po/libc.pot: Regenerated.
28105 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28107         [BZ #18740]
28108         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28109         float-vlen4-arch-ext-cflags): Removed.
28110         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28111         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28113 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28115         [BZ #14113]
28116         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28117         aligned to __aligned__.
28118         (pthread_cond_t, pthread_rwlock_t): Likewise.
28120 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28122         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28124 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28126         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28127         (struct sigaction): Change sa_flags from a long to an int, and add
28128         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28130 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28132         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28133         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28134         sysdeps/generic/sysdep.h include.
28135         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28136         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28137         sysdeps/hppa/sysdep.h.
28138         (ENTRY, PSEUDO): Undefine before defining.
28140 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28142         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28143         from scratch to use INTERNAL_SYSCALL.
28145 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28147         [BZ #18078]
28148         * scripts/check-localplt.awk: Support alternate relocations.
28149         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28150         sections.
28151         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28152         malloc entries with + REL R_386_GLOB_DAT.
28153         * sysdeps/x86_64/localplt.data: New file.
28155 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28157         [BZ #18731]
28158         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28159         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28160         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28162 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28164         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28166 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28168         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28169         directly in terms of __sync_fetch_and_add and delete (int) cast.
28171 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28173         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28174         the -D_ASM_IA64_CURRENT_H flag.
28176 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28178         [BZ #18641]
28179         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28181 2015-07-27  Andreas Schwab  <schwab@suse.de>
28183         * conform/conformtest.pl (checknamespace): Filter out string
28184         literals while tokenizing.
28186 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28188         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28189         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28190         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28192 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28194         * nptl/tst-join7mod.c: Add #include <string.h>.
28196 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28198         * sysdeps/nios2/libm-test-ulps: Update.
28200 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28202         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28203         Fix order of arguments to the rt_sigprocmask syscall.
28204         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28205         Likewise.
28207 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28209         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28211 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28213         [BZ #18457]
28214         * nptl/Makefile (tests): New test case tst-join7.
28215         (modules-names): New test case module tst-join7mod.
28216         * nptl/tst-join7.c: New file.
28217         * nptl/tst-join7mod.c: New file.
28218         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28219         all translation units in libc.so, libpthread.so and rtld.
28221 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28225 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28228         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28229         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28233         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28235         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28238         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28239         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28240         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28242         implementation.
28244 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28246         [BZ #17711]
28247         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28248         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28249         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28250         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28251         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28252         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28254 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28256         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28257         instead of just saying load lock in the comments.
28259 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28261         * sysdeps/unix/Subdirs: Moved ...
28262         * sysdeps/posix/Subdirs: ... here.
28263         * login/pty.h (struct termios, struct winsize): Add forward decls.
28264         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28265         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28266         * sysdeps/arm/nacl/libc.abilist: Updated.
28267         * sysdeps/nacl/libutil.abilist: New file.
28269         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28270         (SIGWINCH): New macro.
28272         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28273         * sysdeps/arm/nacl/libc.abilist: Add it.
28275 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28277         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28279 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28281         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28282         Swap __glibc_reserved0 and sa_flags order.
28284 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28286         [BZ #18657]
28287         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28288         are pending TLS destructor calls.
28289         * include/link.h (struct link_map): Add concurrency note for
28290         L_TLS_DTOR_COUNT.
28291         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28292         Don't touch the link map flag.  Atomically increment
28293         l_tls_dtor_count.
28294         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28295         Avoid taking the load lock and don't touch the link map flag.
28296         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28297         * stdlib/Makefile (tests): Use it.
28298         * stdlib/tst-tls-atexit.c (do_test): dlopen
28299         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28300         to allow tst-tls-atexit-nodelete test case to use it.
28302 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28304         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28305         to bits/types.h.
28306         (msgqnum_t): New typedef.
28307         (msglen_t): Likewise.
28308         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28309         and msg_qbytes type to msglen_t.
28311 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28313         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28314         pad0 to __glibc_reserved0.
28315         (struct stat64): Likewise.
28317 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28319         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28320         Change sa_flags from a long to an int and add __glibc_reserved0 before
28321         it for padding.
28323 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28325         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28326         anonymous by deleting "siginfo" name.
28328 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28330         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28331         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28332         rather than __nacl_irt_filename.
28333         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28335         * NEWS: New item for arm-nacl port.
28336         * sysdeps/arm/nacl/libc.abilist: New file.
28337         * sysdeps/nacl/ld.abilist: New file.
28338         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28339         * sysdeps/nacl/libanl.abilist: New file.
28340         * sysdeps/nacl/libcrypt.abilist: New file.
28341         * sysdeps/nacl/libdl.abilist: New file.
28342         * sysdeps/nacl/libm.abilist: New file.
28343         * sysdeps/nacl/libpthread.abilist: New file.
28344         * sysdeps/nacl/libresolv.abilist: New file.
28345         * sysdeps/nacl/librt.abilist: New file.
28347 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28349         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28350         __startcontext to initialize the new context.
28351         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28352         up CFI directive to forbid further backtracing.
28354 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28356         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28357         reference.
28358         * charmaps/ANSI_X3.4-1968: Likewise.
28359         * charmaps/BS_4730: Likewise.
28360         * charmaps/BS_VIEWDATA: Likewise.
28361         * charmaps/CP1250: Likewise.
28362         * charmaps/CP1251: Likewise.
28363         * charmaps/CP1252: Likewise.
28364         * charmaps/CP1253: Likewise.
28365         * charmaps/CP1254: Likewise.
28366         * charmaps/CP1255: Likewise.
28367         * charmaps/CP1256: Likewise.
28368         * charmaps/CSN_369103: Likewise.
28369         * charmaps/EBCDIC-DK-NO: Likewise.
28370         * charmaps/GB_1988-80: Likewise.
28371         * charmaps/GREEK-CCITT: Likewise.
28372         * charmaps/GREEK7: Likewise.
28373         * charmaps/INIS-8: Likewise.
28374         * charmaps/ISIRI-3342: Likewise.
28375         * charmaps/ISO_2033-1983: Likewise.
28376         * charmaps/ISO_5427-EXT: Likewise.
28377         * locales/POSIX: Likewise.
28378         * locales/ar_SA: Likewise.
28379         * locales/be_BY: Likewise.
28380         * locales/be_BY@latin: Likewise.
28381         * locales/ca_ES: Likewise.
28382         * locales/cs_CZ: Likewise.
28383         * locales/da_DK: Likewise.
28384         * locales/de_BE: Likewise.
28385         * locales/de_CH: Likewise.
28386         * locales/de_LU: Likewise.
28387         * locales/en_AU: Likewise.
28388         * locales/en_BW: Likewise.
28389         * locales/en_CA: Likewise.
28390         * locales/en_DK: Likewise.
28391         * locales/en_GB: Likewise.
28392         * locales/en_IE: Likewise.
28393         * locales/en_NZ: Likewise.
28394         * locales/en_ZA: Likewise.
28395         * locales/en_ZW: Likewise.
28396         * locales/es_AR: Likewise.
28397         * locales/es_BO: Likewise.
28398         * locales/es_CL: Likewise.
28399         * locales/es_CO: Likewise.
28400         * locales/es_DO: Likewise.
28401         * locales/es_EC: Likewise.
28402         * locales/es_ES: Likewise.
28403         * locales/es_HN: Likewise.
28404         * locales/es_MX: Likewise.
28405         * locales/es_PA: Likewise.
28406         * locales/es_PE: Likewise.
28407         * locales/es_PY: Likewise.
28408         * locales/es_SV: Likewise.
28409         * locales/es_US: Likewise.
28410         * locales/es_UY: Likewise.
28411         * locales/es_VE: Likewise.
28412         * locales/et_EE: Likewise.
28413         * locales/fa_IR: Likewise.
28414         * locales/fo_FO: Likewise.
28415         * locales/fr_CA: Likewise.
28416         * locales/fr_CH: Likewise.
28417         * locales/gv_GB: Likewise.
28418         * locales/he_IL: Likewise.
28419         * locales/hr_HR: Likewise.
28420         * locales/id_ID: Likewise.
28421         * locales/is_IS: Likewise.
28422         * locales/it_CH: Likewise.
28423         * locales/iw_IL: Likewise.
28424         * locales/kl_GL: Likewise.
28425         * locales/ko_KR: Likewise.
28426         * locales/kw_GB: Likewise.
28427         * locales/lg_UG: Likewise.
28428         * locales/lt_LT: Likewise.
28429         * locales/lv_LV: Likewise.
28430         * locales/mi_NZ: Likewise.
28431         * locales/nhn_MX: Likewise.
28432         * locales/nl_BE: Likewise.
28433         * locales/pl_PL: Likewise.
28434         * locales/sk_SK: Likewise.
28435         * locales/sl_SI: Likewise.
28436         * locales/sv_FI: Likewise.
28437         * locales/tl_PH: Likewise.
28438         * locales/tr_TR: Likewise.
28439         * locales/vi_VN: Likewise.
28441 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28443         [BZ #17475]
28444         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28445         of tu_IN and bh_IN.
28447 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28449         [BZ #18694]
28450         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28451         bits/wordsize.h.
28452         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28454 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28456         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28457         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28458         (spawn_thread): New function.
28459         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28460         (do_test): ... here.  Use IS_LOADED to test for its
28461         availability.
28463 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28465         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28467 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28469         [BZ #18696]
28470         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28471         si_addr_bnd.
28472         (si_lower): New.
28473         (si_upper): Likewise.
28475 2015-07-16  David S. Miller  <davem@davemloft.net>
28477         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28479 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28481         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28482         buffer.
28483         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28484         fail output information.
28486 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28489         and strstr-ppc64..
28490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28491         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28492         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28493         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28494         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28496 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28498         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28499         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28500         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28501         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28503 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28505         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28506         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28507         rtld_hidden_proto.
28508         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28510 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28512         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28513         the test can fail.
28515         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28517         [BZ #18676]
28518         * elf/tst-nodelete-opened.c: New test case.
28519         * elf/tst-nodelete-opened-lib.c: New test case module.
28520         * elf/Makefile (tests, modules-names): Use them.
28521         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28522         early.
28524 2015-07-15  David S. Miller  <davem@davemloft.net>
28526         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28527         futex-intenal.h
28528         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28529         * sysdeps/sparc/sparc64/Makefile: Likewise.
28530         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28531         Remove space from macro define.
28532         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28534 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28536         [BZ #17475]
28537         * locale/iso-639.def: Update Bhili and Tulu language codes as
28538         per iso639-3.
28540 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28542         * elf/tst-leaks1.c (main): Converted to ...
28543         (do_test): ... this.
28544         (TEST_FUNCTION): New macro.
28545         Include test-skeleton.c.
28546         * localedata/tst-langinfo.c (main): Converted to ...
28547         (do_test): ... this.
28548         (TEST_FUNCTION): New macro.
28549         Include test-skeleton.c.
28550         * math/test-fpucw.c (main): Converted to ...
28551         (do_test): ... this.
28552         (TEST_FUNCTION): New macro.
28553         Include test-skeleton.c.
28554         * math/test-tgmath.c (main): Converted to ...
28555         (do_test): ... this.
28556         (TEST_FUNCTION): New macro.
28557         Include test-skeleton.c.
28558         * math/test-tgmath2.c (main): Converted to ...
28559         (do_test): ... this.
28560         (TEST_FUNCTION): New macro.
28561         Include test-skeleton.c.
28562         * setjmp/tst-setjmp.c (main): Converted to ...
28563         (do_test): ... this.
28564         (TEST_FUNCTION): New macro.
28565         Include test-skeleton.c.
28566         * stdio-common/tst-sscanf.c (main): Converted to ...
28567         (do_test): ... this.
28568         (TEST_FUNCTION): New macro.
28569         Include test-skeleton.c.
28570         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28571         (do_test): ... this.
28572         (TEST_FUNCTION): New macro.
28573         Include test-skeleton.c.
28575         * elf/tst-audit9.c (main): Converted to ...
28576         (do_test): ... this.
28577         (TEST_FUNCTION): New macro.
28578         Include test-skeleton.c.
28580 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28582         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28584 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28586         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28587         New variable.
28589 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28591         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28593 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28595         * sysdeps/generic/dl-fileid.h: New file.
28596         * sysdeps/posix/dl-fileid.h: New file.
28597         * sysdeps/nacl/dl-fileid.h: New file.
28598         * include/link.h: Include <dl-fileid.h>.
28599         (struct link_map): Replace l_dev and l_ino with l_file_id.
28600         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28601         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28602         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28604 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28606         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28608 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28610         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28611         Add iff $CXX is set.
28612         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28613         Likewise.
28614         (tst-nodelete-zmodiff): Likewise.
28615         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28617 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28619         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28621 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28623         * sysdeps/aarch64/fpu/math_private.h
28624         (define math_opt_barrier): Add AArch64 version.
28625         (math_force_eval): Likewise.
28627 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28629         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28631 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28633         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28634         %ld with %jd and cast to intmax_t.
28635         (do_test_length_zero): Likewise.
28637 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28639         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28641 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28643         * sysdeps/tile/libm-test-ulps: Regenerated.
28645         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28646         Comment out the whole function, not just its body.
28648 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28650         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28651         locks.
28653         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28655 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28657         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28658         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28660 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28662         * sysdeps/nptl/futex-internal.h: New file.
28663         * sysdeps/nacl/futex-internal.h: New file.
28664         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28665         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28666         error checking.
28667         (setxid_unmark_thread): Likewise.
28668         (__nptl_setxid): Likewise.
28669         (__wait_lookup_done): Likewise.
28670         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28671         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28672         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28673         * nptl/pthread_once.c (clear_once_control): Likewise.
28674         (__pthread_once_slow): Likewise.
28675         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28676         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28677         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28678         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28679         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28680         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28681         Likewise.
28682         (__pthread_rwlock_rdlock): Likewise.
28683         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28684         Likewise.
28685         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28686         Likewise.
28687         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28688         Likewise.
28689         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28690         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28691         Likewise.
28692         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28693         __ASSUME_PRIVATE_FUTEX check.
28694         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28695         Check that shared futexes are supported.
28696         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28697         wrappers with error checking.
28698         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28699         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28700         * nptl/pthread_barrierattr_setpshared.c
28701         (pthread_barrierattr_setpshared): Check that shared futexes are
28702         supported.
28703         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28704         Likewise.
28705         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28706         Likewise.
28707         * nptl/sem_init.c (futex_private_if_supported): Remove.
28708         (__new_sem_init): Adapt and check that shared futexes are supported.
28709         * nptl/sem_open.c (sem_open): Likewise.
28710         * nptl/sem_post.c (futex_wake): Remove.
28711         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28712         (do_futex_wait): Use futex wrappers with error checking.
28713         * nptl/sem_wait.c: Include lowlevellock.h.
28714         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28715         Use futex_supports_pshared.
28716         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28717         Use futex wrappers with error checking.
28718         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28719         Likewise.
28720         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28721         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28722         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28723         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28724         (futex_wake): Likewise.
28725         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28726         (do_futex_wait): Use futex wrappers with error checking.
28727         (__new_sem_wait_slow): Update EINTR handling.
28728         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28730 2015-07-09  Martin Sebor  <msebor@redhat.com>
28732         [BZ #18435]
28733         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28734         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28735         * nptl/Makefile (test-xfail-tst-once5): Define.
28737 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28739         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28740         * elf/dl-minimal.c: For readability, reorder some definitions and
28741         introduce more page breaks.  Include <stdio.h>.
28742         (__libc_fatal): New function.
28744         * include/unistd.h: Add rtld_hidden_proto for _exit.
28745         * posix/_exit.c: Add rtld_hidden_def.
28746         * sysdeps/mach/hurd/_exit.c: Likewise.
28747         * sysdeps/nacl/_exit.c: Likewise.
28748         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28749         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28751 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28753         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28754         bndmov encoding with zero displacement.
28756 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28757             H.J. Lu  <hongjiu.lu@intel.com>
28759         [BZ #18134]
28760         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28761         * sysdeps/i386/configure: Regenerated.
28762         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28763         (_dl_runtime_profile): Save and restore Intel MPX return bound
28764         registers when calling _dl_call_pltexit.  Add
28765         PRESERVE_BND_REGS_PREFIX before return.
28766         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28767         (LRV_BND1_OFFSET): Likewise.
28768         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28769         lrv_bnd1.
28770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28771         typo in bndmov encoding.
28772         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28773         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28774         branch instructions to preserve bounds.
28776 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28779         [GLIBC_2.22]: Add fmemopen.
28781 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28783         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28784         returns an error, also try to use host port from __mach_host_self for
28785         the __vm_wire call.
28786         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28788 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28790         [BZ #18400]
28791         [BZ #18648]
28792         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28793         Fix pr_uid and pr_gid members.
28794         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28795         definition to elf_greg_t.
28797 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28799         [BZ #18383]
28800         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28801         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28802         * sysdeps/arm/configure: Regenerated.
28803         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28804         (test-xfail-tst-tlsalign-static): Variable removed.
28806         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28807         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28808         rather than explicit 'ln -s'.
28810         * resolv/rpc/netdb.h: New file.
28811         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28813 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28815         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28816         length buffers.
28817         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28818         test-skeleton.c.
28820         [BZ #6544]
28821         [BZ #11216]
28822         [BZ #12836]
28823         [BZ #13151]
28824         [BZ #13152]
28825         [BZ #14292]
28826         * include/stdio.h (fmemopen): Remove hidden prototype.
28827         (__fmemopen): Add new hidden prototype.
28828         * libio/Makefile: Add oldfmemopen object.
28829         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28830         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28831         compliance.
28832         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28833         symbol compatibility.
28834         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28835         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28836         fmemopen.
28837         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28838         on append and read mode.
28839         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28840         fmemopen.
28841         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28842         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28843         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28844         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28845         Likewise.
28846         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28847         [GLIBC_2.22]: Likewise.
28848         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28849         Likewise.
28850         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28851         Likewise.
28852         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28853         [GLIBC_2.22]: Likewise.
28854         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28855         [GLIBC_2.22]: Likewise.
28856         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28857         [GLIBC_2.22]: Likewise.
28858         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28859         [GLIBC_2.22]: Likewise.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28861         [GLIBC_2.22]: Likewise.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28863         [GLIBC_2.22]: Likewise.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28865         [GLIBC_2.22]: Likewise.
28866         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28867         Likewise.
28868         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28869         Likewise.
28870         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28871         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28872         [GLIBC_2.22]: Likewise.
28873         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28874         [GLIBC_2.22]: Likewise.
28875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28876         [GLIBC_2.22]: Likewise.
28877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28878         [GLIBC_2.22]: Likewise.
28879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28880         Likewise.
28881         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28882         Likewise.
28883         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28884         Likewise.
28885         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28886         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28888 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28890         [BZ #18643]
28891         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28892         IPV6_PATHMTU, and IPV6_DONTFRAG.
28894 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28896         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28897         and _IO_UNBUFFERED.
28898         * libio/oldfileops.c: Likewise.
28899         * libio/wfileops.c: Likewise.
28901 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28903         * nscd/selinux.c: Delete selinux/flask.h include.
28905 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28907         [BZ #18641]
28908         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28909         (putpwent): Likewise.
28910         (getpwnam): Likewise.
28911         (getpwent_r): Likewise.
28912         (getpwuid_r): Likewise.
28913         (getpwnam_r): Likewise.
28914         (fgetpwent_r): Likewise.
28916 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28918         [BZ #18557]
28919         * inet/rcmd.c (__validuser2_sa): Check user first to
28920         short-circuit host check.
28922 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28923             Mikhail Ilin  <m.ilin@samsung.com>
28925         [BZ #17833]
28926         * elf/Makefile (tests): Add tst-nodelete.
28927         (modules-names): Add tst-nodelete-uniquemod.
28928         (tst-nodelete-uniquemod.so-no-z-defs): New.
28929         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28930         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28931         ($(objpfx)tst-nodelete): Likewise.
28932         ($(objpfx)tst-nodelete.out): Likewise.
28933         (LDFLAGS-tst-nodelete): Likewise.
28934         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28935         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28936         implement forced object deletion.
28937         (_dl_close): Pass false to _dl_close_worker.
28938         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28939         * elf/tst-nodelete.cc: New file.
28940         * elf/tst-nodeletelib.cc: Likewise.
28941         * elf/tst-znodeletelib.cc: Likewise.
28942         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28944 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28946         [BZ #18508]
28947         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28948         Depend on $(libdl).
28949         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28950         is not called infinitely times.
28951         (backtrace_helper): New function.
28952         (trace_arg): New struct.
28953         (st1): Enlarge stack size.
28954         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28955         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28956         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28957         Likewise.
28959 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28961         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28963 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28965         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28966         Include sys/types.h instead of bits/types.h.
28967         Remove inclusion of bits/wordsize.h.
28969 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28971         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28972         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28973         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28974         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28975         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28976         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28978 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28980         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28981         link-defines.sym.
28982         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28983         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28984         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28985         and LR_SIZE.
28986         * sysdeps/i386/link-defines.sym: New file.
28988 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28990         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28991         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28992         ($(objpfx)tst-audit3): New rule.
28993         ($(objpfx)tst-audit3.out): Likewise.
28994         * sysdeps/i386/tst-audit3.c: New file.
28995         * sysdeps/i386/tst-audit3.h: Likewise.
28996         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28997         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28999 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29001         [BZ #18633]
29002         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29003         pointer in C code.
29004         (__strcat_c): Likewise.
29005         (__strcat_g): Likewise.
29007 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29009         [BZ #18592]
29010         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29012 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29014         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29015         New function.  (__ieee754_sqrtf): New function.
29016         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29017         New function.
29018         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29019         New function.
29021 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29023         * sysdeps/ieee754/support.c: Remove unused file.
29025 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29027         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29028         registers instead of d ones so the layout is kernel abi compatible.
29029         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29030         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29031         Likewise.
29033 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29035         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29037 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29039         [BZ #18619]
29040         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29041         and return argument in case of subnormal argument.
29043 2015-07-01  Martin Sebor  <msebor@redhat.com>
29045         [BZ #18435]
29046         * nptl/Makefile: Add tst-once5.cc.
29047         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29048         Remove macro redefinitions.
29049         * nptl/tst-once5.cc: New test.
29051 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29053         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29055         * sysdeps/arm/libm-test-ulps: Regenerated.
29057         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29058         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29060 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29062         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29063         lll_lock_wait_private and lll_futex_wake probes.
29065         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29066         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29067         Likewise.
29068         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29069         atomic_spin_nop.
29070         * sysdeps/x86_64/bits/atomic.h: Likewise.
29071         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29072         to atomic_spin_nop and move ...
29073         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29074         ... here and ...
29075         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29076         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29077         atomic_spin_nop instead of BUSY_WAIT_NOP.
29078         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29079         Likewise.
29080         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29081         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29082         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29083         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29084         instead of atomic_delay.
29086 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29088         [BZ #18613]
29089         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29090         X_ADJ not X when adjusting exponent.
29091         (__ieee754_gamma_r): Do intermediate computations in
29092         round-to-nearest then adjust overflowing and underflowing results
29093         as needed.
29094         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29095         of X_ADJ not X when adjusting exponent.
29096         (__ieee754_gammaf_r): Do intermediate computations in
29097         round-to-nearest then adjust overflowing and underflowing results
29098         as needed.
29099         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29100         log of X_ADJ not X when adjusting exponent.
29101         (__ieee754_gammal_r): Do intermediate computations in
29102         round-to-nearest then adjust overflowing and underflowing results
29103         as needed.  Use 1.0L not 1.0f as numerator of division.
29104         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29105         log of X_ADJ not X when adjusting exponent.
29106         (__ieee754_gammal_r): Do intermediate computations in
29107         round-to-nearest then adjust overflowing and underflowing results
29108         as needed.  Use 1.0L not 1.0f as numerator of division.
29109         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29110         of X_ADJ not X when adjusting exponent.
29111         (__ieee754_gammal_r): Do intermediate computations in
29112         round-to-nearest then adjust overflowing and underflowing results
29113         as needed.  Use 1.0L not 1.0f as numerator of division.
29114         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29115         to auto-libm-test-in.
29116         (tgamma_test): Use ALL_RM_TEST.
29117         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29118         tests of tgamma with spurious-overflow.
29119         * math/auto-libm-test-out: Regenerated.
29120         * math/gen-libm-have-vector-test.sh: Do not check for START.
29121         * sysdeps/i386/fpu/libm-test-ulps: Update.
29122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29124         [BZ #18612]
29125         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29126         arguments, just return 0.5 times the argument, with underflow
29127         forced as needed.
29128         * math/auto-libm-test-in: Add more tests of j1.
29129         * math/auto-libm-test-out: Regenerated.
29131         [BZ #16559]
29132         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29133         (__ieee754_j1): Force underflow exception for small results.
29134         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29135         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29136         (__ieee754_j1f): Force underflow exception for small results.
29137         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29138         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29140         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29141         (__ieee754_j1l): Force underflow exception for small results.
29142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29143         * math/auto-libm-test-in: Add more tests of j1 and jn.
29144         * math/auto-libm-test-out: Regenerated.
29146         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29147         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29148         (PF_MPLS): Likewise.
29149         (AF_IB): Likewise.
29150         (AF_MPLS): Likewise.
29151         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29152         value and macro.
29153         (MS_RMT_MASK): Include MS_LAZYTIME.
29155 2015-06-26  Mel Gorman  <mgorman@suse.de>
29157         [BZ #18502]
29158         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29159         already minimal.
29161 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29163         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29164         (DT_MIPS_NUM): Update.
29165         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29166         DT_MIPS_RLD_MAP_REL.
29168 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29170         [BZ #16559]
29171         [BZ #18602]
29172         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29173         round-to-nearest internally then recompute results that
29174         underflowed to zero in the original rounding mode.
29175         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29176         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29178         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29179         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29180         * sysdeps/i386/fpu/libm-test-ulps: Update.
29181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29183 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29185         * NEWS: Fixed description of link with vector math library.
29187 2015-06-25  Andreas Schwab  <schwab@suse.de>
29189         [BZ #18549]
29190         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29191         * libio/test-fmemopen.c (do_test): Add test for it.
29193 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29195         [BZ #17841]
29196         * Makeconfig (no-pie-ldflag): New.
29197         (+link): Set to $(+link-pie) if default to PIE.
29198         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29199         * config.make.in (build-pie-default): New.
29200         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29201         is default.  AC_SUBST.
29202         * configure: Regenerated.
29203         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29205 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29207         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29208         to 'unsigned int'.
29210         * resolv/gai_misc.h (struct waitlist): Change type of field
29211         counterp to 'volatile unsigned int *'.
29212         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29213         FUTEXADDR and OLDVAL.
29214         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29215         Give local variable TOTAL type 'volatile unsigned int'.
29216         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29217         * resolv/gai_suspend.c (gai_suspend):
29218         Give local variable CNTR type 'unsigned int'.
29220         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29221         counterp to 'volatile unsigned int *'.
29222         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29223         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29224         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29225         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29226         Give local variable TOTAL type 'volatile unsigned int'.
29227         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29229 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29231         [BZ #18383]
29232         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29233         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29234         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29235         comment for i386/x86-64.
29236         (test-xfail-tst-tlsalign-extern-static): Removed.
29238 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29240         * math/test-double.h: New file.
29241         * math/test-float.h: Likewise.
29242         * math/test-ldouble.h: Likewise.
29243         * math/test-math-inline.h: Likewise.
29244         * math/test-math-no-inline.h: Likewise.
29245         * math/test-math-scalar.h: Likewise.
29246         * math/test-math-vector.h: Likewise.
29247         * math/test-vec-loop.h: Remove file.  Contents moved into
29248         test-math-vector.h.
29249         * math/libm-test.inc (MATHCONST): Do not document macro.
29250         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29251         and test-math-scalar.h.
29252         (FUNC): Remove macro.
29253         (FUNC_TEST): Likewise.
29254         (FLOAT): Likewise.
29255         (MATHCONST): Likewise.
29256         (PRINTF_EXPR): Likewise.
29257         (PRINTF_XEXPR): Likewise.
29258         (PRINTF_NEXPR): Likewise.
29259         (TEST_DOUBLE): Likewise.
29260         (TEST_MATHVEC): Likewise.
29261         (__NO_MATH_INLINES): Likewise.
29262         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29263         and test-math-scalar.h.
29264         (FUNC): Remove macro.
29265         (FUNC_TEST): Likewise.
29266         (FLOAT): Likewise.
29267         (MATHCONST): Likewise.
29268         (PRINTF_EXPR): Likewise.
29269         (PRINTF_XEXPR): Likewise.
29270         (PRINTF_NEXPR): Likewise.
29271         (TEST_FLOAT): Likewise.
29272         (TEST_MATHVEC): Likewise.
29273         (__NO_MATH_INLINES): Likewise.
29274         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29275         and test-math-scalar.h.
29276         (FUNC): Remove macro.
29277         (FUNC_TEST): Likewise.
29278         (FLOAT): Likewise.
29279         (MATHCONST): Likewise.
29280         (PRINTF_EXPR): Likewise.
29281         (PRINTF_XEXPR): Likewise.
29282         (PRINTF_NEXPR): Likewise.
29283         (TEST_DOUBLE): Likewise.
29284         (TEST_MATHVEC): Likewise.
29285         (TEST_INLINE): Likewise.
29286         (__NO_MATH_INLINES): Likewise.
29287         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29288         test-math-scalar.h.
29289         (FUNC): Remove macro.
29290         (FUNC_TEST): Likewise.
29291         (FLOAT): Likewise.
29292         (MATHCONST): Likewise.
29293         (PRINTF_EXPR): Likewise.
29294         (PRINTF_XEXPR): Likewise.
29295         (PRINTF_NEXPR): Likewise.
29296         (TEST_FLOAT): Likewise.
29297         (TEST_MATHVEC): Likewise.
29298         (TEST_INLINE): Likewise.
29299         (__NO_MATH_INLINES): Likewise.
29300         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29301         and test-math-scalar.h.
29302         (FUNC): Remove macro.
29303         (FUNC_TEST): Likewise.
29304         (FLOAT): Likewise.
29305         (MATHCONST): Likewise.
29306         (PRINTF_EXPR): Likewise.
29307         (PRINTF_XEXPR): Likewise.
29308         (PRINTF_NEXPR): Likewise.
29309         (TEST_LDOUBLE): Likewise.
29310         (TEST_MATHVEC): Likewise.
29311         (TEST_INLINE): Likewise.
29312         (__NO_MATH_INLINES): Likewise.
29313         * math/test-ldouble.c: Include test-ldouble.h,
29314         test-math-no-inline.h and test-math-scalar.h.
29315         (FUNC): Remove macro.
29316         (FUNC_TEST): Likewise.
29317         (FLOAT): Likewise.
29318         (MATHCONST): Likewise.
29319         (PRINTF_EXPR): Likewise.
29320         (PRINTF_XEXPR): Likewise.
29321         (PRINTF_NEXPR): Likewise.
29322         (TEST_LDOUBLE): Likewise.
29323         (TEST_MATHVEC): Likewise.
29324         (__NO_MATH_INLINES): Likewise.
29325         * math/test-double-vlen2.h: Include test-double.h,
29326         test-math-no-inline.h and test-math-vector.h.
29327         (FLOAT): Remove macro.
29328         (FUNC): Likewise.
29329         (MATHCONST): Likewise.
29330         (PRINTF_EXPR): Likewise.
29331         (PRINTF_XEXPR): Likewise.
29332         (PRINTF_NEXPR): Likewise.
29333         (TEST_DOUBLE): Likewise.
29334         (TEST_MATHVEC): Likewise.
29335         (__NO_MATH_INLINES): Likewise.
29336         (CNCT): Likewise.
29337         (CONCAT): Likewise.
29338         (WRAPPER_NAME): Likewise.
29339         (WRAPPER_DECL): Likewise.
29340         (WRAPPER_DECL_ff): Likewise.
29341         (WRAPPER_DECL_fFF): Likewise.
29342         (VECTOR_WRAPPER): Likewise.
29343         (VECTOR_WRAPPER_ff): Likewise.
29344         (VECTOR_WRAPPER_fFF): Likewise.
29345         (VEC_LEN): New macro.
29346         * math/test-double-vlen4.h: Include test-double.h,
29347         test-math-no-inline.h and test-math-vector.h.
29348         (FLOAT): Remove macro.
29349         (FUNC): Likewise.
29350         (MATHCONST): Likewise.
29351         (PRINTF_EXPR): Likewise.
29352         (PRINTF_XEXPR): Likewise.
29353         (PRINTF_NEXPR): Likewise.
29354         (TEST_DOUBLE): Likewise.
29355         (TEST_MATHVEC): Likewise.
29356         (__NO_MATH_INLINES): Likewise.
29357         (CNCT): Likewise.
29358         (CONCAT): Likewise.
29359         (WRAPPER_NAME): Likewise.
29360         (WRAPPER_DECL): Likewise.
29361         (WRAPPER_DECL_ff): Likewise.
29362         (WRAPPER_DECL_fFF): Likewise.
29363         (VECTOR_WRAPPER): Likewise.
29364         (VECTOR_WRAPPER_ff): Likewise.
29365         (VECTOR_WRAPPER_fFF): Likewise.
29366         (VEC_LEN): New macro.
29367         * math/test-double-vlen8.h: Include test-double.h,
29368         test-math-no-inline.h and test-math-vector.h.
29369         (FLOAT): Remove macro.
29370         (FUNC): Likewise.
29371         (MATHCONST): Likewise.
29372         (PRINTF_EXPR): Likewise.
29373         (PRINTF_XEXPR): Likewise.
29374         (PRINTF_NEXPR): Likewise.
29375         (TEST_DOUBLE): Likewise.
29376         (TEST_MATHVEC): Likewise.
29377         (__NO_MATH_INLINES): Likewise.
29378         (CNCT): Likewise.
29379         (CONCAT): Likewise.
29380         (WRAPPER_NAME): Likewise.
29381         (WRAPPER_DECL): Likewise.
29382         (WRAPPER_DECL_ff): Likewise.
29383         (WRAPPER_DECL_fFF): Likewise.
29384         (VECTOR_WRAPPER): Likewise.
29385         (VECTOR_WRAPPER_ff): Likewise.
29386         (VECTOR_WRAPPER_fFF): Likewise.
29387         (VEC_LEN): New macro.
29388         * math/test-float-vlen4.h: Include test-float.h,
29389         test-math-no-inline.h and test-math-vector.h.
29390         (FLOAT): Remove macro.
29391         (FUNC): Likewise.
29392         (MATHCONST): Likewise.
29393         (PRINTF_EXPR): Likewise.
29394         (PRINTF_XEXPR): Likewise.
29395         (PRINTF_NEXPR): Likewise.
29396         (TEST_FLOAT): Likewise.
29397         (TEST_MATHVEC): Likewise.
29398         (__NO_MATH_INLINES): Likewise.
29399         (CNCT): Likewise.
29400         (CONCAT): Likewise.
29401         (WRAPPER_NAME): Likewise.
29402         (WRAPPER_DECL): Likewise.
29403         (WRAPPER_DECL_ff): Likewise.
29404         (WRAPPER_DECL_fFF): Likewise.
29405         (VECTOR_WRAPPER): Likewise.
29406         (VECTOR_WRAPPER_ff): Likewise.
29407         (VECTOR_WRAPPER_fFF): Likewise.
29408         (VEC_LEN): New macro.
29409         * math/test-float-vlen8.h: Include test-float.h,
29410         test-math-no-inline.h and test-math-vector.h.
29411         (FLOAT): Remove macro.
29412         (FUNC): Likewise.
29413         (MATHCONST): Likewise.
29414         (PRINTF_EXPR): Likewise.
29415         (PRINTF_XEXPR): Likewise.
29416         (PRINTF_NEXPR): Likewise.
29417         (TEST_FLOAT): Likewise.
29418         (TEST_MATHVEC): Likewise.
29419         (__NO_MATH_INLINES): Likewise.
29420         (CNCT): Likewise.
29421         (CONCAT): Likewise.
29422         (WRAPPER_NAME): Likewise.
29423         (WRAPPER_DECL): Likewise.
29424         (WRAPPER_DECL_ff): Likewise.
29425         (WRAPPER_DECL_fFF): Likewise.
29426         (VECTOR_WRAPPER): Likewise.
29427         (VECTOR_WRAPPER_ff): Likewise.
29428         (VECTOR_WRAPPER_fFF): Likewise.
29429         (VEC_LEN): New macro.
29430         * math/test-float-vlen16.h: Include test-float.h,
29431         test-math-no-inline.h and test-math-vector.h.
29432         (FLOAT): Remove macro.
29433         (FUNC): Likewise.
29434         (MATHCONST): Likewise.
29435         (PRINTF_EXPR): Likewise.
29436         (PRINTF_XEXPR): Likewise.
29437         (PRINTF_NEXPR): Likewise.
29438         (TEST_FLOAT): Likewise.
29439         (TEST_MATHVEC): Likewise.
29440         (__NO_MATH_INLINES): Likewise.
29441         (CNCT): Likewise.
29442         (CONCAT): Likewise.
29443         (WRAPPER_NAME): Likewise.
29444         (WRAPPER_DECL): Likewise.
29445         (WRAPPER_DECL_ff): Likewise.
29446         (WRAPPER_DECL_fFF): Likewise.
29447         (VECTOR_WRAPPER): Likewise.
29448         (VECTOR_WRAPPER_ff): Likewise.
29449         (VECTOR_WRAPPER_fFF): Likewise.
29450         (VEC_LEN): New macro.
29451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29452         test-vec-loop.h.
29453         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29456         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29457         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29459         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29461 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29463         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29464         (__getlogin_r): ... this.
29466 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29468         [BZ #18594]
29469         * math/s_ccosh.c (__ccosh): Compare with least normal value
29470         instead of comparing class with FP_SUBNORMAL.
29471         * math/s_ccoshf.c (__ccoshf): Likewise.
29472         * math/s_ccoshl.c (__ccoshl): Likewise.
29473         * math/s_cexp.c (__cexp): Likewise.
29474         * math/s_cexpf.c (__cexpf): Likewise.
29475         * math/s_cexpl.c (__cexpl): Likewise.
29476         * math/s_csin.c (__csin): Likewise.
29477         * math/s_csinf.c (__csinf): Likewise.
29478         * math/s_csinh.c (__csinh): Likewise.
29479         * math/s_csinhf.c (__csinhf): Likewise.
29480         * math/s_csinhl.c (__csinhl): Likewise.
29481         * math/s_csinl.c (__csinl): Likewise.
29482         * math/s_ctan.c (__ctan): Likewise.
29483         * math/s_ctanf.c (__ctanf): Likewise.
29484         * math/s_ctanh.c (__ctanh): Likewise.
29485         * math/s_ctanhf.c (__ctanhf): Likewise.
29486         * math/s_ctanhl.c (__ctanhl): Likewise.
29487         * math/s_ctanl.c (__ctanl): Likewise.
29488         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29489         csin, csinh, ctan and ctanh.
29490         * math/auto-libm-test-out: Regenerated.
29491         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29492         * sysdeps/i386/fpu/libm-test-ulps: Update.
29493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29495 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29497         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29498         return value is wrong, print the expected value too.
29500 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29502         [BZ #18585]
29503         * elf/readlib.c (is_gdb_python_file): New.
29504         (process_file): Don't issue errors on filenames with -gdb.py
29505         suffix.
29507 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29509         * math/auto-libm-test-in: Add more tests of csin and csinh.
29510         * math/auto-libm-test-out: Regenerated.
29511         * math/libm-test.inc (csin_test_data): Remove tests moved to
29512         auto-libm-test-in.
29513         (csinh_test_data): Likewise.
29515         [BZ #18593]
29516         * math/s_csin.c (__csin): Negate before rather than after possibly
29517         overflowing multiplication.
29518         * math/s_csinf.c (__csinf): Likewise.
29519         * math/s_csinh.c (__csinh): Likewise.
29520         * math/s_csinhf.c (__csinhf): Likewise.
29521         * math/s_csinhl.c (__csinhl): Likewise.
29522         * math/s_csinl.c (__csinl): Likewise.
29523         * math/auto-libm-test-in: Add some tests of csin and csinh.
29524         * math/auto-libm-test-out: Regenerated.
29525         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29526         (csinh_test_data): Likewise.
29527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29529         [BZ #18586]
29530         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29531         underflow exception for small results.
29533 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29535         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29537         variable and included header.
29538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29540         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29543         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29544         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29546         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29547         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29548         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29549         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29550         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29551         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29552         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29553         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29555 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29557         [BZ #16526]
29558         [BZ #16538]
29559         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29560         (__sin): Force underflow exception for arguments with small
29561         absolute value.
29562         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29563         (__kernel_sinf): Force underflow exception for arguments with
29564         small absolute value.
29565         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29566         (__kernel_sincosl): Force underflow exception for arguments with
29567         small absolute value.
29568         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29569         (__kernel_sinl): Force underflow exception for arguments with
29570         small absolute value.
29571         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29572         (__kernel_sincosl): Force underflow exception for arguments with
29573         small absolute value.
29574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29575         (__kernel_sinl): Force underflow exception for arguments with
29576         small absolute value.
29577         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29578         (__kernel_sinl): Force underflow exception for arguments with
29579         small absolute value.
29580         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29581         (__kernel_sinf): Force underflow exception for arguments with
29582         small absolute value.
29583         * math/auto-libm-test-in: Add more tests of sin and sincos.
29584         * math/auto-libm-test-out: Regenerated.
29586         [BZ #18245]
29587         [BZ #18583]
29588         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29589         (__kernel_standard_l): Use feholdexcept and fesetenv around
29590         conversion to double instead of special-casing overflow and
29591         underflow.
29592         * math/libm-test.inc (fmod_test_data): Add more tests.
29593         (remainder_test_data): Likewise.
29594         (sqrt_test_data): Likewise.
29596 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29598         [BZ #17403]
29599         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29600         atomic_read_barrier, atomic_write_barrier): Define.
29601         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29602         atomic_read_barrier, atomic_write_barrier): Define.
29604 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29606         * math/Makefile [$(PERL) != no]
29607         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29608         dependency on libm-test.stmp below the inclusion of Rules.
29610 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29614         and included header.
29615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29617         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29618         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29620         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29621         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29622         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29623         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29624         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29625         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29626         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29627         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29628         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29629         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29630         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29631         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29632         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29633         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29635 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29637         [BZ #18371]
29638         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29639         intermediate but not final result might underflow.
29640         * math/s_csqrtf.c (__csqrtf): Likewise.
29641         * math/s_csqrtl.c (__csqrtl): Likewise.
29642         * math/auto-libm-test-in: Add more tests of csqrt.
29643         * math/auto-libm-test-out: Regenerated.
29644         * sysdeps/i386/fpu/libm-test-ulps: Update.
29646         [BZ #18219]
29647         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29648         threshold on absolute value of exponent for which scaling is used.
29649         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29650         * math/auto-libm-test-in: Add more tests of exp2.
29651         * math/auto-libm-test-out: Regenerated.
29653 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29655         [BZ #17977]
29656         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29657         when initializing interface list, based on the bug analysis
29658         and the patch proposed by Eric Newton.
29659         * resolv/tst-res_hconf_reorder.c: New test.
29660         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29661         tst-res_hconf_reorder.
29662         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29663         and $(shared-thread-library).
29664         (tst-res_hconf_reorder-ENV): New variable.
29666         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29667         in comment.
29669 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29671         [BZ #16353]
29672         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29673         (__expm1): Force underflow exception for arguments with small
29674         absolute value.
29675         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29676         (__expm1f): Force underflow exception for arguments with small
29677         absolute value.
29678         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29679         (__expm1): Force underflow exception for arguments with small
29680         absolute value.
29681         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29682         (__expm1f): Force underflow exception for arguments with small
29683         absolute value.
29684         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29685         Check for small arguments before calling __expm1.
29686         * math/auto-libm-test-in: Do not mark underflow exceptions as
29687         possibly missing for bug 16353.
29688         * math/auto-libm-test-out: Regenerated.
29690 2015-06-22  Andreas Schwab  <schwab@suse.de>
29692         [BZ #18513]
29693         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29694         PTR queries.
29696 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29698         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29700         * string/strcoll_l.c: Remove unused struct element idxnow.
29702 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29704         [BZ #18569]
29705         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29706         underflow and return argument in case of subnormal argument.
29707         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29708         Likewise.
29709         * math/auto-libm-test-in: Add more tests of expm1.
29710         * math/auto-libm-test-out: Regenerated.
29712         [BZ #16361]
29713         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29714         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29715         tiny results.
29716         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29717         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29718         tiny results.
29719         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29720         mark underflow exceptions as possibly missing for bug 16361.
29721         * math/auto-libm-test-out: Regenerated.
29723 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29725         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29726         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29727         Remove variable.
29728         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29729         (test-xfail-XOPEN2K8/utmpx.h/conform).
29731         * conform/conformtest.pl ($xerrors): New variable.
29732         (note_error): New function.
29733         (compiletest): New argument $xfail.  Use not_error.
29734         (runtest): Likewise.
29735         (top level): Handle xfail- lines.  Update calls to compiletest and
29736         runtest.  Handle xfail- and optional- in headers listed with
29737         allow-header.
29738         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29739         (O_EXEC): Likewise.
29740         (O_SEARCH): Likewise.
29741         * conform/data/stropts.h-data (ioctl): Likewise.
29742         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29743         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29744         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29745         (msghdr.msg_controllen): Likewise.
29746         (cmsghdr.cmsg_len): Likewise.
29747         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29748         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29749         variable.
29750         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29751         (test-xfail-XPG4/stropts.h/conform): Likewise.
29752         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29753         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29754         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29755         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29756         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29757         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29758         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29759         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29760         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29761         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29762         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29763         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29764         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29765         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29766         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29767         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29768         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29769         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29770         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29772 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29774         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29775         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29776         definitions for proper unfolding of __MATHDECL_VEC.
29778 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29780         * benchtests/bench-strcoll.c:
29781         Include string.h.
29782         (main): Remove unused variable res.
29784 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29786         * timezone/Makefile (%/UTC %/Universal):
29787         Generate test-result files for UTC and Universal.
29789 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29791         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29793 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29795         [BZ #16350]
29796         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29797         for arguments with small absolute value.
29798         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29799         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29800         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29801         (__asinh): Force underflow exception for arguments with small
29802         absolute value.
29803         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29804         (__asinhf): Force underflow exception for arguments with small
29805         absolute value.
29806         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29807         (__asinhl): Force underflow exception for arguments with small
29808         absolute value.
29809         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29810         (__asinhl): Force underflow exception for arguments with small
29811         absolute value.
29812         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29813         (__asinhl): Force underflow exception for arguments with small
29814         absolute value.
29815         * math/auto-libm-test-in: Do not mark underflow exceptions as
29816         possibly missing for bug 16350.
29817         * math/auto-libm-test-out: Regenerated.
29819         * include/bits/ipc.h: Remove file.
29820         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29821         variable.
29822         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29823         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29824         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29825         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29826         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29827         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29828         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29829         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29830         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29832         * math/auto-libm-test-in: Remove spurious underflow allowance for
29833         tests of cexp.
29834         * math/auto-libm-test-out: Regenerated.
29836         [BZ #18558]
29837         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29838         unconditional definition.
29839         (MCAST_BLOCK_SOURCE): Likewise.
29840         (MCAST_UNBLOCK_SOURCE): Likewise.
29841         (MCAST_LEAVE_GROUP): Likewise.
29842         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29843         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29844         (MCAST_MSFILTER): Likewise.
29845         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29846         Remove variable.
29847         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29848         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29849         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29850         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29851         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29853 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29855         * NEWS: Mention addition of x86_64 vector sincosf.
29856         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29857         * math/test-float-vlen4.h: Likewise.
29858         * math/test-float-vlen8.h: Likewise.
29859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29860         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29861         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29862         * sysdeps/x86_64/fpu/Versions: New versions added.
29863         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29864         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29865         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29866         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29871         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29872         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29873         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29874         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29875         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29876         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29877         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29878         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29879         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29880         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29881         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29882         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29883         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29884         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29885         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29886         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29888         * NEWS: Mention addition of x86_64 vector sincos.
29889         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29890         * math/math.h (__MATHDECL_VEC): New macro.
29891         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29892         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29893         declaration under condition.
29894         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29895         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29896         TEST_VEC_LOOP change.
29897         * math/test-double-vlen4.h: Likewise.
29898         * math/test-double-vlen8.h: Likewise.
29899         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29900         * math/test-float-vlen4.h: Likewise.
29901         * math/test-float-vlen8.h: Likewise.
29902         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29903         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29904         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29905         * sysdeps/x86_64/fpu/Versions: New versions added.
29906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29907         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29908         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29909         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29910         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29911         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29915         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29916         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29917         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29918         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29919         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29920         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29921         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29922         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29923         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29924         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29926         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29927         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29928         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29929         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29932         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29933         redirections for powf.
29934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29935         * sysdeps/x86_64/fpu/Versions: New versions added.
29936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29937         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29938         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29939         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29940         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29943         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29945         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29946         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29947         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29948         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29949         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29950         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29951         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29952         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29953         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29954         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29955         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29956         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29958         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29959         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29960         * math/test-float-vlen16.h: Fixed 2 argument macro.
29961         * math/test-float-vlen4.h: Likewise.
29962         * math/test-float-vlen8.h: Likewise.
29963         * NEWS: Mention addition of x86_64 vector powf.
29965 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29967         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29968         and redefine.
29969         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29970         and redefine.
29971         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29972         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29975         [BZ #18553]
29976         * resource/getpriority.c (getpriority): Rename to __getpriority
29977         and define as weak alias of __getpriority.
29978         * resource/setpriority.c (setpriority): Rename to __setpriority
29979         and define as weak alias of __setpriority.
29980         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29981         __getpriority and define as weak alias of __getpriority.
29982         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29983         __setpriority and define as weak alias of __setpriority.
29984         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29985         strong name.
29986         (setpriority): Use __setpriority as strong name.
29987         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29988         __getpriority and define as weak alias of __getpriority.
29989         * include/sys/resource.h (__getpriority): Declare.  Use
29990         libc_hidden_proto.
29991         (__setpriority): Likewise.
29992         (getpriority): Don't use libc_hidden_proto.
29993         (setpriority): Likewise.
29994         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29995         getpriority.  Call __setpriority instead of setpriority.
29996         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29997         Remove variable.
29999         [BZ #18547]
30000         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30001         as weak alias of __getttynam.  Use prototype function definition.
30002         Call __setttyent, __getttyent and __endttyent instead of
30003         setttyent, getttyent and endttyent.
30004         (getttyent): Rename to __getttyent and define as weak alias of
30005         __getttyent.  Call __setttyent instead of setttyent.  Call
30006         __fgets_unlocked instead of fgets_unlocked.
30007         (setttyent): Rename to __setttyent and define as weak alias of
30008         __setttyent.
30009         (endttyent): Rename to __endttyent and define as weak alias of
30010         __endttyent.
30011         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30012         (__setttyent): Likewise.
30013         (__endttyent): Likewise.
30014         (getttyent): Don't use libc_hidden_proto.
30015         (setttyent): Likewise.
30016         (endttyent): Likewise.
30017         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30018         __endttyent instead of setttyent, getttyent and endttyent.
30019         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30020         Remove variable.
30022         [BZ #18546]
30023         * socket/recv.c (__recv): Use libc_hidden_def.
30024         * socket/socket.c (__socket): Likewise.
30025         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30026         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30027         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30028         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30029         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30030         libc_hidden_def.
30031         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30032         libc_hidden_weak.
30033         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30034         Use libc_hidden_proto.
30035         (__recv): Likewise.
30036         * socket/Versions (libc): Export __recv and __socket at version
30037         GLIBC_PRIVATE.
30038         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30039         instead of recv.
30040         (init_mq_netlink): Call __socket instead of socket.
30041         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30042         Remove variable.
30044         [BZ #18545]
30045         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30046         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30047         hidden_weak.
30048         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30049         define as alias of __mq_timedsend.  Use hidden_weak.
30050         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30051         __mq_timedsend as strong name.
30052         (mq_timedreceive): Use __mq_timedreceive as strong name.
30053         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30054         (__mq_timedreceive): Likewise.
30055         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30056         __mq_timedreceive instead of mq_timedreceive.
30057         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30058         instead of mq_timedsend.
30059         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30060         Remove variable.
30062         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30063         hidden_def and hidden_weak instead of libc_hidden_def and
30064         libc_hidden_weak.
30065         (top level): Refer to hidden_def in comment.
30066         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30067         macro.  Use it instead of libc_hidden_def.
30068         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30069         specify __GI_* name explicitly.
30070         (mq_timedreceive): Likewise.
30071         (mq_setattr): Likewise.
30073         [BZ #18544]
30074         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30075         __pthread_barrier_init and define as weak alias of
30076         __pthread_barrier_init.
30077         * sysdeps/sparc/nptl/pthread_barrier_init.c
30078         (pthread_barrier_init): Likewise.
30079         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30080         __pthread_barrier_wait and define as weak alias of
30081         __pthread_barrier_wait.
30082         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30083         (pthread_barrier_wait): Likewise.
30084         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30085         (pthread_barrier_wait): Likewise.
30086         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30087         (pthread_barrier_wait): Likewise.
30088         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30089         (pthread_barrier_wait): Likewise.
30090         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30091         __pthread_barrier_wait at version GLIBC_PRIVATE.
30092         * include/pthread.h (__pthread_barrier_init): Declare.
30093         (__pthread_barrier_wait): Likewise.
30094         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30095         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30096         (helper_thread): Likewise.
30097         (init_mq_netlink): Call __pthread_barrier_init instead of
30098         pthread_barrier_init.
30100         [BZ #18542]
30101         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30102         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30103         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30104         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30105         vswscanf.
30106         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30107         Remove variable.
30109         [BZ #18540]
30110         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30111         strong alias of _IO_fflush.  Use libc_hidden_def.
30112         * libio/iofflush_u.c (fflush_unlocked): Rename to
30113         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30114         Use libc_hidden_weak.
30115         * include/stdio.h (__fflush_unlocked): Declare.  Use
30116         libc_hidden_proto.
30117         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30118         fflush_unlocked.
30119         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30120         Remove variable.
30122         [BZ #18539]
30123         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30124         define as weak alias of __addseverity.
30125         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30126         Remove variable.
30127         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30128         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30129         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30131         [BZ #18536]
30132         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30133         (__tfind): Likewise.
30134         (__tdelete): Likewise.
30135         (__twalk): Likewise.
30136         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30137         __twalk to GLIBC_PRIVATE.
30138         * include/search.h (__tsearch): Use libc_hidden_proto.
30139         (__tfind): Likewise.
30140         (__tdelete): Likewise.
30141         (__twalk): Likewise.
30142         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30143         Call __tdelete instead of tdelete.
30144         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30145         tfind.  Call __tsearch instead of tsearch.
30146         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30147         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30148         Remove variable.
30149         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30151         [BZ #18534]
30152         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30153         (dprintf): Define as a weak alias of __dprintf, not a strong
30154         alias.
30155         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30156         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30157         dprintf.
30158         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30159         Remove variable.
30160         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30161         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30163         [BZ #18533]
30164         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30165         not a strong alias.
30166         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30167         Remove variable.
30169         [BZ #18532]
30170         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30171         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30172         (in6addr_loopback): Rename to __in6addr_loopback and define as
30173         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30174         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30175         libc_hidden_proto.
30176         (__in6addr_any): Likewise.
30177         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30178         in6addr_any.
30179         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30180         variable.
30181         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30183 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30185         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30186         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30187         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30188         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30189         redirections for pow.
30190         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30191         * sysdeps/x86_64/fpu/Versions: New versions added.
30192         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30193         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30194         build of SSE, AVX2 and AVX512 IFUNC versions.
30195         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30196         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30199         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30202         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30203         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30204         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30205         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30206         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30207         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30208         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30209         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30211         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30212         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30213         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30214         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30215         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30216         * NEWS: Mention addition of x86_64 vector pow.
30218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30219         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30220         redirections for expf.
30221         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30222         * sysdeps/x86_64/fpu/Versions: New versions added.
30223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30224         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30225         build of SSE, AVX2 and AVX512 IFUNC versions.
30226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30232         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30233         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30234         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30235         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30236         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30237         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30238         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30239         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30240         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30241         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30242         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30244         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30245         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30246         * NEWS: Mention addition of x86_64 vector expf.
30248         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30249         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30250         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30251         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30252         redirections for exp.
30253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30254         * sysdeps/x86_64/fpu/Versions: New versions added.
30255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30256         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30257         build of SSE, AVX2 and AVX512 IFUNC versions.
30258         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30260         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30264         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30265         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30266         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30267         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30268         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30269         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30270         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30271         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30273         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30274         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30275         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30276         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30277         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30278         * NEWS: Mention addition of x86_64 vector exp.
30280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30281         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30282         redirections for logf.
30283         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30284         * sysdeps/x86_64/fpu/Versions: New versions added.
30285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30286         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30287         build of SSE, AVX2 and AVX512 IFUNC versions.
30288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30293         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30294         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30295         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30296         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30297         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30298         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30299         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30300         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30301         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30302         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30303         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30304         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30305         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30306         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30307         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30308         * NEWS: Mention addition of x86_64 vector logf.
30310         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30311         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30312         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30313         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30314         redirections for log.
30315         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30316         * sysdeps/x86_64/fpu/Versions: New versions added.
30317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30318         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30319         build of SSE, AVX2 and AVX512 IFUNC versions.
30320         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30321         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30322         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30323         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30324         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30325         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30326         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30327         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30328         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30329         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30330         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30331         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30332         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30333         test.
30334         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30335         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30336         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30337         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30338         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30339         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30340         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30341         * NEWS: Mention addition of x86_64 vector log.
30343 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30345         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30346         cfi_adjust_cfa_offset argument.
30347         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30348         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30350         [BZ #18034]
30351         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30352         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30353         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30354         ordering using ldar.
30355         (_dl_tlsdesc_dynamic): Likewise.
30356         (_dl_tlsdesc_return_lazy): Likewise.
30357         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30358         relaxed atomics instead of volatile and synchronize with release store.
30359         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30360         volatile.
30361         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30363 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30365         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30366         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30368         * sysdeps/x86_64/fpu/Versions: New versions added.
30369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30371         build of SSE, AVX2 and AVX512 IFUNC versions.
30372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30378         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30379         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30380         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30381         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30382         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30383         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30384         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30385         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30386         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30387         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30388         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30390         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30391         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30392         * NEWS: Mention addition of x86_64 vector sinf.
30394 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30396         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30397         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30398         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30399         Remove variable.
30400         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30401         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30403 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #18530]
30406         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30407         strong alias of _IO_fputs.  Use libc_hidden_def.
30408         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30409         and define as weak alias of __fputs_unlocked.  Use
30410         libc_hidden_weak.
30411         * include/stdio.h (__fputs_unlocked): Declare.  Use
30412         libc_hidden_proto.
30413         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30414         fputs_unlocked.
30416         [BZ #18529]
30417         * resolv/netdb.h [__USE_POSIX]: Change condition to
30418         [__USE_XOPEN2K].
30419         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30420         not expect.
30421         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30422         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30423         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30424         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30425         [XPG4 || UNIX98] (AI_ALL): Likewise.
30426         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30427         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30428         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30429         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30430         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30431         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30432         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30433         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30434         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30435         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30436         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30437         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30438         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30439         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30440         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30441         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30442         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30443         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30444         [XPG4 || UNIX98] (gai_strerror): Likewise.
30445         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30446         [XPG4 || UNIX98] (getnameinfo): Likewise.
30448         [BZ #18528]
30449         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30450         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30451         __USE_XOPEN2K8].
30452         (getgrent): Likewise.
30453         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30454         expect.
30455         [XPG3 || POSIX2008] (endgrent): Likewise.
30456         [XPG3] (setgrent): Likewise.
30457         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30458         variable.
30459         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30461         [BZ #18527]
30462         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30463         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30464         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30465         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30466         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30467         * include/unistd.h (__getlogin_r): Declare.  Use
30468         libc_hidden_proto.
30469         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30470         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30471         variable.
30472         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30473         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30474         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30476 2015-06-12  Martin Sebor  <msebor@redhat.com>
30478         [BZ #18512]
30479         * Makerules (check-install-supported): New target.
30480         (install): Add check-install-supported as a dependency.
30481         * manual/install.texi (Installing the C Library): Document
30482         that overriding prefix and exec_prefix is not supported.
30483         Mention DESTDIR.
30484         * INSTALL: Regenerate from the above.
30486 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30488         [BZ #18519]
30489         * posix/Versions (libc): Export __libc_pread at version
30490         GLIBC_PRIVATE.
30491         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30492         instead of pread.
30493         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30494         variable.
30496         [BZ #18522]
30497         * misc/efgcvt_r.c
30498         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30499         (cvt_symbol): Use weak_alias instead of strong_alias.
30500         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30501         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30502         Remove variable.
30503         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30504         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30506         [BZ #18520]
30507         * inet/herrno.c (h_errno): Rename to __h_errno.
30508         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30509         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30510         to __h_errno instead of h_errno.
30511         * nptl/herrno.c (h_errno): Rename to __h_errno.
30512         (__h_errno_location): Refer to __h_errno not h_errno.
30513         * resolv/Versions (h_errno): Rename to __h_errno.
30514         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30515         Remove variable.
30516         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30518 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30520         * configure.ac: More strict check for AVX512 assembler support.
30521         * configure: Regenerated.
30523         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30524         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30525         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30526         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30528         * sysdeps/x86_64/fpu/Versions: New versions added.
30529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30531         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30538         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30539         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30540         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30541         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30542         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30543         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30544         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30545         test.
30546         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30547         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30549         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30550         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30551         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30552         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30553         * NEWS: Mention addition of x86_64 vector sin.
30555 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30557         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30558         comment.
30560 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30562         [BZ #18479]
30563         * nptl/pt-interp.c: New file.
30564         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30565         Add pt-interp.
30566         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30567         $(common-objpfx)runtime-linker.h.
30569 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30571         * Makeconfig (+interp): Remove unused variable.
30572         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30573         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30574         $(elf-objpfx)runtime-linker.h.
30575         ($(elf-objpfx)runtime-linker.h): Rename to
30576         $(common-objpfx)runtime-linker.h and move ...
30577         * Makerules [$(build-shared) = yes]: ... here.
30578         * elf/interp.c: Include <runtime-linker.h> instead of
30579         <elf/runtime-linker.h>.
30581 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30583         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30584         (__gettimeofday_syscall): Remove vsyscall fallback.
30585         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30586         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30587         Add syscall fallback function.
30588         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30589         if vDSO is not present.
30590         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30591         fallback function.
30592         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30593         present.
30594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30595         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30597 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30599         [BZ #18497]
30600         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30601         of wcscmp.
30602         (wcscmp): Define as weak alias of WCSCMP.
30603         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30604         wcscoll.
30605         (USE_HIDDEN_DEF): Define.
30606         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30607         __wcscoll.  Don't use libc_hidden_weak.
30608         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30609         wcscmp.
30610         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30611         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30612         __GI_wcscmp.
30613         (weak_alias): Undefine and redefine.
30614         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30615         __wcscmp and define as weak alias of __wcscmp.
30616         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30617         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30618         (__wcscoll): Likewise.
30619         (wcscmp): Don't use libc_hidden_proto.
30620         (wcscoll): Likewise.
30621         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30622         wcscoll.
30623         * posix/regexec.c (check_node_accept_bytes): Likewise.
30624         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30625         variable.
30626         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30627         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30629         [BZ #18507]
30630         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30631         __fstatvfs and define as weak alias of __fstatvfs.  Use
30632         libc_hidden_weak.
30633         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30634         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30635         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30636         Define as alias of __fstatvfs, not fstatvfs.
30637         (fstatvfs64): Likewise.
30638         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30639         Define as alias of __statvfs, not statvfs.
30640         (statvfs64): Likewise.
30641         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30642         Remove variable.
30644 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30647         (HAVE_GETCPU_VSYSCALL): Define.
30648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30649         (HAVE_GETCPU_VSYSCALL): Likewise.
30650         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30651         * sysdeps/unix/sysv/linux/sched_getcpu.c
30652         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30653         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30654         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30655         prototype.
30656         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30657         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30658         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30660         Define.
30661         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30662         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30663         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30664         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30666 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30668         * sysdeps/x86_64/fpu/Makefile: New file.
30669         * sysdeps/x86_64/fpu/Versions: New file.
30670         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30671         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30672         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30673         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30674         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30675         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30676         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30677         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30678         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30684         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30685         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30686         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30687         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30688         * sysdeps/x86_64/configure: Regenerated.
30689         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30690         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30691         * manual/install.texi (Configuring and compiling): Document
30692         --disable-mathvec.
30693         * INSTALL: Regenerated.
30694         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30696         * math/Makefile: Added rules for vector tests.
30697         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30698         declaration under condition.
30699         * math/test-double-vlen2.h: New file.
30700         * math/test-double-vlen4.h: New file.
30701         * math/test-double-vlen8.h: New file.
30702         * math/test-vec-loop.h: Added initialization macro.
30703         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30705         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30706         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30707         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30708         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30709         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30710         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30711         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30712         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30713         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30715         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30716         * sysdeps/x86_64/fpu/Versions: New versions added.
30717         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30718         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30720         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30721         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30724         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30727         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30728         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30729         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30730         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30731         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30734         * NEWS: Mention addition of x86_64 vector cosf.
30736         * math/Makefile: Added CFLAGS for new tests.
30737         * math/test-float-vlen16.h: New file.
30738         * math/test-float-vlen4.h: New file.
30739         * math/test-float-vlen8.h: New file.
30740         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30741         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30743         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30744         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30745         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30746         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30747         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30749         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30750         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30752 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30754         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30755         * locale/programs/ld-ctype.c: Likewise.
30757 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30759         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30760         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30761         bit_ZMM16_31_state): New macro.
30762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30763         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30765 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30767         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30769 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30771         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30773 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30775         [BZ #18498]
30776         * libio/memstream.c (open_memstream): Rename to __open_memstream
30777         and define as weak alias of __open_memstream.
30778         * include/stdio.h (__open_memstream): Declare.  Use
30779         libc_hidden_proto.
30780         (open_memstream): Don't use libc_hidden_proto.
30781         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30782         open_memstream.
30783         * posix/getopt.c (_getopt_internal_r): Likewise.
30784         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30785         variable.
30786         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30787         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30788         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30790         [BZ #18496]
30791         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30792         instead of wcrtomb.
30794         [BZ #18483]
30795         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30796         [__USE_XOPEN2K8].  Remove redundant #endif.
30797         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30798         Remove redundant #if.
30799         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30800         Remove variable.
30801         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30802         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30804         [BZ #18495]
30805         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30806         (__iswlower): Likewise.
30807         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30808         (__iswlower): Likewise.
30809         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30810         instead of towlower.
30811         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30812         instead of iswlower.  Call __towupper instead of towupper.
30813         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30814         instead of iswalnum.
30816 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30818         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30819         errors to stderr.
30821 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30823         [BZ #15661]
30824         [BZ #17322]
30825         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30826         Check for overflow properly.  Check for O_APPEND.  Ignore large
30827         file system block sizes.  Add comments about problems.
30828         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30829         * manual/filesys.texi (Storage Allocation): New node.
30831 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30833         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30834         cancellable syscalls.
30835         (SYS_ify): Add guard to no redefine it.
30836         (INLINE_SYSCALL): Likewise.
30837         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30838         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30839         SYSCALL_CANCEL instead.
30840         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30841         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30842         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30843         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30844         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30845         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30846         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30847         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30848         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30849         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30850         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30851         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30852         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30853         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30854         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30855         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30856         Likewise.
30857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30858         (__libc_pread64): Likewise.
30859         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30860         (__libc_preadv): Likewise.
30861         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30862         (__libc_readv64): Likewise.
30863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30864         (__libc_pwrite): Likewise.
30865         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30866         (__libc_pwrite64): Likewise.
30867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30868         (__libc_pwritev): Likewise.
30869         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30870         (__libc_pwritev64): Likewise.
30871         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30872         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30873         (sync_file_range): Likewise.
30874         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30875         Likewise.
30876         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30877         Likewise.
30878         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30879         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30880         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30881         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30882         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30883         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30884         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30885         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30887         Likewise.
30888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30889         (__libc_read64): Likewise.
30890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30891         Likewise.
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30893         Likewise.
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30895         Likewise.
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30897         Likewise.
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30899         (__libc_pread64): Likewise.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30901         Likewise.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30903         (__libc_pwrite64): Likewise.
30904         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30905         (sync_file_range): Likewise.
30906         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30907         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30908         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30909         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30910         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30911         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30912         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30913         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30914         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30915         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30916         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30917         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30918         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30919         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30920         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30921         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30922         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30923         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30924         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30925         Likewise.
30926         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30927         Likewise.
30928         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30929         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30930         Likewise.
30931         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30932         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30933         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30934         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30935         Likewise.
30936         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30937         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30938         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30939         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30940         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30942 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30944         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30945         Include dl-vdso.
30946         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30947         Use VDSO routines for gettimeofday, clock_gettime if
30948         available.
30949         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30950         Declare VDSO symbols.
30951         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30952         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30953         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30954         * sysdeps/unix/sysv/linux/arm/Versions: Add
30955         __vdso_clock_gettime.
30957 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30959         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30960         be an inline implementation regardless of library is built within.
30961         (open_not_cancel_2): Likewise.
30962         (__read_nocancel): Likewise.
30963         (__write_nocancel): Likewise.
30964         (openat_not_cancel): Likewise.
30965         (openat_not_cancel_3): Likewise.
30966         (openat64_not_cancel): Likewise.
30967         (openat64_not_cancel_3): Likewise.
30968         (__close_nocancel): Likewise.
30969         (pause_not_cancel): Likewise.
30970         (nanosleep_not_cancel): Likewise.
30971         (sigsuspend_not_cancel): Likewise.
30973 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30975         [BZ #14958]
30976         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30977         wake-up.
30978         (__pthread_rwlock_rdlock_slow): Likewise.
30979         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30980         Likewise.
30981         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30982         Likewise.
30983         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30984         * nptl/tst-rwlock16.c: New file.
30985         * nptl/Makefile (tests): Add new test.
30987 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30989         [BZ #18324]
30990         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30991         missing wake-up of readers.
30992         * nptl/tst-rwlock15.c: New file.
30993         * nptl/Makefile (tests): Add new test.
30995 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30997         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30998         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30999         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31000         and __nacl_supply_interface_rtld.
31001         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31002         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31003         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31004         Add __nacl_supply_interface_rtld.
31005         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31007 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31009         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31010         isfinite.
31011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31012         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31014 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31016         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31017         __signbit* with standard C99 macros.
31018         * math/e_exp10l.c: Likewise.
31019         * math/e_exp2l.c: Likewise.
31020         * math/e_scalb.c: Likewise.
31021         * math/e_scalbf.c: Likewise.
31022         * math/e_scalbl.c: Likewise.
31023         * math/s_ldexp.c: Likewise.
31024         * math/s_ldexpf.c: Likewise.
31025         * math/s_ldexpl.c: Likewise.
31026         * math/w_atan2.c: Likewise.
31027         * math/w_atan2f.c: Likewise.
31028         * math/w_atan2l.c: Likewise.
31029         * math/w_cosh.c: Likewise.
31030         * math/w_coshf.c: Likewise.
31031         * math/w_coshl.c: Likewise.
31032         * math/w_exp10.c: Likewise.
31033         * math/w_exp10f.c: Likewise.
31034         * math/w_exp10l.c: Likewise.
31035         * math/w_exp2.c: Likewise.
31036         * math/w_exp2f.c: Likewise.
31037         * math/w_exp2l.c: Likewise.
31038         * math/w_fmod.c: Likewise.
31039         * math/w_fmodf.c: Likewise.
31040         * math/w_fmodl.c: Likewise.
31041         * math/w_hypot.c: Likewise.
31042         * math/w_hypotf.c: Likewise.
31043         * math/w_hypotl.c: Likewise.
31044         * math/w_jnl.c: Likewise.
31045         * math/w_lgamma.c: Likewise.
31046         * math/w_lgamma_r.c: Likewise.
31047         * math/w_lgammaf.c: Likewise.
31048         * math/w_lgammaf_r.c: Likewise.
31049         * math/w_lgammal.c: Likewise.
31050         * math/w_lgammal_r.c: Likewise.
31051         * math/w_pow.c: Likewise.
31052         * math/w_powf.c: Likewise.
31053         * math/w_powl.c: Likewise.
31054         * math/w_remainder.c: Likewise.
31055         * math/w_remainderf.c: Likewise.
31056         * math/w_remainderl.c: Likewise.
31057         * math/w_scalb.c: Likewise.
31058         * math/w_scalbf.c: Likewise.
31059         * math/w_scalbl.c: Likewise.
31060         * math/w_scalbln.c: Likewise.
31061         * math/w_scalblnf.c: Likewise.
31062         * math/w_scalblnl.c: Likewise.
31063         * math/w_sinh.c: Likewise.
31064         * math/w_sinhf.c: Likewise.
31065         * math/w_sinhl.c: Likewise.
31066         * math/w_tgamma.c: Likewise.
31067         * math/w_tgammaf.c: Likewise.
31068         * math/w_tgammal.c: Likewise.
31069         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31070         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31071         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31073         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31075         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31076         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31077         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31078         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31079         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31080         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31081         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31082         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31083         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31084         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31085         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31086         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31087         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31090         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31093         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31094         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31095         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31096         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31098         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31099         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31100         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31101         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31102         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31103         * stdio-common/printf_fp.c: Likewise.
31104         * stdio-common/printf_fphex.c: Likewise.
31105         * stdio-common/printf_size.c: Likewise.
31107 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31109         [BZ #18470]
31110         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31111         strnlen.
31112         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31113         Remove variable.
31114         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31115         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31116         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31117         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31118         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31119         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31120         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31121         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31122         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31123         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31125         [BZ #18468]
31126         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31127         weak alias of __wmemchr.  Use libc_hidden_weak.
31128         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31129         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31130         instead of wmemchr.
31132 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31134         [BZ #18383]
31135         * elf/tst-tlsalign-extern.c: New file.
31136         * elf/tst-tlsalign-extern-static.c: New file.
31137         * elf/tst-tlsalign-vars.c: New file.
31138         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31139         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31140         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31141         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31142         (test-xfail-tst-tlsalign-extern-static): New variable.
31144 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31146         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31147         Use variable name _sc_err instead of err.
31148         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31149         instead of ret.
31150         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31151         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31152         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31153         (INLINE_SYSCALL): Likewise.
31155         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31156         * include/string.h (__strnlen): Use libc_hidden_proto.
31157         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31158         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31159         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31160         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31161         (libc_hidden_def): Undefine and redefine.
31162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31163         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31164         __GI_strnlen.
31165         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31166         libc_hidden_def.
31167         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31169         [BZ #18469]
31170         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31171         weak alias of __towlower.  Use libc_hidden_weak.
31172         (towupper): Rename to __towupper and define as weak alias of
31173         __towupper.  Use libc_hidden_weak.
31174         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31175         (__towupper): Likewise.
31176         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31177         __towlower instead of towlower.
31179 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31181         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31182         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31184 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31186         * sysdeps/aarch64/libm-test-ulps: Update.
31188 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31190         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31191         Define.
31192         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31194         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31195         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31196         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31197         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31198         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31200 2015-06-01  Martin Sebor  <msebor@redhat.com>
31202         [BZ #18116]
31203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31204         (__setcontext): Use extended four-operand version of mtsf whenever
31205         possible.
31206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31207         (__novec_swapcontext): Likewise.
31209 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31211         * benchtests/scripts/compare_bench.py: New file.
31212         * benchtests/scripts/import_bench.py (mean): New function.
31213         (split_list): Likewise.
31214         (do_for_all_timings): Likewise.
31215         (compress_timings): Likewise.
31217         * benchtests/scripts/import_bench.py: New file.
31218         * benchtests/scripts/validate_benchout.py: Import import_bench
31219         instead of jsonschema.
31220         (validate_bench): Remove function.
31221         (main): Use import_bench.
31223 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31225         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31226         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31228 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31232 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31234         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31235         set THREAD_SELF->tid to a magic value and futex-wake it.
31236         Pass its address to the thread_exit system call.
31237         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31238         bit is clear.
31239         * sysdeps/nacl/lowlevellock.h: New file.
31240         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31242         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31243         Add TIMEOUT to current time, don't subtract it.
31245 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31247         [BZ #2981]
31248         [BZ #18422]
31249         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31250         ($(objpfx)tst-audit2.out): Also depend on
31251         $(objpfx)tst-auditmod9b.so.
31252         * elf/tst-audit2.c: Include <dlfcn.h>.
31253         (calloc_called): New.
31254         (calloc): Allow to be called more than once.
31255         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31257 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31259         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31260         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31262 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31264         * stdlib/monetary.h: Fix comment.
31266 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31268         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31269         Avoid using variables in #defines that might cause shadowing.
31270         (INTERNAL_VSYSCALL_CALL): Likewise.
31272 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31274         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31276         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31277         * nptl/lll_timedlock_wait.c: ... to this new file.
31278         * nptl/Makefile (libpthread-routines): Add it.
31279         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31280         * nptl/lll_timedwait_tid.c: ... to this new file.
31281         * nptl/Makefile (libpthread-routines): Add it.
31282         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31283         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31284         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31285         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31286         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31287         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31288         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31289         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31290         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31291         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31293 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31295         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31296         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31297         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31299         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31301         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31303         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31304         * sysdeps/unix/sysv/linux/tile/sysdep.h
31305         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31306         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31307         using vDSO syscall macro.
31309 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31311         [BZ #17293]
31312         * uk_UA: Fix sorting order for Ukrainian locale
31314 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31316         * stdlib/monetary.h: Fix comment.
31318 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31320         [BZ #18234]
31321         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31322         st_mtim and st_ctim members.
31323         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31324         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31325         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31326         (struct stat64): Likewise.
31327         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31328         (struct stat64): Likewise.
31329         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31330         (struct stat64): Likewise.
31332 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31334         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31335         Define and include sysdep-vdso.h.
31336         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31337         Likewise.
31338         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31339         Likewise.
31340         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31341         Define with VDSO_SYMBOL and use PTR_MANGLE.
31342         (__vdso_clock_gettime): Likewise.
31343         (__vdso_clock_getres): Likewise.
31344         (_libc_vdso_platform_setup): Likewise.
31345         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31346         Likewise.
31347         (_libc_vdso_platform_setup): Likewise.
31348         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31349         Likewise.
31350         (__vdso_clock_gettime): Likewise.
31351         (__vdso_clock_getres): Likewise.
31352         (__vdso_get_tbfreq): Likewise.
31353         (__vdso_getcpu): Likewise.
31354         (__vdso_time): Likewise.
31355         (__vdso_sigtramp_rt64): Likewise.
31356         (__vdso_signtramp32): Likewise.
31357         (__vdso_sigtramp_rt32): Likewise.
31358         (_libc_vdso_platform_setup): Likewise.
31359         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31360         Likewise.
31361         (__vdso_clock_gettime): Likewise.
31362         (__vdso_clock_getres): Likewise.
31363         (_libc_vdso_platform_setup): Likewise.
31364         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31365         Likewise.
31366         (__vdso_clock_gettime): Likewise.
31367         (_libc_vdso_platform_setup): Likewise.
31368         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31369         Likewise.
31370         (__vdso_getcpu): Likewise.
31371         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31372         Use VDSO_SYMBOL macro to define.
31373         (__vdso_clock_gettime): Likewise.
31374         (__vdso_clock_getres): Likewise.
31375         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31376         Likewise.
31377         (__vdso_clock_gettime): Likewise.
31378         (__vdso_clock_getres): Likewise.
31379         (__vdso_get_tbfreq): Likewise.
31380         (__vdso_getcpu): Likewise.
31381         (__vdso_time): Likewise.
31382         (__vdso_sigtramp_rt64): Likewise.
31383         (__vdso_signtramp32): Likewise.
31384         (__vdso_sigtramp_rt32): Likewise.
31385         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31386         Likewise.
31387         (__vdso_clock_gettime): Likewise.
31388         (__vdso_clock_getres): Likewise.
31389         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31390         Likewise.
31391         (__vdso_clock_gettime): Likewise.
31392         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31393         Likewise.
31394         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31395         macro.
31396         (INTERNAL_VSYSCALL): Likewise.
31397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31398         Remove macro.
31399         (INTERNAL_VSYSCALL): Likewise.
31400         (INTERNAL_VSYSCALL_NCS): Likewise.
31401         (INTERNAL_VSYSCALL_CALL): New macro.
31402         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31404         Likewise.
31405         (INTERNAL_VSYSCALL): Likewise.
31406         (INTERNAL_VSYSCALL_NCS): Likewise.
31407         (INTERNAL_VSYSCALL_CALL): New macro.
31408         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31410         (INLINE_VSYSCALL): Remove macro.
31411         (INTERNAL_VSYSCALL): Remove macro.
31412         (INTERNAL_VSYSCALL_NCS): Remove macro.
31413         (INTERNAL_VSYSCALL_CALL): New macro.
31414         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31415         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31416         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31417         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31418         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31420         (INLINE_VSYSCALL): Remove macro.
31421         (INTERNAL_VSYSCALL): Likewise.
31422         (INTERNAL_VSYSCALL_NCS): Likewise.
31423         (INTERNAL_VSYSCALL_CALL): New macro.
31424         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31425         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31426         PTR_DEMANGLE on vDSO pointer.
31427         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31428         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31429         macro.
31430         (INTERNAL_SYSCALL): Likewise.
31431         (INTERNAL_VSYSCALL_NCS): Remove macro.
31432         (INTERNAL_VSYSCALL_CALL): New macro.
31433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31434         Remove macro.
31435         (INTERNAL_VSYSCALL): Likewise.
31436         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31437         sysdep-vdso.h instead of libc-vdso.h.
31438         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31439         definition.
31440         (INLINE_VSYSCALL): Likewise.
31441         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31442         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31443         definition.
31444         (INLINE_VSYSCALL): Likewise.
31445         (INTERNAL_VSYSCALL): Likewise.
31446         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31447         * sysdeps/unix/sysv/linux/timespec_get.c
31448         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31449         (timespec_get): Use ANSI prototype.
31450         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31451         and definition for Linux.
31453 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31455         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31456         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31458 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31460         [BZ #2981]
31461         [BZ #18410]
31462         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31463         for missing DT_PLTRELSZ.
31465 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31467         Remove obsolete aliases that broke 'locale -a'
31468         [BZ #18412]
31469         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31470         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31471         breaking some applications that use 'locale -a' output.
31472         Change the encoding of this file from Latin-1 to ASCII to avoid
31473         other potential problems with people grepping this file.
31475 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31477         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31478         -fasynchronous-unwind-tables.
31479         (CFLAGS-sendto.c): Likewise.
31480         (CFLAGS-sendmsg.c): Likewise.
31481         (CFLAGS-connect.c): Likewise.
31482         (CFLAGS-recvmsg.c): Likewise.
31483         (CFLAGS-recvfrom.c): Likewise.
31484         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31485         (SOCKETCALL): New macro: non-cancellable socketcall.
31486         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31487         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31488         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31489         * sysdeps/unix/sysv/linux/accept.c: New file.
31490         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31491         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31492         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31493         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31494         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31495         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31496         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31497         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31498         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31499         * sysdeps/unix/sysv/linux/send.c: Likewise.
31500         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31501         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31502         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31503         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31504         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31505         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31506         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31507         prototype.
31508         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31509         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31510         instead of __internal_xxx function.
31511         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31512         prototype.
31513         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31514         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31515         instead of __internal_xxx function.
31516         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31517         prototype.
31518         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31519         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31520         instead of __internal_xxx function.
31521         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31522         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31523         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31524         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31525         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31526         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31527         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31528         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31529         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31530         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31531         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31532         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31533         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31534         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31535         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31536         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31537         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31538         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31539         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31540         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31543         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31544         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31545         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31546         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31547         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31548         * sysdeps/unix/sysv/linux/send.S: Likewise.
31549         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31550         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31551         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31552         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31553         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31554         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31555         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31556         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31557         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31558         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31559         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31560         socketcall is implemented in GLIBC.
31562 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31564         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31565         (__fma): Ignore uninitialized warnings around packing.
31566         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31567         (__fmaf): Ignore uninitialized warnings around packing.
31568         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31569         (__fmal): Ignore uninitialized warnings around packing.
31571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31572         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31574         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31576         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31577         switch statement into default case.
31578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31580         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31581         a conditional in forcing "inexact".
31582         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31583         Likewise.
31585 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31587         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31588         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31589         for each INTERNAL_SYSCALL use.
31591 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31593         [BZ #438]
31594         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31595         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31596         variable.
31598         [BZ #18444]
31599         * string/basename.c (basename): Rename to __basename and define as
31600         weak alias of __basename.  Use libc_hidden_weak.
31601         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31602         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31603         __basename instead of basename.
31604         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31605         Remove variable.
31606         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31608 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31610         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31611         (_IO_JUMPS_FILE_plus): New.
31612         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31613         _IO_CAST_FIELD_ACCESS.
31614         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31615         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31616         * libio/freopen.c (freopen): Likewise.
31617         * libio/freopen64.c (freopen64): Likewise.
31618         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31619         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31620         * libio/iofwide.c (_IO_fwide): Likewise.
31621         * libio/memstream.c (open_memstream): Likewise.
31622         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31623         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31624         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31626 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31628         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31629         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31630         NADJ.
31631         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31632         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31633         NADJ.
31634         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31635         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31636         NADJ.
31638         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31639         (p == 4) case.
31641         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31642         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31643         Remove variable.
31644         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31645         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31646         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31648 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31650         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31651         Adjust jump table label generation macros.
31653 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31655         * stdio-common/vfprintf.c (vfprintf): Move local variables
31656         args_malloced, specs, specs_malloced, and the code after
31657         do_positional to the printf_positional function.
31658         (printf_positional): New function.
31660 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31662         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31663         function.
31664         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31665         STEP4_TABLE, process_arg): Move macro definitions
31666         out of the vfprintf function.  (Cosmetic change only.)
31668 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31670         * benchtests/Makefile (stdio-common-bench): Define.
31671         (benchset): Add stdio-common-bench.
31672         * sprintf-inputs: New file.
31673         * sprintf-source.c: New file.
31675 2015-05-21  Andreas Schwab  <schwab@suse.de>
31677         [BZ #13028]
31678         [BZ #17053]
31679         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31680         of struct __res_state.
31681         * resolv/res_send.c (__libc_res_nsend): Likewise.
31682         (get_nsaddr): New function.
31683         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31684         statp directly.
31686 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31688         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31689         -D_POSIX_C_SOURCE=199506L.
31691         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31693         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31694         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31695         Do not mention otherwise.
31696         [POSIX] (_XOPEN_VERSION): Do not expect.
31697         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31698         [POSIX] (_POSIX2_C_BIND): Likewise.
31699         [POSIX] (_POSIX2_VERSION): Likewise.
31700         [POSIX] (_XOPEN_XPG2): Likewise.
31701         [POSIX] (_XOPEN_XPG3): Likewise.
31702         [POSIX] (_XOPEN_XPG4): Likewise.
31703         [POSIX] (_XOPEN_UNIX): Likewise.
31704         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31705         [POSIX] (_POSIX_BARRIERS): Likewise.
31706         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31707         [POSIX] (_POSIX_CPUTIME): Likewise.
31708         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31709         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31710         [POSIX] (_POSIX_SHELL): Likewise.
31711         [POSIX] (_POSIX_SPAWN): Likewise.
31712         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31713         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31714         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31715         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31716         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31717         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31718         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31719         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31720         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31721         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31722         [POSIX] (_POSIX2_PBS): Likewise.
31723         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31724         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31725         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31726         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31727         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31728         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31729         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31730         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31731         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31732         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31733         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31734         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31735         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31736         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31737         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31738         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31739         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31740         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31741         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31742         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31743         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31744         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31745         [POSIX] (_SC_2_C_BIND): Likewise.
31746         [POSIX] (_SC_2_C_VERSION): Likewise.
31747         [POSIX] (_SC_2_PBS): Likewise.
31748         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31749         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31750         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31751         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31752         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31753         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31754         [POSIX] (_SC_BARRIERS): Likewise.
31755         [POSIX] (_SC_BASE): Likewise.
31756         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31757         [POSIX] (_SC_DEVICE_IO): Likewise.
31758         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31759         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31760         [POSIX] (_SC_FD_MGMT): Likewise.
31761         [POSIX] (_SC_FIFO): Likewise.
31762         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31763         [POSIX] (_SC_FILE_LOCKING): Likewise.
31764         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31765         [POSIX] (_SC_IOV_MAX): Likewise.
31766         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31767         [POSIX] (_SC_NETWORKING): Likewise.
31768         [POSIX] (_SC_PAGE_SIZE): Likewise.
31769         [POSIX] (_SC_PASS_MAX): Likewise.
31770         [POSIX] (_SC_PIPE): Likewise.
31771         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31772         [POSIX] (_SC_REGEXP): Likewise.
31773         [POSIX] (_SC_SHELL): Likewise.
31774         [POSIX] (_SC_SIGNALS): Likewise.
31775         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31776         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31777         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31778         [POSIX] (_SC_USER_GROUPS): Likewise.
31779         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31780         [POSIX] (_SC_STREAMS): Likewise.
31781         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31782         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31783         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31784         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31785         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31786         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31787         [POSIX] (_PC_FILESIZEBITS): Likewise.
31788         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31789         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31790         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31791         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31792         [POSIX] (uid_t): Likewise.
31793         [POSIX] (gid_t): Likewise.
31794         [POSIX] (off_t): Likewise.
31795         [POSIX] (pid_t): Likewise.
31796         [POSIX] (cuserid): Allow.
31797         (_SC_2_CHAR_TERM): Require constant.
31798         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31799         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31800         variable.
31802 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31804         * sysdeps/nacl/pthread-pids.h: New file.
31805         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31806         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31808         * nptl/pthread-pids.h: New file.
31809         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31810         * nptl/nptl-init.c: Include <pthread-pids.h>.
31811         (__pthread_initialize_minimal_internal):
31812         Call __pthread_initialize_pids instead of set_tid_address syscall.
31814         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31815         * sysdeps/posix/usleep.c: ... here.
31817 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31819         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31820         call_pselect6 object.
31821         [$(subdir) = io]: Remove call_sync_file_range object.
31822         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31823         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31824         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31825         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31827 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31829         * math/s_cproj.c: Add include "math_private.h".
31830         * math/s_cprojf.c: Likewise.
31831         * math/s_cprojl.c: Likewise.
31833 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31835         [BZ #18244]
31836         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31837         high mantissa bit when testing whether P is a NaN.
31838         * math/libm-test.inc (remainder_test_data): Add more tests.
31839         (remquo_test_data): Likewise.
31841         [BZ #18049]
31842         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31843         below -32, return the argument, with underflow if subnormal.
31844         * math/auto-libm-test-in: Add more tests of atanh.
31845         * math/auto-libm-test-out: Regenerated.
31847 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31849         [BZ #18434]
31850         * nptl/tst-sem15.c: New file.
31851         * nptl/Makefile (tests): Add it.
31852         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31853         s/<</>>/ to fix typo in EOVERFLOW check.
31854         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31856 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31858         * manual/strings.texi (envz_remove): Fix typo in safety
31859         annotations.
31861 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31862             Steve Ellcey  <sellcey@imgtec.com>
31864         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31865         in order to avoid strict alias warnings.
31866         (iruserok_af): Ditto for ra.
31868 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31870         [BZ #17581]
31871         * malloc/hooks.c
31872         (magicbyte): Convert to a function and avoid returning 0x01.
31873         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31874         (mem2chunk_check): Fix unsigned comparisons to zero.
31875         Hoist defs of sz and magic.
31877 2015-05-19  Richard Henderson  <rth@redhat.com>
31879         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31881         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31883 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31885         [BZ #16159]
31886         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31887         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31888         (reused_arena): Find a non-corrupt arena.
31889         (heap_trim): Pass arena to unlink.
31890         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31891         malloc_printerr.
31892         (top_check): Likewise.
31893         (free_check): Likewise.
31894         (realloc_check): Likewise.
31895         * malloc/malloc.c (malloc_printerr): Add arena argument.
31896         (unlink): Likewise.
31897         (munmap_chunk): Adjust.
31898         (ARENA_CORRUPTION_BIT): New macro.
31899         (arena_is_corrupt): Likewise.
31900         (set_arena_corrupt): Likewise.
31901         (sysmalloc): Use mmap if there are no usable arenas.
31902         (_int_malloc): Likewise.
31903         (__libc_malloc): Don't fail if arena_get returns NULL.
31904         (_mid_memalign): Likewise.
31905         (__libc_calloc): Likewise.
31906         (__libc_realloc): Adjust for additional argument to
31907         malloc_printerr.
31908         (_int_free): Likewise.
31909         (malloc_consolidate): Likewise.
31910         (_int_realloc): Likewise.
31911         (_int_memalign): Don't touch corrupt arenas.
31912         * malloc/tst-malloc-backtrace.c: New test case.
31914         * Makefile (summarize-tests): Fix return value on success.
31916         * manual/string.texi (Envz Functions): Add envz_remove.
31918 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31920         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31921         (invalid_name): New function, broken out of ...
31922         (__opendirat): ... here.  Call it.
31923         (need_isdir_precheck): New function, broken out of ...
31924         (__opendirat): ... here.  Call it.
31925         Use __fxstatat64, not __xstatat64.
31926         (opendir_oflags): New function, broken out of ...
31927         (__opendirat): ... here.  Call it.
31928         (opendir_tail): New function, broken out of ...
31929         (__opendirat): ... here.  Call it.
31930         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31931         opendir_tail, rather than punting to __opendirat.
31932         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31934 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31936         * .gitignore: Ignore generated *.pyc.
31938 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31940         * include/stdio.h: Define __need_wint_t.
31941         * test-skeleton.c: Avoid `for' loop initial declaration.
31942         * nptl/tst-initializers1.c: Use test-skeleton.c.
31944 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31946         [BZ #18418]
31947         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31949 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31951         [BZ #16352]
31952         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31953         (__ieee754_atanh): Force underflow exception for results with
31954         small absolute value.
31955         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31956         (__ieee754_atanhf): Force underflow exception for results with
31957         small absolute value.
31958         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31959         (__ieee754_atanh): Force underflow exception for results with
31960         small absolute value.
31961         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31962         (__ieee754_atanhf): Force underflow exception for results with
31963         small absolute value.
31964         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31965         (__ieee754_atanhl): Force underflow exception for results with
31966         small absolute value.
31967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31968         (__ieee754_atanhl): Force underflow exception for results with
31969         small absolute value.
31970         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31971         (__ieee754_atanhl): Force underflow exception for results with
31972         small absolute value.
31973         * math/auto-libm-test-in: Do not allow missing underflow
31974         exceptions from atanh.
31975         * math/auto-libm-test-out: Regenerated.
31977         [BZ #18221]
31978         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31979         2**-28 as threshold for returning x or +/- 1/x.
31980         * math/auto-libm-test-in: Add more tests of tan.
31981         * math/auto-libm-test-out: Regenerated.
31983         [BZ #18220]
31984         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31985         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31986         * math/auto-libm-test-in: Add another test of lgamma.
31987         * math/auto-libm-test-out: Regenerated.
31989 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31991         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31992         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31993         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31994         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31995         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31996         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31997         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31998         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32000         (log1): Use fabs.  (my_log2): Use fabs.
32001         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32002         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32004         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32006         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32007         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32008         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32009         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32010         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32011         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32013 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32015         [BZ #18217]
32016         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32017         as threshold for returning 1 - x.
32018         * math/auto-libm-test-in: Add more tests of erfc.
32019         * math/auto-libm-test-out: Regenerated.
32021 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32023         [BZ #18196]
32024         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32025         threshold for large arguments.
32026         * math/auto-libm-test-in: Add another test of atan.
32027         * math/auto-libm-test-out: Regenerated.
32029         [BZ #16339]
32030         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32031         (__log1p): Force underflow exception for results with small
32032         absolute value.
32033         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32034         (__log1pf): Force underflow exception for results with small
32035         absolute value.
32036         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32037         (__log1p): Force underflow exception for results with small
32038         absolute value.
32039         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32040         (__log1pf): Force underflow exception for results with small
32041         absolute value.
32042         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32043         (__log1pl): Force underflow exception for results with small
32044         absolute value.
32045         * math/auto-libm-test-in: Do not allow missing underflow
32046         exceptions from log1p.
32047         * math/auto-libm-test-out: Regenerated.
32049 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32050             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32052         [BZ #16704]
32053         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32055 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32057         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32058         (libmvec): New variable.
32059         * configure.ac: Added option for mathvec build.
32060         * configure: Regenerated.
32061         * mathvec/Depend: New file.
32062         * mathvec/Makefile: New file.
32063         * shlib-versions: Added libmvec.
32064         * math/Makefile: Added rule for libm.so installation.
32066         * bits/math-vector.h: New file.
32067         * bits/libm-simd-decl-stubs.h: New header.
32068         * math/Makefile (headers): Added new header
32069         libm-simd-decl-stubs.h.
32070         * math/math.h (__MATHCALL_VEC): New macro.
32072         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32073         for conditions in testing functions.
32074         * math/Makefile: Added call of libm-have-vector-test.sh.
32075         * math/libm-test.inc (HAVE_VECTOR): New macros.
32077         * math/libm-test.inc: START refactored.
32078         * math/test-double.c (TEST_MATHVEC): Add define.
32079         * math/test-float.c: Likewise.
32080         * math/test-idouble.c: Likewise.
32081         * math/test-ifloat.c: Likewise.
32082         * math/test-ildoubl.c: Likewise.
32083         * math/test-ldouble.c: Likewise.
32084         * sysdeps/generic/math-tests-arch.h
32085         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32086         architecture check.
32088         * math/test-double.c (FUNC_TEST): New macro.
32089         * math/test-float.c: Likewise.
32090         * math/test-idouble.c: Likewise.
32091         * math/test-ifloat.c: Likewise.
32092         * math/test-ildoubl.c: Likewise.
32093         * math/test-ldouble.c: Likewise.
32094         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32096 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32098         * sysdeps/nacl/fdopendir.c: New file.
32100         * dirent/scandir-tail.c: New file.
32101         * dirent/scandir64-tail.c: New file.
32102         * dirent/Makefile (routines): Add them.
32103         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32104         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32105         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32106         [!SCANDIR] (SCANDIR_TAIL): New macro.
32107         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32108         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32109         (SCANDIRAT): Macro removed.
32110         (SCANDIR_TAIL): New macro.
32111         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32112         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32113         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32114         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32115         (READDIR): Macro removed.
32116         (SCANDIR_TAIL): New macro.
32117         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32118         (SCANDIR_TAIL): New macro.
32120         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32121         * dirent/scandir-cancel.c: ... to this new file.
32122         * dirent/Makefile (routines): Add it.
32123         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32124         * sysdeps/unix/sysv/linux/i386/scandir64.c
32125         (SKIP_SCANDIR_CANCEL): Macro removed.
32126         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32128         * dirent/tst-scandir.c: New file.
32129         * dirent/tst-scandir64.c: New file.
32130         * dirent/Makefile (tests): Add them.
32132 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32134         [BZ #18409]
32135         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32137 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32139         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32140         list.
32142 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32144         * benchtests/bench-strcoll.c: New benchmark.
32145         * benchtests/Makefile: Generate locales and run benchmark.
32146         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32147         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32148         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32149         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32150         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32151         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32152         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32153         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32154         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32155         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32156         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32157         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32158         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32159         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32160         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32161         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32162         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32163         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32164         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32165         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32166         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32167         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32168         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32169         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32171 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32173         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32174         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32176 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32178         * posix/uname-values.h: New file.
32179         * posix/uname.c: Include that instead of <config-name.h>.
32180         * sysdeps/nacl/uname-values.h: New file.
32181         * sysdeps/arm/nacl/uname-values.h: New file.
32183 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32185         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32186         splitting into fields.
32188 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32190         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32191         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32192         * locale/localeinfo.h: Add enum collation_encoding_type.
32193         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32194         * programs/ld-collate.c (collate_output): Add encoding type info.
32195         * string/strcoll_l.c (STRDIFF): New function.
32196         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32197         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32199 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32201         [BZ #18397]
32202         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32203         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32204         <fpu_control.h> instead of <math/fpu_control.c>.
32205         * sysdeps/mips/mips32/fpu/Makefile: New file.
32207 2015-05-11  Andreas Schwab  <schwab@suse.de>
32209         [BZ #18007]
32210         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32211         nss_endgrent.
32212         (_nss_compat_endgrent): Call nss_endgrent.
32213         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32214         nss_endpwent.
32215         (_nss_compat_endpwent): Call nss_endpwent.
32216         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32217         needent, call nss_setspent only if non-zero.
32218         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32219         (internal_endspent): Don't call nss_endspent.
32220         (_nss_compat_endspent): Call nss_endspent.
32221         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32222         Remove.  All uses removed.
32223         (internal_setent): Remove parameter stayopen, add parameter
32224         stream.  Use it instead of global variable.
32225         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32226         (internal_endent, internal_getent): Add parameter stream.  Use it
32227         instead of global variable.
32228         (CONCAT(_nss_files_end,ENTNAME))
32229         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32230         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32231         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32232         uses removed.
32233         (internal_setent, internal_endent): Add parameter stream.  Use it
32234         instead of global variable.
32235         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32236         stream.
32237         (get_next_alias): Add parameter stream.
32238         (_nss_files_getaliasent_r): Pass global stream.
32239         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32240         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32241         (_nss_files_gethostbyname4_r): Pass local stream to
32242         internal_setent, internal_getent and internal_endent.  Remove
32243         locking.
32245 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32247         * tst-strfmon1.c (tests): Update expected currency symbol.
32249 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32251         * sysdeps/nacl/gethostname.c: New file.
32253 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32255         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32256         and sinh.
32257         * math/auto-libm-test-out: Regenerated.
32258         * sysdeps/i386/fpu/libm-test-ulps: Update.
32259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32261 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32263         [BZ #18125]
32264         * stdlib/tst-setcontext3.c: New file.
32265         * stdlib/tst-setcontext3.sh: New file.
32266         * stdlib/Makefile (tests): Add tst-setcontext3.
32267         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32268         to verify test program created output file.
32269         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32270         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32271         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32272         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32274 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32276         [BZ #18383]
32277         * elf/tst-tlsalign.c: New file.
32278         * elf/tst-tlsalign-static.c: New file.
32279         * elf/tst-tlsalign-lib.c: New file.
32280         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32281         (tests-static): Add tst-tlsalign-static.
32282         (modules-names): Add tst-tlsalign-lib.
32283         (test-xfail-tst-tlsalign): New variable.
32284         (test-xfail-tst-tlsalign-static): New variable.
32286         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32287         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32289 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32291         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32292         csqrt, erfc, sin and sincos.
32293         * math/auto-libm-test-out: Regenerated.
32294         * sysdeps/i386/fpu/libm-test-ulps: Update.
32295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32297 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32299         * sysdeps/aarch64/libm-test-ulps: Update.
32301 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32303         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32304         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32305         * math/auto-libm-test-out: Regenerated.
32306         * sysdeps/i386/fpu/libm-test-ulps: Update.
32307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32309 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32311         [BZ #18265]
32312         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32313         (wcsncpy): Likewise.
32315 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32317         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32318         Assume __ASSUME_FALLOCATE is always true.
32319         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32320         (__posix_fallocate64_l64): Likewise.
32321         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32322         (posix_fallocate): Likewise.
32323         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32324         (__posix_fallocate64_l64): Likewise.
32325         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32326         [!__ASSUME_FALLOCATE]: Add comment.
32328 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32330         * sysdeps/unix/sysv/linux/i386/Makefile
32331         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32332         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32333         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32334         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32335         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32336         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32337         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32339 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32341         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32342         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32343         tgamma.
32344         * math/auto-libm-test-out: Regenerated.
32345         * sysdeps/i386/fpu/libm-test-ulps: Update.
32346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32348 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32350         * math/auto-libm-test-in: Add more tests of tgamma.
32351         * math/auto-libm-test-out: Regenerated.
32352         * sysdeps/i386/fpu/libm-test-ulps: Update.
32353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32355         * math/auto-libm-test-in: Add more tests of tanh.
32356         * math/auto-libm-test-out: Regenerated.
32357         * sysdeps/i386/fpu/libm-test-ulps: Update.
32358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32360         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32366         * math/auto-libm-test-out: Regenerated.
32367         * sysdeps/i386/fpu/libm-test-ulps: Update.
32368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32370         * math/auto-libm-test-in: Add another test of pow.
32371         * math/auto-libm-test-out: Regenerated.
32372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32374         * math/auto-libm-test-in: Add more tests of lgamma.
32375         * math/auto-libm-test-out: Regenerated.
32376         * sysdeps/i386/fpu/libm-test-ulps: Update.
32377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32380         log1p.
32381         * math/auto-libm-test-out: Regenerated.
32382         * sysdeps/i386/fpu/libm-test-ulps: Update.
32383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32385 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32387         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32388         Elf64_Chdr structs and ELFCOMPRESS constants.
32390 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32392         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32393         expm1.
32394         * math/auto-libm-test-out: Regenerated.
32395         * sysdeps/i386/fpu/libm-test-ulps: Update.
32396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32398         * math/auto-libm-test-in: Add more tests of erf and erfc.
32399         * math/auto-libm-test-out: Regenerated.
32400         * sysdeps/i386/fpu/libm-test-ulps: Update.
32401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32403 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32405         * config.h.in (HAVE_AARCH64_BE): Add.
32407 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32409         * math/auto-libm-test-in: Add more tests of csqrt.
32410         * math/auto-libm-test-out: Regenerated.
32411         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32415         * math/auto-libm-test-out: Regenerated.
32416         * sysdeps/i386/fpu/libm-test-ulps: Update.
32417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32419         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32421 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32423         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32424         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32426         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32427         (euidaccess, eaccess): Define as weak aliases.
32429         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32430         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32431         but __suseconds_t is often 'long int' so some sources assume that
32432         type is being used (e.g. they use %ld to print tv_usec).
32434 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32436         [BZ #18007]
32437         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32438         (CVE-2014-8121)
32439         * nss/tst-nss-getpwent.c: New file.
32440         * nss/Makefile (tests): Add new test.
32442 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32444         [BZ #18346]
32445         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32446         exponents less than 48 as cases where high part of mantissa needs
32447         examining to determine whether argument is integral.
32448         * math/libm-test.inc (round_test_data): Add more tests.
32450 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32452         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32454 2015-04-27  David S. Miller  <davem@davemloft.net>
32456         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32457         __tls_get_addr.
32458         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32460 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32462         [BZ #18333]
32463         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32465 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32467         [BZ #18333]
32468         * time/tzset.c (parse_tzname): Return error on memory allocation
32469         failure.
32470         * test-skeleton.c (struct temp_name_list): Change type of name
32471         member to non-const.
32472         (add_temp_file): Create a copy of the file name.
32473         (delete_temp_files): Deallocate memory.
32474         (create_temp_file): Add comment.
32476 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32478         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32479         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32481 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32483         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32484         * sysdeps/arm/configure: Regenerated.
32486 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32488         [BZ #17715]
32489         * time/tzfile.c (__tzfile_read): Check for large values of
32490         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32491         * time/tzset.c (__tzstring_len): New function, based on the old
32492         __tzstring function.
32493         (__tzstring): Call __tzstring_len.
32494         (parse_tzname): New helper function extracted from
32495         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32496         the input string.
32497         (parse_offset): New helper function extracted from
32498         __tzset_parse_tz.  Replace switch with fallthrough with
32499         initialization before sscanf.
32500         (parse_rule): Likewise.
32501         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32502         new-style function definition.
32503         * timezone/Makefile (tests): Add tst-tzset.
32504         (tst-tzset.out): Dependencies on time zone files.
32505         (tst-tzset-ENV): Set TZDIR.
32506         (testdata/XT%): Copy crafted time zone files.
32507         * timezone/README: Mention crafted time zone files.
32508         * timezone/testdata/XT1, timezone/testdata/XT2,
32509         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32510         files.
32511         * timezone/tst-tzset.c: New test.
32513 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32515         * Makeconfig (+gccwarn): Remove -Winline.
32517 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32519         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32521 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32523         * NEWS: Mention sysconf() cache information support for s390.
32524         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32526 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32528         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32529         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32530         (__nearbyint): Likewise.
32531         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32532         (copysignl): Likewise.
32534 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32536         [BZ #18287]
32537         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32538         based on padding.  (CVE-2015-1781)
32540 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32542         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32543         libc-vdso.h.
32544         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32545         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32546         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32547         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32548         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32549         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32550         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32552         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32553         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32554         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32555         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32556         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32557         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32558         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32559         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32560         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32561         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32562         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32563         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32564         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32565         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32566         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32568 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32570         * stdlib/setenv.c (__add_to_environ):
32571         Dump core quickly if setenv (..., NULL, ...) is called.
32572         This time, do it the right way, and pacify GCC with a pragma.
32574 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32576         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32577         IMAP->l_prev cannot be null, and #if out the code for the contrary
32578         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32579         believe that NS (&_dl_ns[NSID]) could point outside the array.
32581         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32582         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32583         before using NSID as an index.
32585 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32587         [BZ #17825]
32588         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32589         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32590         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32592 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32594         Add preliminary port to Google Native Client on ARM.
32595         * abi-tags (.*-.*-nacl.*): New entry.
32596         * sysdeps/arm/nacl: New directory.
32597         * sysdeps/nacl: New directory.
32599 2015-04-16  David S. Miller  <davem@davemloft.net>
32601         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32602         lowlevellock-futex.h
32604 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32606         * sysdeps/tile/configure.ac: New file.
32607         * sysdeps/tile/configure: Regenerated.
32609 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32611         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32612         conditionals for weak_alias and libc_hidden_weak.
32613         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32614         libc_hidden_weak and weak_alias.
32615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32616         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32617         and weak_alias for static one.
32619 2015-04-15  David S. Miller  <davem@davemloft.net>
32621         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32623 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32625         [BZ #18206]
32626         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32627           Use signed comparision instead of substraction to avoid
32628           overflow bug.
32629         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32630           Take the sign of ret.
32631         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32632           Do not expect precise return values. Only the sign matters.
32633         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32634         * wcsmbs/test-wcsncmp.c: New File.
32635         * string/test-strncmp.c: Add wcsncmp support.
32637 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32639         [BZ #6792]
32640         * math/w_log1p.c: New file.
32641         * math/w_log1pf.c: Likewise.
32642         * math/w_log1pl.c: Likewise.
32643         * math/Makefile (libm-calls): Add w_log1p.
32644         * math/s_log1pl.c (log1pl): Remove weak_alias.
32645         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32646         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32647         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32648         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32649         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32650         [NO_LONG_DOUBLE] (log1pl): Likewise.
32651         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32652         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32653         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32654         (log1p): Remove long_double_symbol.
32655         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32656         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32657         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32658         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32659         remove weak_alias for corresponding log1p function.
32660         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32661         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32662         * sysdeps/ia64/fpu/w_log1p.c: New file.
32663         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32664         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32665         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32667 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32669         [BZ #18247]
32670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32671         decimal exponent by 1.
32672         * stdlib/tst-strtod-round-data: Add more tests.
32673         * stdlib/tst-strtod-round.c (tests): Regenerated.
32675 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32677         * math/auto-libm-test-in: Add more tests of clog and clog10.
32678         * math/auto-libm-test-out: Regenerated.
32679         * sysdeps/i386/fpu/libm-test-ulps: Update.
32680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32682 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32684         * Makeconfig (module-cppflags): Exclude all .v.i files.
32685         (skip-module-cppflags): Variable removed.
32687         * configure.ac (libc_config_ok): Initialize before reading
32688         preconfigure scripts, not after.
32689         * configure: Regenerated.
32691         * test-skeleton.c (TIMEOUT): Move #define to top level.
32692         (main): Grok environment variable TEST_DIRECT.  If set, print
32693         test expectation details into that file and then behave as if
32694         given --direct.
32696 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32698         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32699         warning on 32-bit.
32701 2015-04-08  David S. Miller  <davem@davemloft.net>
32703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32705 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32707         * math/auto-libm-test-in: Add more tests of atanh.
32708         * math/auto-libm-test-out: Regenerated.
32709         * sysdeps/i386/fpu/libm-test-ulps: Update.
32710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32712         * math/auto-libm-test-in: Add more tests of atan.
32713         * math/auto-libm-test-out: Regenerated.
32714         * sysdeps/i386/fpu/libm-test-ulps: Update.
32715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32717 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32719         * elf/pldd.c (main): Rewrite to use struct
32720         scratch_buffer instead of extend_alloca.
32721         * elf/pldd-xx.c (find_maps): Likewise.
32722         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32723         <alloca.h>.
32724         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32725         scratch_buffer instead of extend_alloca.
32726         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32727         grp/compat-initgroups.c.
32728         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32729         Rewrite to use struct scratch_buffer instead of extend_alloca.
32730         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32731         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32733 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32735         * math/auto-libm-test-in: Add more tests of cbrt.
32736         * math/auto-libm-test-out: Regenerated.
32737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32739         * math/auto-libm-test-in: Add more tests of cabs.
32740         * math/auto-libm-test-out: Regenerated.
32741         * sysdeps/i386/fpu/libm-test-ulps: Update.
32742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32744         [BZ #18210]
32745         [BZ #18211]
32746         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32747         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32748         computations.
32749         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32750         clog10.
32751         * math/auto-libm-test-out: Regenerated.
32752         * sysdeps/i386/fpu/libm-test-ulps: Update.
32753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32755         [BZ #18197]
32756         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32757         (atan): Set FE_TONEAREST mode for internal computations.
32758         * math/auto-libm-test-in: Add more tests of atan.
32759         * math/auto-libm-test-out: Regenerated.
32761 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32763         [BZ #17930]
32764         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32766 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32768         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32770 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32772         * include/scratch_buffer.h: New file.
32773         * malloc/scratch_buffer_grow.c: Likewise.
32774         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32775         * malloc/scratch_buffer_set_array_size.c: Likewise.
32776         * malloc/tst-scratch_buffer.c: Likewise.
32777         * malloc/Makefile (routines): Add scratch_buffer_grow.
32778         (tests): Add test case.
32779         * malloc/Versions (GLIBC_PRIVATE): Export
32780         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32781         __libc_scratch_buffer_set_array_size.
32783 2015-04-06  Richard Henderson  <rth@redhat.com>
32785         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32788         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32789         unsigned int before printing.
32791 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32793         [BZ #17596]
32794         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32795         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32797 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32799         * include/libc-internal.h (libc_max_align_t): Define.
32801 2015-04-02  Andreas Schwab  <schwab@suse.de>
32803         [BZ #16850]
32804         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32806 2015-04-02  Mel Gorman  <mgorman@suse.de>
32808         [BZ #17195]
32809         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32810         as well as the main arena.
32812 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32814         [BZ #18185]
32815         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32816         sharing L2 cache to 2 for Silvermont/Knights Landing.
32818 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32820         [BZ #17711]
32821         * config.make.in (have-protected-data): New.
32822         * configure.ac: Check linker support for protected data symbol.
32823         * configure: Regenerated.
32824         * elf/Makefile (modules-names): Add tst-protected1moda and
32825         tst-protected1modb if $(have-protected-data) is yes.
32826         (tests): Add tst-protected1a and tst-protected1b if
32827         $(have-protected-data) is yes.
32828         ($(objpfx)tst-protected1a): New.
32829         ($(objpfx)tst-protected1b): Likewise.
32830         (tst-protected1modb.so-no-z-defs): Likewise.
32831         * elf/tst-protected1a.c: New file.
32832         * elf/tst-protected1b.c: Likewise.
32833         * elf/tst-protected1mod.h: Likewise.
32834         * elf/tst-protected1moda.c: Likewise.
32835         * elf/tst-protected1modb.c: Likewise.
32837 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32839         [BZ #17711]
32840         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32841         indicates it is called from do_lookup_x on relocation against
32842         protected data, skip the data definion in the executable from
32843         copy reloc.
32844         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32845         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32846         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32847         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32848         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32849         otherwise to 0.
32850         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32851         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32852         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32853         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32854         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32855         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32857 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32859         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32860         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32862 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32864         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32865         THREAD_SETMEM_NC.
32866         * sysdeps/x86_64/nptl/tls.h: Ditto.
32868 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32870         * dlfcn/tststatic.c (main): Converted to ...
32871         (do_test): ... this.
32872         (TEST_FUNCTION): New macro.
32873         Include test-skeleton.c.
32875 2015-03-26  Alan Modra  <amodra@gmail.com>
32877         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32878         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32879         zero for undefined weak.
32880         (elf_machine_plt_conflict): Similarly.
32882 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32884         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32885         atanh.
32886         * math/auto-libm-test-out: Regenerated.
32887         * sysdeps/i386/fpu/libm-test-ulps: Update.
32888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890         * math/auto-libm-test-in: Add another test of asin.
32891         * math/auto-libm-test-out: Regenerated.
32892         * sysdeps/i386/fpu/libm-test-ulps: Update.
32893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32895         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32896         Remove macro.
32897         (LLL_EBX_REG): Likewise.
32898         (LLL_ENTER_KERNEL): Likewise.
32900         * math/auto-libm-test-in: Add more tests of asin.
32901         * math/auto-libm-test-out: Regenerated.
32902         * sysdeps/i386/fpu/libm-test-ulps: Update.
32903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32905         [BZ #18138]
32906         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32907         libc_do_syscall_args): New structure.
32908         (INTERNAL_SYSCALL_MAIN_0): New macro.
32909         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32910         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32911         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32912         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32913         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32914         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32915         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32916         Replace conditional definitions by conditional definitions of ....
32917         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32918         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32919         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32920         (libpthread-sysdep_routines): Add libc-do-syscall.
32921         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32922         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32923         to __NR_futex not 240.
32925 2015-03-25  Alan Modra  <amodra@gmail.com>
32927         * NEWS: Advertise TLS optimization.
32928         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32929         (DT_PPC_NUM): Increment.
32930         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32931         (CHECK_STATIC_TLS): Use here.
32932         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32933         TLS descriptors.
32934         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32935         * sysdeps/powerpc/dl-tls.c: New file.
32936         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32937         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32938         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32939         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32944 2015-03-25  Alan Modra  <amodra@gmail.com>
32946         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32947         for overlapping .opd entries" to "support...".
32948         * sysdeps/powerpc/powerpc64/configure: Regenerate
32950 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32952         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
32958         * math/auto-libm-test-out: Regenerated.
32959         * sysdeps/i386/fpu/libm-test-ulps: Update.
32960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32962 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32964         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32965         * math/auto-libm-test-out: Regenerated.
32966         * sysdeps/i386/fpu/libm-test-ulps: Update.
32967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32969         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32972         * math/auto-libm-test-in: Add more tests of log2.
32973         * math/auto-libm-test-out: Regenerated.
32974         * sysdeps/i386/fpu/libm-test-ulps: Update.
32975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32977 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32979         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32980         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32981         _IO_IS_APPENDING bit in READ_WRITE instead.
32983 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32985         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32986         (__determine_cpumask_size): Replace extend_alloca with a
32987         variable-length array.  Do not treat res == 0 as an error.
32989 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32991         [BZ #18100]
32992         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32993         and integer overflow.
32994         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32995         (main): Add integer overflow tests.
32996         * manual/pattern.texi (Calling Wordexp): Document additional use
32997         for WRDE_SYNTAX.
32999 2015-03-23  Alan Modra  <amodra@gmail.com>
33001         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33002         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33003         and false branch of conditional.
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33005         Likewise.
33007 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33009         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33010         libc-modules.h
33011         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33012         unused declaration of _hurd_intr_rpc_msg_in_trap.
33013         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33014         defined instead of whether it is non-zero.
33015         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33016         input constraint instead of both input and output constraint.  Use ecx
33017         clobber instead of %ecx.
33018         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33019         mutex_unlock): Use a statement expression instead of an expression list.
33020         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33021         type to vm_size_t instead of vm_address_t.
33022         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33023         defined instead of whether it is non-zero.
33024         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33025         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33026         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33027         comparisons with mapaddr.
33028         * nscd/nscd-client.h: Include <time.h>.
33029         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33030         9th parameter to __vm_region instead of int.
33031         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33032         * scripts/check-local-headers.sh (exclude): Add device/,
33033         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33034         cthreads.h.
33036 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33038         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33039         to account for alignment padding.
33040         * sysdeps/arm/memmove.S: Likewise.
33042 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33044         * sysdeps/unix/sysv/linux/generic/README: New file.
33046 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33048         [BZ #18138]
33049         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33050         (futex_abstimed_wait)
33051         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33052         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33053         of lll_futex_timed_wait.
33055 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33057         [BZ #17542]
33058         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33060 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33062         [BZ #17090]
33063         [BZ #17620]
33064         [BZ #17621]
33065         [BZ #17628]
33066         * NEWS: Update.
33067         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33068         entries with Static TLS too.  Skip entries past the end of the
33069         allocated DTV, from Alan Modra.
33070         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33071         Static TLS DTV entry set up from...
33072         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33073         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33074         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33075         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33076         for Static TLS.
33077         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33078         that the slot we find is associated with the given map before
33079         using its generation count.
33080         * nptl_db/db_info.c: Include ldsodefs.h.
33081         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33082         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33083         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33084         (link_map::l_tls_offset): New struct field.
33085         (dtv_t::counter): Likewise.
33086         (rtld_global): New struct.
33087         (_rtld_global): New rtld variable.
33088         (dl_tls_dtv_slotinfo_list): New rtld global field.
33089         (dtv_slotinfo_list): New struct.
33090         (dtv_slotinfo): Likewise.
33091         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33092         (td_lookup): Rename to...
33093         (td_mod_lookup): ... this.  Use new mod parameter instead of
33094         LIBPTHREAD_SO.
33095         * nptl_db/td_thr_tlsbase.c: Include link.h.
33096         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33097         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33098         addresses even if the DTV is out of date or missing them.
33099         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33100         index zero-length arrays.
33101         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33102         (td_lookup): Make it a macro implemented in terms of...
33103         (td_mod_lookup): ... this declaration.
33104         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33105         (DB_MAIN_VARIABLE): Likewise.
33107 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33109         [BZ #18134]
33110         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33112 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33114         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33116 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33118         [BZ #18128]
33119         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33120         (atomic_add, atomic_increment_and_test)
33121         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33123 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33125         * stdlib/setenv.c (__add_to_environ):
33126         Dump core quickly if setenv (..., NULL, ...) is called.
33128 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33130         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33131         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33132         all the necessary asm magic in one place.
33133         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33134         using those.
33136 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33138         [BZ #14906]
33139         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33140         traced file mtime. Use consistent log message.
33141         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33142         (register_traced_file): Call install_watches. Always set mtime.
33143         (invalidate_cache): Iterate over all trace files. Call install_watches.
33144         (inotify_check_files): Don't inline. Handle watching parent
33145         directories and configuration file movement in and out.
33146         (handle_inotify_events): New function.
33147         (main_loop_poll): Call handle_inotify_events.
33148         (main_loop_epoll): Likewise.
33149         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33150         (struct traced_file): Use array of inotify fds. Add parent directory,
33151         and basename.
33152         (struct database_dyn): Remove unused file_mtime.
33153         (init_traced_file): New inline function.
33154         (define_traced_file): New macro.
33155         * nss/nss_db/db-init.c: Use define_traced_file.
33156         (_nss_db_init): Use init_traced_file.
33157         * nss/nss_files/files-init.c: Use define_traced_file.
33158         (_nss_files_init): Use init_traced_file.
33160 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33162         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33163         [_LIBC]: Do not include <stdlib.h>.
33164         [!_LIBC] (abort): Remove declaration.
33165         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33166         _FP_STATIC_ASSERT instead of conditionally calling abort.
33167         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33168         (_FP_EXTEND_CNAN): Likewise.
33169         (FP_TRUNC): Likewise.
33170         (__FP_CLZ): Likewise.
33171         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33173 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33175         * manual/string.texi (XPG basename): Fix prototype.
33177 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33179         [BZ #18080]
33180         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33181         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33182         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33183         (__setcontext): Likewise.
33184         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33185         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33186         Call rt_sigprocmask syscall one time to set new signal mask
33187         and retrieve the current signal mask instead of two calls.
33188         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33189         (__swapcontext): Likewise.
33190         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33191         * stdlib/tst-setcontext2.c: New file.
33193 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33195         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33197 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33199         [BZ #18093]
33200         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33201         the wrong size.
33203 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33205         [BZ #18043]
33206         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33208 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33210         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33211         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33212         Remove define.
33213         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33214         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33215         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33216         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33217         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33218         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33219         define.
33220         * nptl_db/td_symbol_list.c (td_lookup): Remove
33221         HAVE_ASM_GLOBAL_DOT_NAME code.
33222         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33223         HAVE_ASM_GLOBAL_DOT_NAME check.
33224         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33225         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33226         (DOT_LABEL): Remove define.
33227         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33228         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33229         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33230         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33231         (__TLS_GET_ADDR): Likewise.
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33233         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33235 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33237         [BZ #18111]
33238         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33239         (_FPU_SETCW): Initialize cw from fpsr before storing.
33240         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33241         (fesetexceptflag): Rewrite using fpu_control.h.
33242         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33244 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33246         [BZ #18110]
33247         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33248         asms.
33249         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33251 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33253         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33254         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33255         abort.
33256         (_FP_FMA): Likewise.
33257         (_FP_DIV): Likewise.
33259 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33261         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33262         with 0 in that case.
33263         * Makefile (summarize-tests): New canned sequence, factored out of
33264         commands for targets tests and xtests.  Display summary lines that
33265         don't start with PASS: or XFAIL: rather than ones that do start with
33266         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33267         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33268         do start with ERROR: or FAIL:.
33269         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33270         (except for [$(build-shared) = yes]).
33271         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33272         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33273         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33274         * nptl/Makefile: Revert 2015-03-04 changes.
33275         [$(CXX) empty] (tests-unsupported): New variable.
33276         * debug/Makefile: Likewise.
33278         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33279         gnulib file.  Replace __attribute with __attribute__ throughout.
33281 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33283         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33285 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33287         [BZ #18104]
33288         * math/auto-libm-test-in: Add another test of pow.
33289         * math/auto-libm-test-out: Regenerated.
33291 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33293         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33294         $(config-cflags-nofma).
33296 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33298         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33299         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33300         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33301         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33302         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33303         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33304         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33305         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33306         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33307         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33308         Add comment on closing #endif.
33310 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33312         * posix/wordexp.c (CHAR_IN_SET): New macro.
33313         (parse_param): Use it.
33315 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33317         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33319 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33321         [BZ #18043]
33322         * posix/wordexp.c (parse_param): Fix buffer overflow.
33323         * posix/wordexp-test.c (test_case): Add test case.
33325 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33327         [BZ #18042]
33328         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33329         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33331 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33333         [BZ #18043]
33334         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33335         (do_bz18043): Delete.
33336         (at_page_end): New.
33337         (testit): Refactor to have words at the edge of unreadable page.
33339 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33341         [BZ #16734]
33342         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33343         Cleanup read-only streams as well.
33344         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33346 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33348         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33349         <bits/libc-lockP.h>
33351 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33353         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33354         on [__KERNEL__].
33355         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33356         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33357         * soft-fp/op-common.h (_FP_DECL): Likewise.
33359 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33361         * elf/ifuncdep2.c (global): Replace
33362         __attribute__((visibility("protected"))) with
33363         asm (".protected global").
33364         * elf/ifuncmod1.c (global): Likewise.
33365         * elf/ifuncmod5.c (global): Likewise.
33367 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33369         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33370         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33372 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33374         * manual/install.texi (Configuring and compiling):
33375         Document test-wrapper-env-only.
33376         * INSTALL: Regenerated.
33378 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33380         [BZ #18043]
33381         * posix/wordexp.c (parse_param): Fix buffer overflow.
33382         * posix/wordexp-test.c (do_bz18043): Add test case.
33384 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33386         * time/tst-strptime2.c (do_test): Ensure failing tests are
33387         reported correctly.
33388         * time/tst-strptime3.c (do_test): Likewise.
33390 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33392         Fix aio_error thread-safety.
33393         * sysdeps/pthread/aio_error.c: New file
33394         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33395         synchronization.
33397 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33399         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33400         (group_number, vfprintf): Use it.
33401         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33402         (JUMP, REF): Use it.
33403         (WORK_BUFFER_SIZE): New enum constant.
33404         (process_arg, vfprintf): Use it.
33406 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33408         * manual/errno.texi (Error Messages): Complete example function
33409         by adding missing #define.
33410         (program_invocation_name): Add statement indicating GNU
33411         extension and reference which header file declares the variable.
33412         (program_invocation_short_name): Likewise.
33414 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33416         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33417         compatibility note.
33419 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33421         * Makeconfig (test-wrapper-env-only): New variable.
33422         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33423         then use that with $(test-wrapper-env-only) rather than using
33424         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33426 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33428         [BZ #18082]
33429         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33430         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33431         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33432         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33433         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33434         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33435         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33436         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33437         Likewise.
33438         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33439         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33440         Likewise.
33441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33442         Likewise.
33443         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33444         Likewise.
33445         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33446         Likewise.
33447         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33448         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33449         Likewise.
33450         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33451         Likewise.
33452         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33453         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33455 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33457         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33458         (ETH_ALEN): New macro.
33459         (struct ether_addr): Use it for length of ether_addr_octet.
33461         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33462         (setdb): Don't call __nss_configure_lookup for "rpc".
33463         (do_test): Don't call test_rpc.
33464         (output_rpcent, test_rpc): Functions moved ...
33465         * sunrpc/test-rpcent.c: ... to this new file.
33466         * sunrpc/Makefile (tests): Add it.
33468         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33469         __xpg_sigpause.
33470         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33471         * nptl/tst-signal6.c: Likewise.
33472         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33473         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33475         * configure.ac (libc_cv_cxx_link_ok): New check.
33476         Reset CXX to empty if it fails to link.
33477         * configure: Regenerated.
33478         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33479         bug-atexit3-lib only if $(CXX) is nonempty.
33480         * nptl/Makefile (tests): Likewise for tst-cancel24.
33481         (tests, tests-static): Likewise for tst-cancel24-static.
33482         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33483         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33484         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33485         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33487 2015-03-04  Andreas Schwab  <schwab@suse.de>
33489         [BZ #17631]
33490         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33491         for non-GCC compilers.
33492         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33493         Likewise.
33495 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33497         [BZ #17776]
33498         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33499         integer before bitwise and assembly operations.
33500         (feclearexcept): Likewise.
33501         * math/test-fenvinline.c: New file.
33502         * math/Makefile: Add test-fenvinline test.
33504 2015-03-03  Alan Modra  <amodra@gmail.com>
33506         [BZ #16512]
33507         * scripts/localplt.awk: Strip off symbol version.
33508         * NEWS: Mention bug fix.
33510 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33512         * sysdeps/pthread/timer_routines.c
33513         (timer_free_list, thread_free_list, thread_active_list): Make static.
33515 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33517         [BZ #17779]
33518         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33519         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33520         Undefine.
33521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33522         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33523         Likewise.
33524         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33525         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33526         Likewise.
33528 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33530         [BZ #18036]
33531         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33532         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33534 2015-03-02  Andreas Schwab  <schwab@suse.de>
33536         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33537         variable name.
33539 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33541         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33542         Return error status.
33544 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33546         [BZ #15969]
33547         * locale/findlocale.c (_nl_find_locale): Introduce const
33548         version of loc_name and drop unsafe type casts.
33550 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33552         * dlfcn/tststatic2.c (main): Converted to ...
33553         (do_test): ... this.
33554         (TEST_FUNCTION): New macro.
33555         Include test-skeleton.c.
33557 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33559         [BZ #17711]
33560         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33561         (tests-pie): Add vismain.
33562         (CFLAGS-vismain.c): New.
33563         * elf/vismain.c: Add comments for PIE requirement.
33565 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33567         [BZ #18046]
33568         [BZ #18047]
33569         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33570         0x1p-56L as threshold for just returning the argument.
33571         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33572         0x1p-32L as threshold for just returning the argument.
33573         * math/auto-libm-test-in: Add more tests of atanh.
33574         * math/auto-libm-test-out: Regenerated.
33575         * sysdeps/i386/fpu/libm-test-ulps: Update.
33576         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33578 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33580         * string/bcopy.c (bcopy): Call memmove for performance.
33582 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33584         * string/bzero.c (__bzero): Call memset for performance.
33586 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33588         [BZ #18068]
33589         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33590         to 00100000.
33592 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33594         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33596 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33598         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33599         (__kernel_standard): Use CSTR macro when setting exc.name.
33600         * sysdeps/ieee754/Makefile [$(subdir) = math]
33601         (CFLAGS-k_standard.c): Remove variable.
33603         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33604         setting p and q from "else if" to "else".
33605         (qzero): Likewise.
33606         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33607         (qone): Likewise.
33608         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33609         (qzerof): Likewise.
33610         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33611         (qonef): Likewise.
33612         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33613         (qzero): Likewise.
33614         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33615         (qone): Likewise.
33617         [BZ #18038]
33618         [BZ #18039]
33619         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33620         return pi/2 for arguments below 0x1p-113L.
33621         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33622         return pi/2 for arguments below 0x1p-106L.
33623         * math/auto-libm-test-in: Add more tests of acos.
33624         * math/auto-libm-test-out: Regenerated.
33626         [BZ #16351]
33627         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33628         (MO): New macro.
33629         (__ieee754_asin): Force underflow exception for results with small
33630         absolute value.
33631         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33632         (MO): New macro.
33633         (__ieee754_asinf): Force underflow exception for results with
33634         small absolute value.
33635         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33636         (__ieee754_asin): Force underflow exception for results with small
33637         absolute value.
33638         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33639         (__ieee754_asinf): Force underflow exception for results with
33640         small absolute value.
33641         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33642         (__ieee754_asinl): Force underflow exception for results with
33643         small absolute value.
33644         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33645         (__ieee754_asinl): Force underflow exception for results with
33646         small absolute value.
33647         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33648         (__ieee754_asinl): Force underflow exception for results with
33649         small absolute value.
33650         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33651         Include <math.h>.
33652         * math/auto-libm-test-in: Do not mark underflow exceptions as
33653         possibly missing for bug 16351.
33654         * math/auto-libm-test-out: Regenerated.
33656         [BZ #18030]
33657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33658         of power of 2 down when low part has opposite sign.
33659         * math/libm-test.inc (logb_test_data): Add more tests.
33661 2015-02-26  Andreas Schwab  <schwab@suse.de>
33663         [BZ #18032]
33664         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33665         over collating symbol inside a bracket expression.  Minor cleanup.
33666         * posix/tst-fnmatch3.c (do_test): Add test case.
33668 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33670         [BZ #18029]
33671         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33672         Adjust exponent of power of 2 down when low part has opposite
33673         sign.
33674         * math/libm-test.inc (ilogb_test_data): Add more tests.
33676 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33678         [BZ #15969]
33679         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33680         the previous change.
33682         [BZ #15969]
33683         * locale/findlocale.c (_nl_find_locale): Retry archive search
33684         after alias expansion.
33686 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33688         * iconv/tst-iconv3.c (main): Converted to ...
33689         (do_test): ... this.
33690         (TEST_FUNCTION): New macro.
33691         Include test-skeleton.c.
33693         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33694         (convert): Make function static.
33695         (test_unalign): Likewise.  Add const to argument pointee types.
33696         (main): Replace with static function do_test.
33697         Print "Succeeded." only if RET is zero.
33698         (TEST_FUNCTION): New macro.
33699         Include test-skeleton.c.
33701         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33702         returns a null pointer.
33704 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33706         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33707         to __memcpy_ppc only for static builds.
33709 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33711         [BZ #18020]
33712         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33713         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33714         * math/auto-libm-test-in: Add more tests of asinh.
33715         * math/auto-libm-test-out: Regenerated.
33716         * sysdeps/i386/fpu/libm-test-ulps: Update.
33717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33719 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33721         [BZ #15850]
33722         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33723         and ip6_mtuinfo definitions here.
33724         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33725         in this define too.  Update comment.
33727 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33729         * elf/sprof.c (load_shobj): Tweak error message to match others.
33731 2015-02-24  Kevin Easton  <kevin@guarana.org>
33733         [BZ #16145] (partial fix)
33734         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33735         to reduce lock contention.
33737 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33739         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33740         (struct timex): Update time comment.
33741         (ADJ_SETOFFSET): Define.
33743 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33745         [BZ #18019]
33746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33747         2**56 not 2**28 as threshold for log (2x) formula.
33748         * math/auto-libm-test-in: Add more tests of acosh.
33749         * math/auto-libm-test-out: Regenerated.
33750         * sysdeps/i386/fpu/libm-test-ulps: Update.
33751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33753 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33755         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33756         parenthesis around the buf assignment.
33757         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33759 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33761         [BZ #16783]
33762         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33763         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33764         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33765         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33766         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33767         * math/libm-test.inc (scalb_test_data): Add more tests.
33769 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33771         [BZ #17916]
33772         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33773         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33775 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33777         [BZ #17523]
33778         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33779         * io/bits/fcntl2.h (open): Use it.
33780         (openat): Likewise.
33781         * io/open.c (__libc_open): Likewise.
33782         * io/open64.c (__libc_open64): Likewise.
33783         * io/open64_2.c (__open64_2): Likewise.
33784         * io/open_2.c (__open_2): Likewise.
33785         * io/openat.c (__openat): Likewise.
33786         * io/openat64.c (__openat64): Likewise.
33787         * io/openat64_2.c (__openat64_2): Likewise.
33788         * io/openat_2.c (__openat_2): Likewise.
33789         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33790         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33791         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33792         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33793         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33794         (__open_nocancel): Likewise.
33795         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33796         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33797         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33799 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33801         [BZ #14841]
33802         * resolv/gethnamaddr.c (getanswer): Skip logging if
33803         RES_USE_DNSSEC is set.
33804         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33806 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33808         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33810 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33812         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33813         201304L, for Unicode 7.
33815 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33817         [BZ #17836]
33818         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33819         shared library.  Add gmon-start.os otherwise.
33820         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33821         $(objpfx)gmon-start.os if builing shared library.
33822         ($(objpfx)g$(static-start-installed-name)): Likewise.
33824 2015-02-23  Andreas Schwab  <schwab@suse.de>
33826         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33828 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33830         [BZ #17269]
33831         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33832         (enlarge_userbuf): Likewise.
33834 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33836         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33837         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33838         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33839         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33841 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33843         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33844         expression inside statement expression.
33846 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33848         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33849         <sysdeps/nptl/lowlevellock.h> and remove macros and
33850         functions that are now defined there.
33851         (SYS_futex): Remove.
33852         (lll_compare_and_swap): Remove.
33853         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33855 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33857         [BZ #17999]
33858         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33859         instead of scandirat.
33860         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33861         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33862         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33863         __scandirat.
33864         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33865         (__scandirat): Declare.  Use libc_hidden_proto.
33866         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33867         Remove variable.
33868         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33870 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33872         [BZ #15319]
33873         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33874         (MO): New macro.
33875         (__ieee754_atan2): For results with small absolute value, force
33876         underflow exception and remove excess range and precision from
33877         return value.
33878         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33879         (MO): New macro.
33880         (__ieee754_atan2f): For results with small absolute value, force
33881         underflow exception and remove excess range and precision from
33882         return value.
33883         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33884         (MO): New macro.
33885         (__atan): For results with small absolute value, force underflow
33886         exception and remove excess range and precision from return value.
33887         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33888         (MO): New macro.
33889         (__atanf): For results with small absolute value, force underflow
33890         exception and remove excess range and precision from return value.
33891         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33892         <math.h>.
33893         (__ieee754_atan2): Force underflow exception for results with
33894         small absolute value.
33895         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33896         <math_private.h>.
33897         (atan): Force underflow exception for results with small absolute
33898         value.
33899         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33900         (__atanf): Force underflow exception for results with small
33901         absolute value.
33902         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33903         <math.h>.
33904         (__atanl): Force underflow exception for results with small
33905         absolute value.
33906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33907         (__atanl): Force underflow exception for results with small
33908         absolute value.
33909         * sysdeps/x86/fpu/bits/mathinline.h
33910         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33911         (__ieee754_atan2): Only define inline for long double.
33912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33913         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33914         * math/auto-libm-test-in: Do not mark underflow exceptions as
33915         possibly missing for bug 15319.  Add more tests of atan2.
33916         * math/auto-libm-test-out: Regenerated.
33917         * math/libm-test.inc (casin_test_data): Do not mark underflow
33918         exceptions as possibly missing for bug 15319.
33919         (casinh_test_data): Likewise.
33920         * sysdeps/i386/fpu/libm-test-ulps: Update.
33922 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33924         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33925         * sysdeps/mips/bits/endian.h: Fix comments.
33927 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33929         [BZ #17996]
33930         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33931         (hdestroy_r): Likewise.
33932         (hsearch_r): Likewise.
33933         (__hcreate_r): Declare and use libc_hidden_proto.
33934         (__hdestroy_r): Likewise.
33935         (__hsearch_r): Likewise.
33936         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33937         (hcreate): Call __hcreate_r instead of hcreate_r.
33938         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33939         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33940         as weak alias of __hcreate_r.
33941         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33942         __hdestroy_r.
33943         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33944         __hsearch_r.
33945         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33946         Remove variable.
33947         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33948         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33949         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33950         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33952 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33954         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33955         arena_lock into a single arena_get.
33957 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33959         * dl-reloc.c: Inlucde libc-internal.h.
33960         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33961         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33962         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33963         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33964         (grow_heap): Likewise.
33965         * malloc/malloc.c: Include libc-internal.h.
33966         (do_check_malloc): Call powerof2.
33967         (sysmalloc): Use pagesize. Call ALIGN_UP.
33968         (systrim): Use pagesize.
33969         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33970         (__libc_valloc): Use pagesize.
33971         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33973 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33975         [BZ #17991]
33976         * include/sys/resource.h (__getrlimit64): Declare.  Use
33977         libc_hidden_proto.
33978         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33979         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33980         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33981         getrlimit64.
33982         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33983         __getrlimit64.
33984         [!getrlimit64] (getrlimit64): Define as weak alias of
33985         __getrlimit64.  Use libc_hidden_weak.
33986         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33987         using __getrlimit64 not __new_getrlimit64.
33988         (__GI_getrlimit64): Likewise.
33989         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33990         Likewise.
33991         (__GI_getrlimit64): Likewise.
33992         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33994         (getrlimit): Add __getrlimit64 alias.
33995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33996         Likewise.
33997         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33998         Remove variable.
33999         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34000         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34002 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34004         * libio/fileops.c: Add missing sys/mman.h
34005         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34007 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34009         * manual/math.texi (Errors in Math Functions): Clarify goals
34010         regarding inexact and underflow exceptions.
34012 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34014         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34015         * sysdeps/mips/memset.S: Ditto.
34017 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34019         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34021 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34023         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34024         (__v1longjmp): Remove versioned symbol.
34025         (__v1siglongjmp): Remove alias and versioned symbol.
34026         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34027         (__v2siglongjmp): Likewise.
34029 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34031         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34033 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34035         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34037 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34039         [BZ #17987]
34040         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34041         zero result does not depend on the sign resulting from
34042         subtraction.
34043         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34044         Likewise.
34045         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34046         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34048         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34049         * math/libm-test.inc (remquo_test_data): Add more tests.
34051 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34053         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34054         Problem reported by J William Piggott.
34056 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34058         [BZ #17978]
34059         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34060         products 4 * y and 2 * y where those would overflow.
34061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34062         Likewise.
34063         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34064         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34065         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34066         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34067         * math/libm-test.inc (remquo_test_data): Add more tests.
34069         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34071         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34072         [defined _COMPILING_NEWLIB].
34073         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34074         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34076         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34077         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34079 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34081         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34082         acquired.
34084 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34086         [BZ #17792]
34087         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34088         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34089         HOST_STACK_END_ADDR): Likewise.
34091 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34093         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34094         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34095         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34097 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34099         * sysdeps/generic/c++-types.data: New file.
34100         * sysdeps/generic/ld.abilist: New file.
34101         * sysdeps/generic/libBrokenLocale.abilist: New file.
34102         * sysdeps/generic/libanl.abilist: New file.
34103         * sysdeps/generic/libc.abilist: New file.
34104         * sysdeps/generic/libcrypt.abilist: New file.
34105         * sysdeps/generic/libdl.abilist: New file.
34106         * sysdeps/generic/libm.abilist: New file.
34107         * sysdeps/generic/libpthread.abilist: New file.
34108         * sysdeps/generic/libresolv.abilist: New file.
34109         * sysdeps/generic/librt.abilist: New file.
34111 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34113         [BZ #17569]
34114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34115         Compute absolute value of x as modified by fmod, not original
34116         value of x.
34117         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34118         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34119         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34120         RUN_TEST_ffI_f1_mod8.
34121         (remquo_test_data): Add more tests.
34123 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34125         * sysdeps/init_array/pt-crti.S: New file.
34127 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #17967]
34130         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34131         __builtin_fmaf instead of relying on contraction of a * b + c.
34133 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34135         [BZ #17969]
34136         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34137         node.
34139 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34141         [BZ #17964]
34142         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34143         __builtin_fma instead of relying on contraction of a * b + c.
34145 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34147         * Makeconfig (ASFLAGS): Add -Werror=undef.
34148         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34149         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34150         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34152         * Makeconfig (after-link): New variable.
34153         (+link-pie, +link-pie-tests): Use it.
34154         (+link-static, +link-static-tests): Likewise.
34155         (+link, +link-tests): Likewise.
34156         * Makerules (build-module, build-module-asneeded): Likewise.
34157         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34158         Likewise.
34159         * elf/Makefile ($(objpfx)ld.so): Likewise.
34161 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34163         [BZ #17965]
34164         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34165         both struct timeval and struct timespec.
34167 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34169         [BZ #16560]
34170         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34171         and redefine.
34172         (__ieee754_exp2l): Do not multiply small fractional parts by
34173         M_LN2l.
34174         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34175         small argument.
34176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34177         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34178         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34179         * math/auto-libm-test-in: Add more tests of exp2.
34180         * math/auto-libm-test-out: Regenerated.
34182 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34184         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34185         unaligned path.
34187 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34189         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34190         little endian.
34192 2015-02-12  Andreas Schwab  <schwab@suse.de>
34194         [BZ #15790]
34195         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34196         Filter out elision flags from value returned in kind.
34197         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34198         * nptl/tst-pthread-mutexattr.c: New file.
34200 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34202         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34203         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34204         into gnu-gnu, and update comment to refer to abi-tags.
34206 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34208         [BZ #15467]
34209         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34210         (__sincos): Set errno to EDOM for infinite argument.
34211         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34212         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34213         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34214         (__sincosl): Set errno to EDOM for infinite argument.
34215         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34216         (__sincosl): Set errno to EDOM for infinite argument.
34217         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34218         (__sincosl): Set errno to EDOM for infinite argument.
34219         * math/libm-test.inc (sincos_test_data): Test errno setting.
34221 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34223         * string/strxfrm_l.c: Remove #define STRCMP.
34224         * string/strcoll_l.c: Remove #define STRLEN.
34225         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34226         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34228 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34230         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34231         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34232         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34233         * sysdeps/mips/mips64/Makefile: ... here.
34234         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34235         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34236         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34237         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34238         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34239         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34240         * sysdeps/mips/mips64/n64/Implies: Likewise.
34242 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34244         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34245         <sys/time.h>, <string.h>, and <errno.h>.
34246         (dest_offset, dest_address, value, zero): Remove unused variables.
34247         (ldouble): Remove typedef.
34248         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34249         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34250         1).  Fix code style.
34251         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34252         (check): Function removed.
34253         (CHECK): New macro.
34254         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34255         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34256         Don't call set_sigaction_FP and remove_sigaction_FP here.
34257         (ldouble_test): Just use 'long double' as macro argument, no need for
34258         the 'ldouble' typedef.
34259         (do_test): Set up SIGFPE handler at start, using plain signal rather
34260         than sigaction.  Fix code style.
34262 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34264         [BZ #17949]
34265         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34266         jump label.
34268 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34270         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34271         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34273         * sysdeps/powerpc/configure.ac: Remove file.
34274         * sysdeps/powerpc/configure: Likewise.
34276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34277         [sysdep_routines]: Remove wordcopy-power6 object.
34278         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34279         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34281         (__memmove_ppc32): Likewise.
34282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34283         file.
34284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34285         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34286         Remove preprocessor.
34288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34289         [sysdep_routines]: Remove wide chars objects.
34290         [wcsmbs]: New rule for wide char objects.
34292         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34293         Remove wordcopy-power6 obejct.
34294         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34295         Use local call for wordcopy and memcpy symbols.
34296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34298         implementation for loader.
34299         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34301         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34302         Remove wordcopy-power7 object.
34303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34305         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34306         (_wordcopy_fwd_dest_aligned): Likewise.
34307         (_wordcopy_bwd_aligned): Likewise.
34308         (_wordcopy_bwd_dest_aligned): Likewise.
34310         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34311         Rewrite to call __memmove_ppc instead of include default
34312         implementation.
34314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34315         Remove wide chars objects.
34316         [wcsmbs]: New rule for wide char objects.
34318 2015-02-09  Andreas Schwab  <schwab@suse.de>
34320         [BZ #17912]
34321         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34322         in terms of __O_DIRECTORY.
34324 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34326         * time/getdate.c: Include <stdbool.h>.
34327         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34328         call PTR_MANGLE.
34329         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34330         PTR_DEMANGLE.
34332 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34334         Add ersatz _Static_assert on older C hosts
34335         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34336         pre-C11 C platform that is not known to support _Static_assert.
34338 2015-02-07  Richard Braun  <rbraun@sceen.net>
34340         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34341         sigstate.
34342         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34344 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34346         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34347         priority against unexistent AIO_PRIO_DELTA_MAX.
34348         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34349         instead of int.
34350         * misc/fchflags.c (fchflags): Likewise.
34351         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34352         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34353         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34354         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34355         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34356         Declare macros.
34357         [__USE_MISC] (chflags, fchflags): Declare functions.
34358         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34359         EINVAL when nfds is greater than FD_SETSIZE.
34360         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34361         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34362         45.
34363         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34364         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34365         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34366         MACH_RCV_TIMED_OUT.
34367         * hurd/hurd/signal.h (_hurd_self_sigstate,
34368         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34369         Explicit casts from void *.
34370         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34371         * abi-tags: Rename gnu-gnu os into gnu.
34373         [BZ #4719]
34374         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34375         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34376         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34377         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34378         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34379         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34381         [BZ #17944]
34382         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34383         duplicates ADDR->sun_path with sockaddr LEN limitation.
34384         * sysdeps/mach/hurd/connect.c: Include <string.h>
34385         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34386         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34387         * sysdeps/mach/hurd/sendto.c: Likewise.
34388         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34389         implementing it by hand.
34391 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34393         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34394         Use sfi_breg on ldr.
34395         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34396         Likewise.
34398         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34399         it's defined.
34400         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34401         Test SIGSETXID only if it's defined.
34403         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34405         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34406         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34408         * nptl/tst-align2.c: Moved ...
34409         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34410         * nptl/Makefile (tests): Remove tst-align2.
34411         * sysdeps/unix/sysv/linux/Makefile
34412         [$(subdir) = nptl] (tests): Add tst-align-clone.
34413         * nptl/tst-getpid1.c: Moved ...
34414         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34415         * nptl/tst-getpid2.c: Moved ...
34416         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34417         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34418         * sysdeps/unix/sysv/linux/Makefile
34419         [$(subdir) = nptl] (tests): ... here.
34420         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34421         * sysdeps/unix/sysv/linux/Makefile
34422         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34424         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34425         Drop trailing \n from perror argument.  Use return rather than exit.
34427         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34428         on [SA_SIGINFO].
34429         * nptl/tst-cancel21.c (do_test): Likewise.
34430         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34431         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34432         [!SA_SIGINFO]: Make it a stub test.
34434         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34435         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34437         * posix/tst-getlogin.c: Move to ...
34438         * login/tst-getlogin.c: ... here.
34439         * posix/Makefile (tests): Move tst-getlogin to ...
34440         * login/Makefile (tests): ... here.
34442         * libio/tst-atime.c (do_test): Move local variables SV and E
34443         inside [ST_NOATIME] conditional.
34445         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34447         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34449         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34450         (wait_code): New function replaces macro.
34451         Call nanosleep rather than syscall.
34453         * nptl/pt-system.c: Rewritten.  Put everything under
34454         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34455         Use IFUNC to redirect when possible.
34457         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34458         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34459         Use IFUNC to redirect when possible.
34461         * nptl/pt-fork.c: Rewritten.  Put everything under
34462         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34463         Use IFUNC to redirect when possible.
34464         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34467         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34468         unconditionally nowadays.  This included the only reference to
34469         __vdso_clock_gettime that appears outside libc proper.
34470         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34471         Remove version set (containing only __vdso_clock_gettime).
34472         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34473         Add attribute_hidden.
34474         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34475         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34476         libc_hidden_data_def.
34477         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34478         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34480         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34481         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34482         setrpcent, and getrpcport to ...
34483         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34484         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34485         getrpcbynumber_r, and getrpcent_r to ...
34486         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34487         * inet/getrpcbyname.c: Moved ...
34488         * sunrpc/getrpcbyname.c: ... here.
34489         * inet/getrpcbyname_r.c: Moved ...
34490         * sunrpc/getrpcbyname_r.c: ... here.
34491         * inet/getrpcbynumber.c: Moved ...
34492         * sunrpc/getrpcbynumber.c: ... here.
34493         * inet/getrpcbynumber_r.c: Moved ...
34494         * sunrpc/getrpcbynumber_r.c: ... here.
34495         * inet/getrpcent.c: Moved ...
34496         * sunrpc/getrpcent.c: ... here.
34497         * inet/getrpcent_r.c: Moved ...
34498         * sunrpc/getrpcent_r.c: ... here.
34499         * inet/Makefile (routines): Move those to ...
34500         * sunrpc/Makefile (routines): ... here.
34501         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34502         the $(subdirs) list.
34503         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34504         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34505         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34506         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34508         * elf/Makefile (routines): Include $(all-dl-routines), not just
34509         $(dl-routines).
34510         (rtld-routines): Likewise.  Use = rather than :=.
34511         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34512         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34513         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34514         * sysdeps/arm/Makefile: Likewise.
34515         * sysdeps/i386/Makefile: Likewise.
34516         * sysdeps/x86_64/Makefile: Likewise.
34517         * sysdeps/hppa/Makefile [$(subdir) = elf]
34518         (sysdep_routines, sysdep-rtld-routines): Don't add
34519         $(sysdep-dl-routines) to these.
34520         * sysdeps/ia64/Makefile: Likewise.
34521         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34522         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34523         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34524         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34525         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34526         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34527         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34528         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34529         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34530         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34531         these; sysdep-dl-routines alone is enough.
34533 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34535         [BZ #17932]
34536         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34537         where multiplication results in zero and third argument is finite
34538         and nonzero.
34539         * math/auto-libm-test-in: Add more tests of fma.
34540         * math/auto-libm-test-out: Regenerated.
34542         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34543         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34544         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34545         (_FP_CMP_EQ): Likewise.
34546         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34548         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34549         extra argument CHECK_NAN.  Redefine as wrapper around
34550         _FP_EXTEND_CNAN.
34552 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34554         * version.h (RELEASE): Set to "stable".
34555         (VERSION): Set to "2.21"
34556         * include/features.h (__GLIBC_MINOR__): Set to 21.
34558         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34560 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34561             Paul Eggert  <eggert@cs.ucla.edu>
34563         [BZ #16618]
34564         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34565         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34566         size in bytes. Store needed elements in wpmax. Use needed size
34567         in bytes for extend_alloca.
34569 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34571         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34572         binutls 2.25, and texinfo 5.2.
34573         * INSTALL: Regenerate.
34574         * sysdeps/nios2/configure: Regenerate.
34575         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34576         * manual/contrib.texi: Update.
34577         * po/be.po: Update.
34578         * po/bg.po: Update.
34579         * po/ca.po: Update.
34580         * po/cs.po: Update.
34581         * po/da.po: Update.
34582         * po/de.po: Update.
34583         * po/el.po: Update.
34584         * po/eo.po: Update.
34585         * po/es.po: Update.
34586         * po/fi.po: Update.
34587         * po/fr.po: Update.
34588         * po/gl.po: Update.
34589         * po/hr.po: Update.
34590         * po/hu.po: Update.
34591         * po/ia.po: Update.
34592         * po/id.po: Update.
34593         * po/it.po: Update.
34594         * po/ja.po: Update.
34595         * po/ko.po: Update.
34596         * po/lt.po: Update.
34597         * po/nb.po: Update.
34598         * po/nl.po: Update.
34599         * po/pl.po: Update.
34600         * po/pt_BR.po: Update.
34601         * po/ru.po: Update.
34602         * po/rw.po: Update.
34603         * po/sk.po: Update.
34604         * po/sl.po: Update.
34605         * po/sv.po: Update.
34606         * po/tr.po: Update.
34607         * po/uk.po: Update.
34608         * po/vi.po: Update.
34609         * po/zh_CN.po: Update.
34610         * po/zh_TW.po: Update.
34612         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34613         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34614         * sysdeps/hppa/dl-irel.h: Remove #warning.
34615         * sysdeps/hppa/entry.h: Provide prototype for
34616         __canonicalize_funcptr_for_compare and cast argument.
34617         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34618         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34619         * sysdeps/hppa/sotruss-lib.c: New file.
34620         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34621         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34622         (atomic_compare_and_exchange_bool_acq): Likewise.
34623         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34624         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34626         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34627         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34628         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34630 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34632         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34633         called function in non-PIC case.
34635 2015-01-31  David S. Miller  <davem@davemloft.net>
34637         * sysdeps/sparc/sparc32/bits/atomic.h
34638         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34639         unlock not after it.
34640         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34641         volatile register usage warnings from the compiler.
34643         * sysdeps/sparc/nptl/sem_init.c: Delete.
34644         * sysdeps/sparc/nptl/sem_post.c: Delete.
34645         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34646         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34647         * sysdeps/sparc/sparc32/sem_init.c: New file.
34648         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34649         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34650         padding explicitly initialized.
34651         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34652         padding for in-semaphore spinlock.
34653         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34654         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34655         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34656         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34657         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34658         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34659         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34660         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34661         version.
34662         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34663         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34665 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34667         [BZ #17801]
34668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34669         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34670         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34671         New.
34672         (index_AVX_Fast_Unaligned_Load): Likewise.
34673         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34674         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34675         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34676         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34677         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34678         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34679         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34680         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34681         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34683 2015-01-29  Andreas Schwab  <schwab@suse.de>
34685         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34687 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34689         [BZ #17892]
34690         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34692 2015-01-28  Martin Sebor  <msebor@redhat.com>
34694         * math/README.libm-test: Clarify. Add "How to read the test output."
34696 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34698         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34699         Define to 0.
34701 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34703         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34704         (__HAVE_64B_ATOMICS): Define to 0.
34706 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34708         [BZ #17885]
34709         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34710         value to set as new flag.
34712         [BZ #16576]
34713         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34714         and use _ARCH_PPCSQ instead.
34715         (__ieee754_sqrt): Likewise.
34716         (__ieee754_sqrtf): Likewise.
34717         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34718         _ARCH_PPCSQ is defined.
34719         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34720         fsqrt instruction.
34721         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34722         _ARCH_PPCSQ is defined.
34723         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34724         fsqrts instruction.
34725         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34727 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34729         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34730         bug (GCC BZ #64739).
34732 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34734         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34735         Mark _retval as used.
34736         (lll_futex_wake_unlock): Likewise.
34737         (lll_futex_timed_wait_requeue_pi): Likewise.
34739         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34740         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34741         register variables.
34743         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34744         libm_hidden_def.
34746         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34747         (__bswap_64): Mark as __always_inline.
34749 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34751         [BZ #15378]
34752         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34753         when none of the search directories exist.
34755 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34757         [BZ #17869]
34758         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34759         power8 in .machine directive.
34761         [BZ #17868]
34762         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34763         set dependency from opd value.
34765 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34768         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34769         architecture.
34771 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34773         [BZ #17870]
34774         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34775         with uint64_t.
34776         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34777         (uint64_t) 1.
34778         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34779         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34780         Replace 1UL with (uint64_t) 1.
34781         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34782         int with uint64_t.
34784 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34786         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34787         (if_freenameindex): Likewise.
34789         * resource/getrlimit64.c: Add missing libc_hidden_def.
34791 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34793         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34794         __label__.
34795         (_FP_FMA): Likewise.
34796         (_FP_TO_INT_ROUND): Likewise.
34797         (_FP_FROM_INT): Likewise.
34799 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34801         [BZ #16418]
34802         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34803         Make code racy and cancel safe.
34805 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34807         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34808         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34809         attribution.
34811         * pwd/tst-getpw.c: Rewrite.
34813         [BZ #17702]
34814         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34815         (modules-names): Add moddummy1 and moddummy2.
34816         ($(objpfx)tst-rec-dlopen): Define.
34817         * dlfcn/moddummy1.c: New file.
34818         * dlfcn/moddummy2.c: New file.
34819         * dlfcn/tst-rec-dlopen.c: New file.
34820         * elf/dl-cache.c (_dl_load_cache_lookup):
34821         Return char*. Copy result with alloca/strcpy/strdup.
34822         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34823         returns char*. Free cached. If not saving realname
34824         free cached.
34825         * elf/dl-open.c (dl_open_worker): Do not assert that
34826         _r_debug->r_state is RT_CONSISTENT.
34827         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34828         returns char*.
34830 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34831             Carlos O'Donell  <carlos@redhat.com>
34833         [BZ #12674]
34834         * nptl/sem_waitcommon.c: New file.
34835         * nptl/sem_wait.c: Include sem_waitcommon.c.
34836         (__sem_wait_cleanup, do_futex_wait): Remove.
34837         (__new_sem_wait): Adapt.
34838         (__new_sem_trywait): New function.
34839         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34840         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34841         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34842         (sem_timedwait): Adapt.
34843         * nptl/sem_post.c (__new_sem_post): Adapt.
34844         (futex_wake): New function.
34845         (__old_sem_post): Add release MO fence.
34846         * nptl/sem_open.c (sem_open): Adapt.
34847         * nptl/sem_init.c (__new_sem_init): Adapt.
34848         (futex_private_if_supported): New function.
34849         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34850         (__old_sem_getvalue): Add using previous code.
34851         * sysdeps/nptl/internaltypes.h: Adapt.
34852         * nptl/tst-sem13.c (do_test): Adapt.
34853         * nptl/tst-sem11.c (main): Adapt.
34854         * nptl/sem_trywait.c: Remove.
34855         * nptl/DESIGN-sem.txt: Remove.
34856         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34857         (gen-as-const-headers): Remove structsem.sym.
34858         * nptl/structsem.sym: Remove.
34859         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34860         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34861         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34862         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34863         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34864         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34865         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34866         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34867         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34868         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34869         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34870         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34871         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34872         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34873         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34874         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34875         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34876         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34877         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34878         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34879         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34880         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34882 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34884         * INSTALL: Regenerated.
34886         * po/libc.pot: Regenerated.
34888 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34889             Sandra Loosemore  <sandra@codesourcery.com>
34890             Andrew Jenner  <andrew@codesourcery.com>
34891             Joseph Myers  <joseph@codesourcery.com>
34892             Nathan Sidwell  <nathan@codesourcery.com>
34894         * NEWS: Mention new Nios II port.
34895         * sysdeps/nios2/Implies: New file.
34896         * sysdeps/nios2/Makefile: New file.
34897         * sysdeps/nios2/Subdirs: New file.
34898         * sysdeps/nios2/Versions: New file.
34899         * sysdeps/nios2/__longjmp.S: New file.
34900         * sysdeps/nios2/abort-instr.h: New file.
34901         * sysdeps/nios2/backtrace.c: New file.
34902         * sysdeps/nios2/bits/endian.h: New file.
34903         * sysdeps/nios2/bits/fenv.h: New file.
34904         * sysdeps/nios2/bits/link.h: New file.
34905         * sysdeps/nios2/bits/setjmp.h: New file.
34906         * sysdeps/nios2/bsd-_setjmp.S: New file.
34907         * sysdeps/nios2/bsd-setjmp.S: New file.
34908         * sysdeps/nios2/configure: New generated file.
34909         * sysdeps/nios2/configure.ac: New file.
34910         * sysdeps/nios2/crti.S: New file.
34911         * sysdeps/nios2/crtn.S: New file.
34912         * sysdeps/nios2/dl-init.c: New file.
34913         * sysdeps/nios2/dl-machine.h: New file.
34914         * sysdeps/nios2/dl-sysdep.h: New file.
34915         * sysdeps/nios2/dl-tls.h: New file.
34916         * sysdeps/nios2/dl-trampoline.S: New file.
34917         * sysdeps/nios2/gccframe.h: New file.
34918         * sysdeps/nios2/gmp-mparam.h: New file.
34919         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34920         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34921         * sysdeps/nios2/ldsodefs.h: New file.
34922         * sysdeps/nios2/libc-tls.c: New file.
34923         * sysdeps/nios2/libm-test-ulps: New file.
34924         * sysdeps/nios2/machine-gmon.h: New file.
34925         * sysdeps/nios2/math-tests.h: New file.
34926         * sysdeps/nios2/math_private.h: New file.
34927         * sysdeps/nios2/memusage.h: New file.
34928         * sysdeps/nios2/nptl/Makefile: New file.
34929         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34930         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34931         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34932         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34933         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34934         * sysdeps/nios2/nptl/tls.h: New file.
34935         * sysdeps/nios2/preconfigure: New file.
34936         * sysdeps/nios2/s_fma.c: New file.
34937         * sysdeps/nios2/s_fmaf.c: New file.
34938         * sysdeps/nios2/setjmp.S: New file.
34939         * sysdeps/nios2/sfp-machine.h: New file.
34940         * sysdeps/nios2/sotruss-lib.c: New file.
34941         * sysdeps/nios2/stackguard-macros.h: New file.
34942         * sysdeps/nios2/stackinfo.h: New file.
34943         * sysdeps/nios2/start.S: New file.
34944         * sysdeps/nios2/sysdep.h: New file.
34945         * sysdeps/nios2/tls-macros.h: New file.
34946         * sysdeps/nios2/tst-audit.h: New file.
34947         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34948         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34949         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34950         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34951         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34952         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34953         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34954         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34955         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34956         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34957         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34958         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34959         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34960         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34961         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34962         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34963         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34964         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34965         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34966         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34967         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34968         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34969         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34970         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34971         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34972         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34973         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34974         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34975         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34976         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34977         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34978         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34979         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34980         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34981         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34982         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34983         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34984         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34985         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34986         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34987         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34988         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34989         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34990         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34992 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34994         [BZ #17844]
34995         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34996         (getutent): Use weak_alias in non SHARED case
34997         and default_symbol_version in SHARED case.
34998         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34999         (getutent_r, pututline): Likewise.
35000         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35001         (getutid): Likewise.
35002         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35003         (getutid_r): Likewise.
35004         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35005         (getutline): Likewise.
35006         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35007         (getutline_r): Likewise.
35008         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35009         (updwtmp): Likewise.
35011 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35013         [BZ #17848]
35014         * sysdeps/s390/s390-32/memcmp.S
35015         (memcmp_g5): Rename to __memcmp_g5.
35016         * sysdeps/s390/s390-32/memcpy.S
35017         (memcpy_g5): Rename to __memcpy_g5.
35018         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35019         (memcpy_mvcle) Rename to __memcpy_mvcle.
35020         * sysdeps/s390/s390-32/memset.S
35021         (memset_g5): Rename to __memset_g5.
35022         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35023         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35024         and use prefixed functions.
35025         * sysdeps/s390/s390-32/multiarch/memcmp.S
35026         (memcmp_z196): Rename to __memcmp_z196.
35027         (memcmp_z10): Rename to __memcmp_z10.
35028         (memcmp): Set alias to __memcmp_g5.
35029         (bcmp): Set alias to __memcmp_g5.
35030         * sysdeps/s390/s390-32/multiarch/memcpy.S
35031         (memcpy_z196): Rename to __memcpy_z196.
35032         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35033         (memcpy_z10): Rename to __memcpy_z10.
35034         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35035         (memcpy): Set alias to __memcpy_g5.
35036         * sysdeps/s390/s390-32/multiarch/memset.S
35037         (memset_z196): Rename to __memset_z196.
35038         Jump to __memset_mvcle instead of memset_mvcle.
35039         (memset_z10): Rename to __memset_z10.
35040         Jump to __memset_mvcle instead of memset_mvcle.
35041         (memset_mvcle) Rename to __memset_mvcle.
35042         (memset): Set alias to __memset_g5.
35043         * sysdeps/s390/s390-64/memcmp.S
35044         (memcmp_z900): Rename to __memcmp_z900.
35045         * sysdeps/s390/s390-64/memcpy.S
35046         (memcpy_z900): Rename to __memcpy_z900.
35047         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35048         (memcpy_mvcle) Rename to __memcpy_mvcle.
35049         * sysdeps/s390/s390-64/memset.S
35050         (memset_z900): Rename to __memset_z900.
35051         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35052         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35053         and use prefixed functions.
35054         * sysdeps/s390/s390-64/multiarch/memcmp.S
35055         (memcmp_z196): Rename to __memcmp_z196.
35056         (memcmp_z10): Rename to __memcmp_z10.
35057         (memcmp): Set alias to __memcmp_z900.
35058         (bcmp): Set alias to __memcmp_z900.
35059         * sysdeps/s390/s390-64/multiarch/memcpy.S
35060         (memcpy_z196): Rename to __memcpy_z196.
35061         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35062         (memcpy_z10): Rename to __memcpy_z10.
35063         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35064         (memcpy): Set alias to __memcpy_z900.
35065         * sysdeps/s390/s390-64/multiarch/memset.S
35066         (memset_z196): Rename to __memset_z196.
35067         Jump to __memset_mvcle instead of memset_mvcle.
35068         (memset_z10): Rename to __memset_z10.
35069         Jump to __memset_mvcle instead of memset_mvcle.
35070         (memset_mvcle) Rename to __memset_mvcle.
35071         (memset): Set alias to __memset_z900.
35073 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35075         [BZ #17748]
35076         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35077         __fesetenv instead of fesetenv.
35079 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35081         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35082         macro.
35084 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35086         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35087         regression on LE.
35089         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35090         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35092         strncmp-power8 object.
35093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35094         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35095         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35096         * NEWS: Update.
35098 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35099             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35101         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35102         trailing byte check.
35104 2015-01-13  David S. Miller  <davem@davemloft.net>
35106         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35108 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35110         * login/logout.c (logout): Use memset rather than bzero.
35111         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35112         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35113         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35114         (_gethtbyaddr): Likewise.
35115         * locale/programs/simple-hash.c (bcopy): Macro removed.
35117 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35120         Add strcmp-power8 object.
35121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35122         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35123         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35124         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35125         __strcmp_power8 implementation.
35126         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35127         * NEWS: Update.
35129         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35130         Add strncpy-power8 and stpncpy-power8 objects.
35131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35132         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35133         implementations.
35134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35136         __stpncpy_power8 implementation.
35137         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35138         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35139         __strncpy_power8 implementation.
35140         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35141         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35142         * NEWS: Update.
35144         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35145         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35146         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35149         strncat-power8 object.
35150         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35151         __strcat_power8 implementation.
35152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35153         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35154         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35155         optimized strcat for power8.
35157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35158         strcpy-power8 and stpcpy-power8 objects.
35159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35160         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35161         implementations.
35162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35163         multiarch stpcpy implementation for POWER8.
35164         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35165         multiarch strcpy implementation for POWER8.
35166         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35167         __strcpy_power8 function.
35168         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35169         stpcpy for POWER8.
35170         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35171         strcpy for POWER8.
35172         * NEWS: Update.
35174 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35176         [BZ #16009]
35177         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35178         weights and rules. Use do_xfrm_cached if data fits in cache,
35179         do_xfrm otherwise.  Moved former main loop to...
35180         * (do_xfrm_cached): New function.
35181         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35182         find_idx, find_position and stack_push.
35183         * (find_idx): New function.
35184         * (find_position): Likewise.
35185         * localedata/sort-test.sh: Added test run for do_xfrm.
35186         * localedata/xfrm-test.c (main): Added command line option
35187         -nocache to run the test with strings that are too large for
35188         the STRXFRM cache.
35190 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35192         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35193         variable to lll_futex_wake call, not the value itself.
35195 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35197         [BZ #17803]
35198         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35199         twom64.  Adjust value to 0x1p-64L.
35200         (__scalblnl): Only return standard underflowing result for K <=
35201         -64 not K <= -63; adjust exponent for underflowing result by 64
35202         not 63.
35203         * math/libm-test.inc (scalbn_test_data): Add more tests.
35204         (scalbln_test_data): Likewise.
35206         [BZ #17834]
35207         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35208         0x1p63L.
35209         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35210         not HX.
35211         * math/libm-test.inc (scalbn_test_data): Add more tests.
35212         (scalbln_test_data): Likewise.
35214 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35215             Stefani Seibold  <stefani@seibold.net>
35217         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35218         (sysdep_routines): Add dl-vdso here, ...
35219         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35220         (sysdep_routines): ... not here.
35221         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35222         fallback when vDSO is not presented.
35223         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35224         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35225         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35226         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35227         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35228         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35229         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35230         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35231         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35233         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35234         fallback configurable symbol when vDSO is not available.
35235         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35236         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35237         be able to redefine fallback symbol when vDSO is not available.
35238         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35239         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35241 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35243         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35244         (TLS_INIT_TP): Add tm_capable initialization.
35245         (TLS_DEFINE_INIT_TP): Likewise.
35246         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35247         TCB.
35248         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35249         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35250         calculation.
35251         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35252         transactoion is lock elision is built and TCB tm_capable is set.
35253         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35255         (INTERNAL_SYSCALL_NCS): Likewise.
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35257         (INTERNAL_SYSCALL_NCS): Likewise.
35258         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35260         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35261         for powerpc.
35262         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35263         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35264         and remove it for 32 bits case.
35265         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35267         initialization.
35268         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35269         Disable lock elision with rdlocks if elision is not available.
35271         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35272         (sysdep_routines): Add lock elision objects.
35273         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35274         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35275         [pthread_mutex_t] (__elision): Add field.
35276         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35277         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35278         elision definitions for powerpc.
35279         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35280         implementation of lock elision for powerpc.
35281         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35282         implementation of timed lock elision for powerpc.
35283         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35284         implementation of trylock with lock elision for powerpc.
35285         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35286         implementaion of unlock for lock elision for powerpc.
35287         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35288         automatic enable lock elision for mutexes.
35289         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35290         transaction execution definitions for powerpc.
35291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35292         definitions.
35293         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35294         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35295         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35296         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35297         * NEWS: Update.
35299 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35301         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35302         for #include of <shm-directory.h>.
35304 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35306         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35307         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35309 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35311         [BZ #17791]
35312         * NEWS: Mention bug fix.
35313         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35314         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35315         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35317 2015-01-09  Torvald Riegel <triegel@redhat.com>
35319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35321 2015-01-09  Torvald Riegel <triegel@redhat.com>
35323         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35325 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35327         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35328         pointer and cast to uintptr_t.
35330 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35332         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35333         removed.
35334         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35336 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35338         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35339         of 0.
35341 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35343         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35344         <nptl/pthreadP.h> instead.
35345         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35347         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35348         already defined.
35349         [__SIGRTMIN] (init): Function removed.
35350         [__SIGRTMIN] (initialized): Variable removed.
35351         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35352         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35353         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35354         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35355         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35356         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35357         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35358         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35359         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35360         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35361         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35362         * sysdeps/nptl/allocrtsig.c: New file.
35363         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35364         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35365         * sysdeps/generic/testrtsig.h: File removed.
35367         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35368         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35370         * nptl/nptl-init.c (pthread_functions): Conditionalize
35371         .ptr__nptl_setxid initialization on [SIGSETXID].
35373         * sysdeps/nptl/sys/procfs.h: New file.
35374         * nptl_db/Makefile (headers): Add it.
35375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35377         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35378         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35379         * nptl/pthread_attr_setaffinity.c: Include it.
35380         * nptl/pthread_setattr_default_np.c: Likewise.
35381         * nptl/check-cpuset.h: New file.
35383 2015-01-08  Richard Henderson  <rth@redhat.com>
35385         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35386         (CFLAGS-tst-execstack-prog.c): Likewise.
35387         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35389 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35390             Sandra Loosemore  <sandra@codesourcery.com>
35391             Andrew Jenner  <andrew@codesourcery.com>
35392             Joseph Myers  <joseph@codesourcery.com>
35393             Nathan Sidwell  <nathan@codesourcery.com>
35395         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35396         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35397         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35398         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35399         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35400         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35401         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35402         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35403         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35404         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35405         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35406         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35407         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35408         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35409         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35410         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35411         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35413 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35415         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35416         timespec struct member in syscall macro.
35417         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35418         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35419         first timeval struct member in syscall macro.
35420         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35422 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35424         [BZ #17748]
35425         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35426         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35427         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35428         __feupdateenv and define as weak alias of __feupdateenv.  Use
35429         libm_hidden_weak.
35430         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35431         libm_hidden_def.
35432         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35433         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35434         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35435         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35436         libm_hidden_def.
35437         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35438         __feupdateenv and define as weak alias of __feupdateenv.  Use
35439         libm_hidden_weak.
35440         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35441         libm_hidden_def.
35442         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35443         __feupdateenv and define as weak alias of __feupdateenv.  Use
35444         libm_hidden_weak.
35445         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35446         libm_hidden_def.
35447         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35448         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35449         (__feupdateenv): Likewise.
35450         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35451         __feupdateenv and define as weak alias of __feupdateenv.  Use
35452         libm_hidden_weak.
35453         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35454         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35455         libm_hidden_def.
35456         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35457         function.
35458         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35459         libm_hidden_def.
35460         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35461         __feupdateenv instead of feupdateenv.
35462         (default_libc_feupdateenv_test): Likewise.
35463         (libc_feresetround_ctx): Likewise.
35465 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35467         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35468         prototype.
35470 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35472         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35473         COLL_SYM in a couple of places to avoid uninitialized variable
35474         wanings on tilegx gcc 4.8.2.
35476 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35478         * sysdeps/aarch64/strcpy.S: New file.
35479         * sysdeps/aarch64/stpcpy.S: New file.
35480         * NEWS: Updated.
35482 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35484         * sysdeps/aarch64/strrchr.S: New file.
35485         * NEWS: Updated.
35487 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35489         [BZ #17658]
35490         * stdlib/setenv.c: Fix memory leak when setting large,
35491         duplicate string.
35493 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35495         [BZ #17273]
35496         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35497         and tabs from buffer before parsing fstab entry.
35498         * misc/tst-mntent.c (main): Add test for mount entry with
35499         trailing spaces and tabs.
35501 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35503         [BZ #17748]
35504         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35505         * math/fesetround.c (fesetround): Rename to __fesetround and
35506         define as weak alias of __fesetround.  Use libm_hidden_weak.
35507         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35508         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35509         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35510         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35511         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35512         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35513         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35514         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35515         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35516         __fesetround_inline.
35517         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35518         __fesetround_inline instead of __fesetround.
35519         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35520         __fesetround and define as weak alias of __fesetround.  Use
35521         libm_hidden_weak.  Call __fesetround_inline instead of
35522         __fesetround.
35523         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35524         __fesetround and define as weak alias of __fesetround.  Use
35525         libm_hidden_weak.
35526         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35527         Likewise.
35528         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35529         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35530         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35531         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35532         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35533         __fesetround and define as weak alias of __fesetround.  Use
35534         libm_hidden_weak.
35535         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35536         __fesetround instead of fesetround.
35537         (default_libc_feholdexcept_setround): Likewise.
35538         (libc_feholdsetround_ctx): Likewise.
35539         (libc_feholdsetround_noex_ctx): Likewise.
35541         [BZ #17748]
35542         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35543         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35544         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35545         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35546         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35547         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35548         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35549         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35550         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35551         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35552         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35553         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35554         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35555         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35556         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35557         libm_hidden_def.
35558         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35559         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35560         Likewise.
35561         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35562         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35563         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35564         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35565         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35566         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35567         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35568         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35569         __fesetenv instead of fesetenv.
35570         (libc_feresetround_noex_ctx): Likewise.
35571         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35572         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35573         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35574         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35575         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35576         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35577         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35578         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35579         (__feupdateenv): Likewise.
35580         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35581         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35582         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35583         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35585 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35587         [BZ #17806]
35588         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35589         addresses have been freed.
35591 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35593         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35594         and nservall.
35596 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35598         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35599         Clean up check_pf allocation pattern. addresses
35601 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35603         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35604         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35605         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35606         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35607         * nptl/pthread_join.c (pthread_join): Likewise.
35608         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35609         * sysdeps/posix/waitid.c (__waitid): Likewise.
35610         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35611         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35612         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35613         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35615         Likewise.
35616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35617         (__libc_pread64): Likewise.
35618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35619         (__libc_pwrite): Likewise.
35620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35621         (__libc_pwrite64): Likewsie.
35622         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35623         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35624         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35625         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35626         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35627         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35628         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35630         Likewise.
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35632         (__libc_pread64): Likewise.
35633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35634         Likewise.
35635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35636         (__libc_pwrite64): Likewise.
35637         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35638         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35639         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35640         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35641         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35642         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35643         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35644         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35645         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35646         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35647         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35648         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35649         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35650         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35651         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35652         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35653         Likewise.
35655 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35657         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35658         (CFLAGS-test-double.c): Likewise.
35659         (CFLAGS-test-ldouble.c): Likewise.
35660         (CPPFLAGS-test-ifloat.c): Likewise.
35661         (CPPFLAGS-test-idouble.c): Likewise.
35662         (CPPFLAGS-test-ildoubl.c): Likewise.
35663         (CFLAGS-test-test-fenv.c): Remove variable.
35664         (CFLAGS-test-misc.c): Likewise.
35666 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35668         [BZ #17797]
35669         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35670         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35671         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35672         CLOCKS_PER_SEC == 1000000.
35673         * time/clocktest.c (main): Replace %ld with %jd and cast to
35674         intmax_t.
35676 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35678         * sysdeps/generic/unwind-resume.h: New file.
35679         * sysdeps/gnu/unwind-resume.c: Include it.
35680         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35681         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35682         argument list.
35683         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35684         global rather than static.
35685         (_Unwind_Resume): Update user.
35686         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35687         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35688         rather than static.  Add __attribute__ ((cold)).
35689         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35690         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35691         * sysdeps/arm/arm-unwind-resume.S: New file.
35692         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35693         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35694         * sysdeps/arm/Makefile [$(subdir) = csu]
35695         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35696         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35697         Add rt-arm-unwind-resume.
35698         [$(subdir) = nptl]
35699         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35700         Add pt-arm-unwind-resume.
35701         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35702         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35704 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35706         [BZ #17748]
35707         * include/fenv.h (__feholdexcept): Declare.  Use
35708         libm_hidden_proto.
35709         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35710         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35711         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35712         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35713         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35714         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35715         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35716         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35717         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35718         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35719         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35720         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35721         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35722         (feholdexcept): Likewise.
35723         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35724         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35725         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35726         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35727         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35728         __feholdexcept instead of feholdexcept.
35729         (default_libc_feholdexcept_setround): Likewise.
35731 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35733         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35734         to avoid using stl/str to align destination.
35736 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35738         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35740 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35742         [BZ #17796]
35743         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35744         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35745         Define as weak alias not strong alias.
35747 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35749         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35750         bltzal with addiupc.
35751         (RTLD_START): Ditto.
35753 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35755         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35756         for __vdso_* functions in declarations.
35757         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35758         definitions.
35759         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35760         INTERNAL_VSYSCALL): Use struct return types to check for error.
35762         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35763         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35764         function with cast from llround().
35765         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35766         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35767         Define.
35769 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35771         [BZ #17793]
35772         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35773         Define as weak alias not strong alias.
35775         [BZ #17635]
35776         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35777         ...
35778         * ctype/ctype-extn.c: ... here.
35779         (__isblank_l): Move to ...
35780         * ctype/ctype-c99_l.c: ... here.  New file.
35781         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35782         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35783         Remove variable.
35784         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35785         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35786         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35787         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35788         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35790         [BZ #17777]
35791         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35792         (posix_fadvise64): Define as weak alias not strong alias.
35793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35794         (posix_fallocate64): Likewise.
35795         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35796         Remove variable.
35797         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35798         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35799         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35800         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35801         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35803 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35805         [BZ #16191]
35806         * NEWS: Mention bug fix.
35807         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35808         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35809         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35810         (HOST_STACK_END_ADDR): Likewise.
35812 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35814         [BZ #17748]
35815         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35816         * math/fegetround.c (fegetround): Rename to __fegetround and
35817         define as weak alias of __fegetround.  Use libm_hidden_weak.
35818         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35819         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35820         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35821         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35822         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35823         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35824         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35825         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35826         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35827         Undefine after rather than before function definition; use
35828         parentheses around function name in definition.
35829         (__fegetround): Also undefine macro after function definition.
35830         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35831         __fegetround and define as weak alias of __fegetround.  Use
35832         libm_hidden_weak.  Do not undefine as macro.
35833         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35834         Likewise.
35835         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35836         __fegetround and define as weak alias of __fegetround.  Use
35837         libm_hidden_weak.
35838         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35839         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35840         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35841         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35842         __fegetround and define as weak alias of __fegetround.  Use
35843         libm_hidden_weak.
35844         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35845         __fegetround instead of fegetround.
35847         [BZ #17782]
35848         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35849         Condition macro definition on [__USE_MISC].
35851         [BZ #17781]
35852         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35853         (struct sigaction): Change type of sa_flags field to int.
35855         [BZ #17780]
35856         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35857         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35858         __glibc_reserved0.
35860         * nptl/version.c (banner): Use single year in copyright notice.
35862         * NEWS: Update copyright dates.
35863         * catgets/gencat.c (print_version): Likewise.
35864         * csu/version.c (banner): Likewise.
35865         * debug/catchsegv.sh: Likewise.
35866         * debug/pcprofiledump.c (print_version): Likewise.
35867         * debug/xtrace.sh (do_version): Likewise.
35868         * elf/ldconfig.c (print_version): Likewise.
35869         * elf/ldd.bash.in: Likewise.
35870         * elf/pldd.c (print_version): Likewise.
35871         * elf/sotruss.sh: Likewise.
35872         * elf/sprof.c (print_version): Likewise.
35873         * iconv/iconv_prog.c (print_version): Likewise.
35874         * iconv/iconvconfig.c (print_version): Likewise.
35875         * locale/programs/locale.c (print_version): Likewise.
35876         * locale/programs/localedef.c (print_version): Likewise.
35877         * login/programs/pt_chown.c (print_version): Likewise.
35878         * malloc/memusage.sh (do_version): Likewise.
35879         * malloc/memusagestat.c (print_version): Likewise.
35880         * malloc/mtrace.pl: Likewise.
35881         * manual/libc.texinfo: Likewise.
35882         * nptl/version.c (banner): Likewise.
35883         * nscd/nscd.c (print_version): Likewise.
35884         * nss/getent.c (print_version): Likewise.
35885         * nss/makedb.c (print_version): Likewise.
35886         * posix/getconf.c (main): Likewise.
35887         * scripts/test-installation.pl: Likewise.
35888         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35890 2015-01-02  Will Newton  <will.newton@linaro.org>
35892         * sysdeps/arm/armv7/configure: Removed.
35893         * sysdeps/arm/armv7/configure.ac: Likewise.
35895 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35897         * All files with FSF copyright notices: Update copyright dates
35898         using scripts/update-copyrights.
35899         * intl/plural.c: Regenerated.
35900         * locale/programs/charmap-kw.h: Likewise.
35901         * locale/programs/locfile-kw.h: Likewise.
35903 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35905         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35907 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35909         [BZ #17748]
35910         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35911         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35912         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35913         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35914         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35915         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35916         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35917         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35918         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35919         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35920         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35921         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35922         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35923         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35924         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35925         libm_hidden_def.
35926         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35928         Likewise.
35929         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35930         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35931         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35932         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35933         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35934         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35935         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35936         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35937         __fegetenv instead of fegetenv.
35938         (libc_feholdsetround_noex_ctx): Likewise.
35940 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35942         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35943         (Elf_MIPS_ABIFlags_v0): New structure.
35944         (EF_MIPS_FP64): Define.
35945         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35946         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35947         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35948         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35949         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35950         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35951         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35952         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35953         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35954         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35955         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35956         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35957         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35958         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35959         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35960         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35961         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35962         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35963         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35964         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35965         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35966         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35967         field.
35968         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35969         EF_MIPS_FP64.
35970         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35971         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35972         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35973         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35974         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35975         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35976         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35977         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35978         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35979         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35980         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35981         record the current FP ABI extension.
35982         (mips-mode-switch): Define to show if kernel headers support mode
35983         switching.
35984         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35985         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35986         supported SYSV ABI version to 3.
35987         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35988         feature.
35990 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35991             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35993         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35994         path.
35995         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35997 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35999         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36000         __fegetround and redefine to call __fegetround.  Remove condition
36001         on [!__NO_MATH_INLINES].
36002         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36003         function.
36004         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36006         Remove macro.
36007         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36008         instead of <fenv_libc.h>.
36009         (__llrintl): Call fegetround instead of __fegetround.
36010         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36011         instead of <fenv_libc.h>.
36012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36013         (__lrintl): Call fegetround instead of __fegetround.
36014         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36015         instead of <fenv_libc.h>.
36016         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36017         (__rintl): Call fegetround instead of __fegetround.
36019 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36022         arrays.
36024 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36026         [BZ #17775]
36027         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36028         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36029         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36031 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36033         * sysdeps/i386/tls-macros.h: Include <features.h>.
36034         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36035         (TLS_IE): Likewise.
36036         (TLS_LD): Likewise.
36037         (TLS_GD): Likewise.
36038         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36039         define for GCC >= 5.0.
36041 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36043         * math/test-fenv.c (test_single_exception, set_single_exc,
36044         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36045         feexcp_mask_test, feenable_test, fe_single_test): Add
36046         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36047         case where they are not used.
36048         * math/libm-test.inc: Likewise.
36049         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36050         unused in the absence of FP rounding/exception support.
36051         * stdio-common/tst-printf-round.c: Likewise.
36052         * stdlib/tst-strtod-round.c: Likewise.
36053         * stdlib/tst-strtod-underflow.c: Likewise.
36055 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36057         [BZ #17723]
36058         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36059         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36060         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36061         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36062         libm_hidden_weak.
36063         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36064         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36065         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36066         libm_hidden_def.
36067         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36068         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36069         libm_hidden_weak.
36070         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36071         Likewise.
36072         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36073         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36074         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36075         libm_hidden_weak.
36076         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36077         libm_hidden_def.
36078         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36080         (__feraiseexcept): Likewise.
36081         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36082         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36083         libm_hidden_weak.
36084         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36085         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36086         libm_hidden_def.
36087         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36088         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36089         Use libm_hidden_def.
36090         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36091         libm_hidden_def.
36092         (feraiseexcept): Define as weak not strong alias.  Use
36093         libm_hidden_weak.
36094         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36095         New inline function.  Factored out of ...
36096         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36097         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36098         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36099         feraiseexcept.
36100         * math/w_acos.c (__acos): Likewise.
36101         * math/w_asin.c (__asin): Likewise.
36102         * math/w_ilogb.c (__ilogb): Likewise.
36103         * math/w_j0.c (y0): Likewise.
36104         * math/w_j1.c (y1): Likewise.
36105         * math/w_jn.c (yn): Likewise.
36106         * math/w_log.c (__log): Likewise.
36107         * math/w_log10.c (__log10): Likewise.
36108         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36109         * sysdeps/aarch64/fpu/math_private.h
36110         (libc_feupdateenv_test_aarch64): Likewise.
36111         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36112         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36113         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36114         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36115         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36116         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36117         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36118         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36119         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36120         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36122 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36124         [BZ #17732]
36125         * io/test-utime.c (main): Replace %ld with %jd and cast to
36126         intmax_t.
36127         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36128         * nptl/tst-mutex5.c: Include <stdint.h>.
36129         (do_test): Replace %ld with %jd and cast to intmax_t.
36130         * posix/tst-regex.c (run_test): Likewise.
36131         (run_test_backwards): Likewise.
36132         * rt/tst-clock.c: Include <stdint.h>.
36133         (clock_test): Replace %ld with %jd and cast to intmax_t.
36134         * rt/tst-cpuclock1.c: Include <stdint.h>.
36135         (do_test): Replace %lu with %ju and cast to uintmax_t.
36136         * rt/tst-cpuclock2.c: Include <stdint.h>.
36137         (do_test): Replace %lu with %ju and cast to uintmax_t.
36138         * rt/tst-mqueue1.c: Include <stdint.h>.
36139         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36140         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36141         intmax_t.
36142         * rt/tst-mqueue4.c (do_test): Likewise.
36143         * rt/tst-timer4.c: Include <stdint.h>.
36144         (check_ts): Replace %ld with %jd and cast to intmax_t.
36145         (do_test): Likewise.
36146         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36147         and cast to intmax_t.
36148         * sysdeps/pthread/tst-timer.c (main): Likewise.
36149         * time/clocktest.c (main): Likewise.
36150         * time/tst-posixtz.c (do_test): Likewise.
36151         * timezone/tst-timezone.c (main): Likewise.
36153 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36154             H.J. Lu  <hongjiu.lu@intel.com>
36156         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36157         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36158         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36159         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36160         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36161         version if bit_Fast_Unaligned_Load is set.
36162         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36163         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36164         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36165         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36166         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36167         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36169         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36170         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36171         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36172         to 4.
36173         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36174         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36175         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36176         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36178 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36180         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36181         instead of #if to avoid a Wundef warning.
36182         * stdlib/tst-limits.c (do_test): Likewise.
36184         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36185         parallel other exception macros.
36186         (fegetenv): Convert from macro to extern inline so that it applies
36187         retroactively to inline functions already seen by the compiler.
36188         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36190         * posix/Makefile (before-compile): Use $(objpfx) for
36191         posix-conf-vars-def.h.
36193 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36195         * posix/getconf.c (main): Use size_t for type of I.
36196         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36197         NSPEC.
36199         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36200         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36201         * posix/posix-envs.def: Likewise.
36202         * sysdeps/posix/sysconf.c: Likewise.
36203         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36204         (specs): Remove array.
36205         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36206         array.
36208         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36209         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36210         (__sysconf): Use CONF_IS_* macros.
36212         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36213         ($(objpfx)posix-conf-vars-def.h): New target.
36214         * posix/posix-conf-vars.list: New file.
36215         * posix/posix-conf-vars.h: New file.
36216         * posix/confstr.c: Include posix-conf-vars.h.
36217         (confstr): Use CONF_IS_* macros.
36218         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36219         CONF_IS_* macros.
36220         * scripts/gen-posix-conf-vars.awk: New file.
36222 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36224         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36225         fegetround): Add no-op macros to avoid linknamespace issues.
36227         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36228         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36230         * sysdeps/unix/sysv/linux/tile/sysdep.h
36231         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36232         assembly-specific section to avoid a redefinition warning.
36234         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36235         long before casting to pointer to avoid a cast warning.
36237 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36239         * sysdeps/tile/tilegx/Implies: New file.
36241 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36243         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36245 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36247         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36249 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36252         not define.
36253         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36254         <kernel-features.h>.
36255         (__utimes) [__NR_utimes]: Make code unconditional.
36256         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36257         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36258         (__ASSUME_UTIMES): Do not undefine.
36259         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36260         (__ASSUME_UTIMES): Likewise.
36261         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36262         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36263         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36264         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36266 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36268         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36270 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36272         [BZ #17747]
36273         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36274         alias to weak alias for j0l, y0l.
36275         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36276         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36278         [BZ #17746]
36279         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36280         conversion.
36282 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36284         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36285         to zero if not already defined.
36287 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36289         [BZ #17724]
36290         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36291         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36292         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36293         (char *) casts added.
36294         * sysdeps/ieee754/k_standardf.c: New file.
36295         * sysdeps/ieee754/k_standardl.c: Likewise.
36296         * math/Makefile (libm-support): Remove k_standard.
36297         (libm-calls): Add k_standard.
36299 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36301         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36302         Optimize to avoid an unnecessary FPCR read.
36304 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36306         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36307         Optimize to reduce FPCR/FPSR accesses.
36309 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36311         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36312         Call libc_fetestexcept_aarch64.
36314 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36316         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36317         Call libc_fesetround_aarch64.
36319 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36321         [BZ #17733]
36322         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36323         (__bind): Do not define as weak alias.
36324         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36325         define.
36326         (__getsockname): Do not define as weak alias.
36328 2014-12-22  Will Newton  <will.newton@linaro.org>
36330         * manual/install.texi: Document that we require bison 2.7
36331         or above.
36332         * INSTALL: Regenerate.
36333         * configure.ac: Use AC_CHECK_PROG_VER instead of
36334         AC_PATH_PROG when checking for bison and check for
36335         version 2.7 or above.
36336         * configure: Regenerate.
36338 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36340         [BZ #17745]
36341         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36342         * sysdeps/tile/ffsll.c (ffsll): To here.
36344         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36346 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36348         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36349         if not defined.
36350         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36351         definition.
36352         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36353         hidden ___tls_get_addr.
36354         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36355         hidden __tls_get_addr.
36356         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36357         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36358         Likewise.
36360 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36362         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36363         _dl_init call.
36365 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36367         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36368         from "call _dl_init@PLT".
36369         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36371 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36373         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36374         guarantees.
36376 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36378         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36380 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36382         [BZ #17744]
36383         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36384         strnlen.
36386 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36388         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36389         of multu on MIPSr6.
36390         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36391         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36392         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36393         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36394         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36396 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36398         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36399         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36400         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36401         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36402         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36403         mips32r6/mips64r6.
36404         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36406 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36408         * string/strncat.c (STRNCAT): Simplify implementation.
36410 2014-12-19  David S. Miller  <davem@davemloft.net>
36412         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36413         access the quad as both a long double and as a series of 4 words.
36415         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36416         link_map->l_info array access.
36418 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36420         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36422         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36423         * math/atest-exp2.c (TIMEOUT): Likewise.
36424         * math/atest-sincos.c (TIMEOUT): Likewise.
36426 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36428         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36429         -Wno-error with -fno-builtin-lround.
36431 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36433         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36434         Contains futex constants and functions moved over from ...
36435         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36436         <lowlevellock-futex.h>.
36437         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36438         (lll_timedwait_tid): Add comments and parentheses around macro
36439         arguments.
36441 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36443         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36444         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36445         (__lll_private_flag): Remove.
36446         (lll_futex_wait): Likewise.
36447         (lll_futex_timed_wait): Likewise.
36448         (lll_futex_wake): Likewise.
36449         (lll_futex_requeue): Likewise.
36450         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36451         (__lll_timedwait_tid): Spell out argument names.
36452         (lll_timedwait_tid): Add comments and parentheses around macro
36453         arguments.
36454         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36455         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36457 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36459         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36460         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36461         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36462         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36463         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36464         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36465         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36466         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36467         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36470         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36471         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36473         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36474         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36475         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36476         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36477         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36479 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36481         * sysdeps/x86_64/x32/Makefile: New file.
36483 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36485         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36486         1L with (mp_limb_t) 1.
36488 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36490         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36491         * nptl/libc_pthread_init.c: ... here.
36492         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36493         * nptl/register-atfork.c: ... here.
36495         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36496         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36497         Use assert_perror to check its return value.
36498         (__gai_create_helper_thread): Likewise.
36500         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36502         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36504 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36506         [BZ #17725]
36507         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36508         __profil_counter.
36509         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36510         Likewise.
36511         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36512         Likewise.
36513         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36514         Likewise.
36515         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36516         (profil_counter): Likewise.
36517         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36518         (profil_counter): Likewise.
36519         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36520         Likewise.
36521         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36522         Likewise.
36523         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36524         (profil_counter): Likewise.
36525         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36526         Likewise.
36527         [!__profil_counter] (profil_counter): Define as weak alias of
36528         __profil_counter.
36529         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36530         (profil_counter): Rename to __profil_counter.
36531         [!__profil_counter] (profil_counter): Define as weak alias of
36532         __profil_counter.
36533         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36534         (profil_counter): Rename to __profil_counter.
36535         [!__profil_counter] (profil_counter): Define as weak alias of
36536         __profil_counter.
36537         * sysdeps/posix/profil.c: Update comment referring to
36538         profil_counter.
36539         (__profil): Use __profil_counter instead of profil_counter.
36540         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36541         __profil_counter.  Use __profil_counter_ushort and
36542         __profil_counter_uint in definitions.
36543         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36544         instead of profil_counter_uint and profil_counter_ushort.
36546         [BZ #17722]
36547         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36548         define as weak alias of __inet_makeaddr.
36549         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36550         as weak alias of __inet_addr.
36551         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36552         as weak alias of __inet_pton.  Use libc_hidden_weak.
36553         * include/arpa/inet.h (__inet_pton): Declare.  Use
36554         libc_hidden_proto.
36555         (inet_makeaddr): Don't use libc_hidden_proto.
36556         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36557         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36558         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36559         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36560         Remove variable.
36561         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36562         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36564 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36566         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36568 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36570         * stdio-common/bug-vfprintf-nargs.c (do_test):
36571         Cast value to intptr_t to avoid format warning
36572         for usage with PRIdPTR printing macro.
36574 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36576         * libio/tst-widetext.c (do_test):
36577         Use format type %td instead of %Zd for ptrdiff_t
36578         in order to avoid format warning.
36580 2014-12-17  Andreas Schwab  <schwab@suse.de>
36582         * nscd/mem.c (gc): Add size_t cast to match printf format.
36584 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36586         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36587         (init): Apply PTR_MANGLE to pointers before storing them.
36588         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36589         before using them.
36591 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36593         [BZ #17719]
36594         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36595         define as weak alias of __memrchr.
36596         (__memrchr): Do not define as strong alias of memrchr.
36597         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36598         Remove variable.
36599         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36600         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36601         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36603         [BZ #17717]
36604         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36605         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36606         (if_indextoname): Rename to __if_indextoname and define as weak
36607         alias of __if_indextoname.  Use libc_hidden_weak.
36608         (if_freenameindex): Rename to __if_freenameindex and define as
36609         weak alias of __if_freenameindex.
36610         (if_nameindex): Rename to __if_nameindex and define as weak alias
36611         of __if_nameindex.
36612         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36613         __if_nametoindex and define as weak alias of __if_nametoindex.
36614         Use libc_hidden_weak.
36615         (if_freenameindex): Rename to __if_freenameindex and define as
36616         weak alias of __if_freenameindex.
36617         (if_nameindex): Rename to __if_nameindex and define as weak alias
36618         of __if_nameindex.
36619         (if_indextoname): Rename to __if_indextoname and define as weak
36620         alias of __if_indextoname.  Use libc_hidden_weak.
36621         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36622         __if_nametoindex and define as weak alias of __if_nametoindex.
36623         Use libc_hidden_weak.
36624         (if_freenameindex): Rename to __if_freenameindex and define as
36625         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36626         (if_nameindex_netlink): Use __if_freenameindex instead of
36627         if_freenameindex.
36628         (if_nameindex): Rename to __if_nameindex and define as weak alias
36629         of __if_nameindex.  Use libc_hidden_weak.
36630         (if_indextoname): Rename to __if_indextoname and define as weak
36631         alias of __if_indextoname.  Use libc_hidden_weak.
36632         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36633         libc_hidden_proto.
36634         [!_ISOMAC] (__if_freenameindex): Likewise.
36635         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36636         if_nametoindex.
36637         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36638         variable.
36639         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36640         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36641         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36642         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36643         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36644         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36645         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36647         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36648         Remove variable.
36649         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36650         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36652 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36654         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36655         subscript above bounds'
36657         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36658         bounds.
36660 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36662         * libio/tst-fopenloc.c: Use test-skeleton.c.
36664         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36665         (entry): Rename to ITEM.
36666         (do_test, comp): Adjust.
36668         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36670 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36672         * string/tester.c: Include <libc-internal.h>.
36673         (test_memset): Ignore -Wmemset-transposed-args.
36675 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36677         * misc/tst-mntent2.c (do_test): Fix warning.
36679 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36681         * elf/tst-unique4lib.cc(a): Mark as used.
36683 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36685         [BZ #17630]
36686         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36687         names.
36689 2014-12-16  Allan McRae  <allan@archlinux.org>
36691         * stdio-common/Makefile (tests): Re-add bug26.
36693 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36695         [BZ #17657]
36696         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36697         static array.
36699 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36701         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36702         (__lll_lock_wait): Likewise.
36703         (__lll_timedlock_wait): Likewise.
36704         (__lll_timedwait_tid): Likewise.
36705         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36706         (__lll_robust_timedlock_wait): Likewise.
36707         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36708         (lll_cond_trylock): Likewise.
36709         (__lll_lock): Likewise.
36710         (__lll_robust_lock): Likewise.
36711         (__lll_cond_lock): Likewise.
36712         (lll_robust_cond_lock): Likewise.
36713         (__lll_timedlock): Likewise.
36714         (__lll_robust_timedlock): Likewise.
36715         (__lll_unlock): Likewise.
36716         (__lll_robust_unlock): Likewise.
36717         (lll_wait_tid): Likewise.
36718         (lll_timedwait_tid): Likewise.
36720 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36722         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36724 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36726         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36728 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36730         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36731         * stdio-common/tst-sprintf.c: Likewise.
36733 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36735         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36737 2014-12-15  Jeff Law  <law@redhat.com>
36739         [BZ #16617]
36740         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36741         on the heap.  (CVE-2012-3406)
36742         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36743         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36744         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36746 2014-12-15  Will Newton  <will.newton@linaro.org>
36748         * manual/install.texi: Bump required version of texinfo
36749         to 4.7 from 4.5.
36750         * INSTALL: Regenerated.
36751         * configure.ac: Check for makeinfo version 4.7 and above.
36752         * configure: Regenerated.
36754 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36756         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36757         PREFIX, string constant to insert between directory and name.
36758         * sysdeps/posix/shm_open.c: Update caller.
36759         * sysdeps/posix/shm_unlink.c: Likewise.
36760         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36761         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36762         (SEM_SHM_PREFIX): New macro.
36763         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36764         [$(have-thread-library) = no].
36765         * nptl/Makefile (libpthread-routines): Add shm-directory.
36766         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36767         * sysdeps/nptl/shm-directory.h: New file.
36768         * sysdeps/posix/shm-directory.c
36769         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36770         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36771         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36772         INTERNAL_SYSCALL.
36773         (__where_is_shmfs): Function removed.
36774         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36775         Variables removed.
36776         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36777         Use SHM_GET_NAME.
36778         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36780         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36781         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36782         unconditional for use inside libpthread.
36783         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36785 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36787         * nptl/pthread_getaffinity.c: New file.
36788         * nptl/pthread_setaffinity.c: New file.
36789         * nptl/pthread_getname.c: New file.
36790         * nptl/pthread_setname.c: New file.
36792         * nptl/pthread_create.c (START_THREAD_DEFN)
36793         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36795 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36798         * resolv/res_send.c (send_vc): Disable warning resplen may
36799         be used uninitialized.
36801 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36803         * nptl/tst-mutex6.c
36804         (ATTR_NULL): New define checks ATTR against NULL.
36805         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36806         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36808 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36810         [BZ #17581]
36811         * malloc/hooks.c
36812         (mem2mem_check): Revert my previous change.
36813         (malloc_check_get_size): Revert my previous change.
36814         (mem2chunk_check): Revert my previous change.
36816 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36818         * sysdeps/posix/shm-directory.c: New file.
36819         * sysdeps/posix/shm-directory.h: New file.
36820         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36821         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36822         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36823         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36824         Transmute EPERM to EACCES.
36825         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36826         from ...
36827         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36828         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36830 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36832         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36833         pointer and cast to uintptr_t.
36834         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36835         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36836         Add cast to avoid warning.
36837         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36839 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36841         * nptl/semaphore.h: Move to ...
36842         * sysdeps/pthread/semaphore.h: ... here.
36843         * Makefile (installed-headers): Change nptl/semaphore.h to
36844         sysdeps/pthread/semaphore.h.
36846 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36848         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36849         generated error format strings.
36851         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36852         -Wformat-extra-args warnings for scanf formats.
36853         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36854         test of zero-length format (duh).
36855         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36856         corner-case scanf format test.
36857         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36858         generated fprintf format string.
36859         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36860         corner-case sprintf format tests.
36861         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36862         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36863         -Wformat-extra-args warnings throughout.
36864         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36865         (CFLAGS-scanf4.c): Likewise.
36866         (CFLAGS-scanf7.c): Likewise.
36867         (CFLAGS-tst-sprintf.c): Likewise.
36868         (CFLAGS-tst-printf.c): Likewise.
36869         (CFLAGS-tst-printfsz.c): Likewise.
36871 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36873         * include/cpio.h: New file.
36874         * include/fmtmsg.h: Likewise.
36876         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36877         corresponding format argument to size_t.
36878         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36879         arguments.
36880         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36881         corresponding format argument to size_t.
36882         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36883         arguments.
36884         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36885         corresponding format argument to size_t.
36886         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36887         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36888         (CFLAGS-tst-mbswcs2.c): Likewise.
36889         (CFLAGS-tst-mbswcs3.c): Likewise.
36890         (CFLAGS-tst-mbswcs4.c): Likewise.
36891         (CFLAGS-tst-mbswcs5.c): Likewise.
36892         (CFLAGS-tst-trans.c): Likewise.
36894 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36896         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36897         rather than assuming they won't contain any '%'s.
36899 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36901         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36902         inhibit_loop_to_libcall to avoid recursive calls.
36903         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36904         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36906 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36908         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36909         prototype.
36911 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36913         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36914         integer value instead of boolean.
36916 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36918         * malloc/malloc.c: Fix powerof2 check.
36920 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36922         * locale/programs/locfile.h (maybe_swap_uint32):
36923         Remove inline and add unused attribute.
36925 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36928         Truncating assembler expression to a .long expression.
36930 2014-12-11  Andreas Schwab  <schwab@suse.de>
36932         * elf/rtld.c (struct map_args): Constify str member.
36933         (do_preload): Constify fname argument.
36935 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36937         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36938         constants definition.
36940 2014-12-11  Andreas Schwab  <schwab@suse.de>
36942         [BZ #16657]
36943         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36944         FORCE_ELISION instead of DO_ELISION.
36945         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36946         Remove.
36947         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36948         Likewise.
36950         * iconvdata/gconv-modules: Remove duplicate entry.
36952 2014-12-11  Will Newton  <will.newton@linaro.org>
36954         Merge gettext 0.19.3 into intl/.
36956         This involves a number of cosmetic changes to comments
36957         and ANSI function definitions and prototypes throughout
36958         all the files. The gettext copyright header is used but
36959         with the date ranges taken from the glibc copy.
36961         * NEWS: Add gettext merge to 2.21.
36962         * intl/bindtextdom.c: Switch to gettext copyright.
36963         Use ANSI definitions and prototypes.
36964         Use gl_* locking primitives rather than __libc_* ones.
36965         Use __builtin_expect rather than __glibc_likely/unlikely.
36966         * intl/dcgettext.c: Switch to gettext copyright.
36967         Use ANSI definitions and prototypes.
36968         * intl/dcigettext.c: Switch to gettext copyright.
36969         Use ANSI definitions and prototypes.
36970         (INTDIV0_RAISES_SIGFPE): New define.
36971         Use gl_* locking primitives rather than __libc_* ones.
36972         Include eval-plural.h instead of plural-eval.c.
36973         Use __builtin_expect rather than __glibc_likely/unlikely.
36974         * intl/dcngettext.c: Switch to gettext copyright.
36975         Use ANSI definitions and prototypes.
36976         * intl/dgettext.c: Likewise.
36977         * intl/dngettext.c: Likewise.
36978         * intl/plural-eval.c: Renamed to...
36979         * intl/eval-plural.h: ...this.
36980         * intl/explodename.c: Switch to gettext copyright.
36981         Use ANSI definitions and prototypes.
36982         (_nl_explode_name): Use strchr instead of __rawmemchr.
36983         * intl/finddomain.c: Switch to gettext copyright.
36984         Use ANSI definitions and prototypes.
36985         Use gl_* locking primitives rather than __libc_* ones.
36986         (_nl_find_domain): Use malloc rather than alloca for
36987         allocation of temporary locale name.
36988         * intl/gettext.c: Switch to gettext copyright.
36989         Use ANSI definitions and prototypes.
36990         * intl/gettextP.h: Switch to gettext copyright.
36991         Use ANSI definitions and prototypes.
36992         Use gl_* locking primitives rather than __libc_* ones.
36993         * intl/gmo.h: Switch to gettext copyright.
36994         (struct sysdep_string): Move struct segment_pair outside of
36995         struct definition.
36996         * intl/hash-string.c: Use ANSI definitions and prototypes.
36997         * intl/hash-string.h: Switch to gettext copyright.
36998         Use ANSI definitions and prototypes.
36999         * intl/l10nflist.c: Switch to gettext copyright.
37000         Use ANSI definitions and prototypes.
37001         (_nl_normalize_codeset): Avoid integer overflow.
37002         * intl/loadinfo.h: Switch to gettext copyright.
37003         Use ANSI definitions and prototypes.
37004         (LIBINTL_DLL_EXPORTED): New define.
37005         (PATH_SEPARATOR): New define.
37006         * intl/loadmsgcat.c: Switch to gettext copyright.
37007         * intl/localealias.c: Switch to gettext copyright.
37008         Use ANSI definitions and prototypes.
37009         (_nl_expand_alias): Use PATH_SEPARATOR.
37010         * intl/ngettext.c: Switch to gettext copyright.
37011         Use ANSI definitions and prototypes.
37012         * intl/plural-exp.c: Likewise.
37013         * intl/plural-exp.h: Switch to gettext copyright.
37014         Use ANSI definitions and prototypes.
37015         (struct expression): Move definition of enum operator outside
37016         of struct definition.
37017         * intl/plural.c: Regenerate.
37018         * intl/plural.y: Switch to gettext copyright.
37019         Use ANSI definitions and prototypes.
37020         Port to bison 3.0.
37021         * intl/textdomain.c: Switch to gettext copyright.
37022         Use ANSI definitions and prototypes.
37023         Use gl_* locking primitives rather than __libc_* ones.
37025 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37027         * debug/warning-nop.c: Add used atrribute.
37029 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37031         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37033         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37034         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37035         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37037 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37038             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37040         [BZ #17634]
37041         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37042         Undefine after defining function.  Define as weak alias of
37043         __wcschr.  Use libc_hidden_weak.
37044         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37045         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37046         (libc_hidden_def): Also define __GI___wcschr alias.
37047         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37048         __wcschr and define as weak alias of __wcschr.
37049         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37050         __wcschr.
37051         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37052         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37053         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37054         libc_hidden_weak.  Do not use libc_hidden_def.
37055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37056         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37057         __GI___wcschr alias.
37058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37059         [IS_IN (libc)] (wcschr): Define as macro expanding to
37060         __redirect_wcschr.
37061         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37062         [IS_IN (libc)] (__wcschr_power6): Likewise.
37063         [IS_IN (libc)] (__wcschr_power7): Likewise.
37064         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37065         instead of wcschr.
37066         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37067         __libc_wcschr.
37068         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37069         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37070         __wcschr and define as weak alias of __wcschr.  Use
37071         libc_hidden_builtin_def.
37072         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37073         as weak alias of __wcschr.  Use libc_hidden_weak.
37074         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37075         wcschr.
37076         * time/era.c (_nl_init_era_entries): Likewise.
37077         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37078         variable.
37079         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37080         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37082 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37084         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37085         format for long int variable.
37087 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37089         [BZ #10672]
37090         * manual/search.texi: (Array Sort Function): Remove claim how to make
37091         qsort stable.
37093 2014-12-10  Andreas Schwab  <schwab@suse.de>
37095         [BZ #12847]
37096         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37097         user-controlled locks.
37099 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37101         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37102         register.
37104 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37106         * configure.ac (--disable-werror): New configure option.
37107         (enable_werror): New AC_SUBST.
37108         * configure: Regenerated.
37109         * config.make.in (enable-werror): New variable.
37110         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37111         -Wno-error=undef.
37112         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37113         * manual/install.texi (Configuring and compiling): Document
37114         --disable-werror.
37115         * INSTALL: Regenerated.
37116         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37117         (CFLAGS-tst-chk2.c): Likewise.
37118         (CFLAGS-tst-chk3.c): Likewise.
37119         (CFLAGS-tst-chk4.cc): Likewise.
37120         (CFLAGS-tst-chk5.cc): Likewise.
37121         (CFLAGS-tst-chk6.cc): Likewise.
37122         (CFLAGS-tst-lfschk1.c): Likewise.
37123         (CFLAGS-tst-lfschk2.c): Likewise.
37124         (CFLAGS-tst-lfschk3.c): Likewise.
37125         (CFLAGS-tst-lfschk4.cc): Likewise.
37126         (CFLAGS-tst-lfschk5.cc): Likewise.
37127         (CFLAGS-tst-lfschk6.cc): Likewise.
37129         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37130         (main): Disable -Wdeprecated-declarations around calls to
37131         register_printf_function.
37133         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37134         (do_test): Disable -Wdiv-by-zero around some calls to
37135         fwrite_unlocked and fread_unlocked.
37137         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37138         (DIAG_POP_NEEDS_COMMENT): Likewise.
37139         (_DIAG_STR1): Likewise.
37140         (_DIAG_STR): Likewise.
37141         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37142         * stdio-common/bug21.c: Include <libc-internal.h>.
37143         (do_test): Disable -Wformat around call to sscanf.
37144         * stdio-common/scanf14.c: Include <libc-internal.h>.
37145         (main): Disable -Wformat around some calls to scanf functions.
37147 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37149         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37151 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37153         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37154         stack variable alignment.
37156 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37158         [BZ #17682]
37159         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37160         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37161         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37162         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37163         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37164         __getrlimit instead of getrlimit.
37165         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37166         __gettimeofday instead of gettimeofday.
37167         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37168         Likewise.
37169         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37170         Likewise.
37171         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37172         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37173         Remove variable.
37174         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37175         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37177 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37179         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37180         for wide-character tests.
37182 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37184         * io/openat64.c: #include <libc-internal.h>
37185         (__openat64): Prototypify.  Use ignore_value on MODE.
37186         * io/openat.c: Likewise.
37187         * misc/reboot.c: #include <libc-internal.h>
37188         (reboot): Prototypify.  Use ignore_value on HOWTO.
37189         * misc/ptrace.c: #include <libc-internal.h>
37190         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37192 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37194         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37195         XPG4, UNIX98 and XOPEN2K.
37196         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37197         Remove variable.
37198         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37200 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37202         * libio/fileops.c: Use ISO C style for function definitions.
37203         * libio/iofopen.c: Likewise.
37204         * libio/wfileops.c: Likewise.
37206         [BZ #17653]
37207         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37208         offset on EOF.
37209         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37210         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37211         (fgets_func): Function pointer to fgets and fgetws.
37212         (do_ftell_test): Add test to verify ftell value after read
37213         EOF.
37214         (do_test): Set fgets_func.
37216         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37217         O_TRUNC flag for w and w+ modes.
37218         (do_rewind_test): Likewise.
37219         (do_ftell_test): Likewise.
37220         (do_write_test): Likewise.
37222         [BZ #17647]
37223         * libio/fileops.c (do_ftell): Seek only when there are
37224         unflushed writes.
37225         * libio/wfileops.c (do_ftell_wide): Likewise.
37226         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37227         test case.
37228         (do_one_test): Call it.
37230 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37232         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37233         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37234         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37235         Remove variable.
37236         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37237         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37238         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37240 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37242         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37243         Remove variable.
37244         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37246         [BZ #17668]
37247         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37248         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37249         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37250         __freeifaddrs.  Use libc_hidden_weak.
37251         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37252         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37253         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37254         __freeifaddrs.  Use libc_hidden_weak.
37255         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37256         __getifaddrs and define as weak alias of __getifaddrs.  Use
37257         libc_hidden_weak.
37258         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37259         __freeifaddrs.  Use libc_hidden_weak.
37260         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37261         Remove variable.
37262         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37263         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37265 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37267         [BZ #17601]
37268         * sysdeps/mips/start.S (__start): Use indirect jump to call
37269         __libc_start_main.
37271 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37273         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37275         * nptl/tst-mutex1.c: Include <stdbool.h>.
37276         [!ATTR] (ATTR_NULL): New macro.
37277         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37278         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37279         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37281         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37282         to char *.
37284         [BZ #17665]
37285         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37286         Change conditional to [__USE_MISC].
37288         [BZ #17664]
37289         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37290         fgets_unlocked.
37291         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37292         __fgets_unlocked.
37293         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37294         fgets_unlocked.
37295         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37296         Remove variable.
37297         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37298         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37299         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37300         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37301         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37302         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37303         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37304         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37305         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37307         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37309 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37312         Remove strpbrk objects.
37313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37314         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37315         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37316         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37317         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37318         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37321         Remove strcspn objects.
37322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37323         (__libc_ifunc_impl_list): Remove strcspn implementation.
37324         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37325         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37326         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37327         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37330         Remove strspn objetcs.
37331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37332         (__libc_ifunc_impl_list): Remove strspn implementation.
37333         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37334         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37335         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37336         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37338 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37340         [BZ #17581]
37341         * malloc/hooks.c
37342         (mem2mem_check): Add a terminator to the chain of checking blocks.
37343         (malloc_check_get_size): Use it here.
37344         (mem2chunk_check): Ditto.
37346 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37348         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37349         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37351 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37353         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37355         * nptl/nptl-init.c: Include libc-internal.h.
37356         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37358         * elf/ldconfig.c (search_dir): Expand comment.
37360 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37362         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37363         variable.
37364         (linknamespace-symlist-stdlibs-tests): Likewise.
37365         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37366         instead of $(objpfx)symlist-stdlibs.
37367         (linknamespace-libs-isoc): New variable.
37368         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37369         (linknamespace-libs-ISO): New variable.
37370         (linknamespace-libs-ISO99): Likewise.
37371         (linknamespace-libs-ISO11): Likewise.
37372         (linknamespace-libs-XPG3): Likewise.
37373         (linknamespace-libs-XPG4): Likewise.
37374         (linknamespace-libs-POSIX): Likewise.
37375         (linknamespace-libs-UNIX98): Likewise.
37376         (linknamespace-libs-XOPEN2K): Likewise.
37377         (linknamespace-libs-POSIX2008): Likewise.
37378         (linknamespace-libs-XOPEN2K8): Likewise.
37379         ($(objpfx)symlist-stdlibs): Replace by
37380         $(linknamespace-symlist-stdlibs-tests).  Use
37381         $(linknamespace-libs-$*) as set of libraries.
37382         ($(linknamespace-header-tests)): Update dependencies.  Use
37383         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37384         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37385         * conform/linknamespace.pl: Remove comment about considering
37386         definitions of symbols from irrelevant libraries.
37388 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37390         [BZ #13862]
37391         * elf/dl-tls.c: Include <atomic.h>.
37392         (oom): Remove #ifdef SHARED/#endif.
37393         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37394         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37395         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37396         big enough.
37397         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37398         * nptl/Makefile (tests): Add tst-stack4.
37399         (modules-names): Add tst-stack4mod.
37400         ($(objpfx)tst-stack4): New.
37401         (tst-stack4mod.sos): Likewise.
37402         ($(objpfx)tst-stack4.out): Likewise.
37403         ($(tst-stack4mod.sos)): Likewise.
37404         (clean): Likewise.
37405         * nptl/tst-stack4.c: New file.
37406         * nptl/tst-stack4mod.c: Likewise.
37408 2014-11-27  J. Brown  <jb999@gmx.de>
37410         * sysdeps/x86/bits/string.h: Add recent CPUs.
37412 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37414         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37415         sigblock.
37417         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37418         feof.
37420         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37421         variable.
37423 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37425         * nscd/connections.c: Include libc-internal.h because of macro
37426         usage ignore_value.
37428 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37430         * string/bits/string3.h (__warn_memset_zero_len): Don't
37431         declare for gcc newer than 5.0.
37432         (memset): Don't test for zero-length __LEN for gcc newer than
37433         5.0.
37435 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37437         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37438         size_t for %zu format.
37440         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37441         difference, not %ju.
37443 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37445         * include/libc-internal.h (ignore_value): New macro.
37446         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37447         with ignore_value.
37449         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37450         definition.
37452         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37453         pthread_cleanup_push to void *.
37455         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37456         Undefine.
37458         [BZ #16619]
37459         [BZ #16740]
37460         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37461         instead of 1L << 52.
37463         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37464         * libio/bug-rewind2.c (do_test): Likewise.
37466         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37467         * debug/test-strcpy_chk-ifunc.c: Likewise.
37468         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37469         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37470         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37471         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37472         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37473         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37474         * Rules [$(multi-arch) = no] (tests): Do not filter out
37475         $(tests-ifunc).
37476         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37477         * debug/Makefile (tests-ifunc): Remove variable.
37478         (tests): Do not add $(tests-ifunc).
37479         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37480         (tests): Do not add $(tests-ifunc).
37481         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37482         [TEST_IFUNC]: Remove conditionals.
37483         * string/test-string.h (TEST_IFUNC): Remove macro.
37484         [TEST_IFUNC]: Remove conditionals.
37486         * string/test-strchr.c [!WIDE] (L): New macro.
37487         [WIDE] (L): Likewise.
37488         (check1): Use CHAR instead of char.  Use L on string and character
37489         constants.
37491 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37493         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37494         tests.
37495         * sysdeps/powerpc/bits/atomic.h
37496         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37497         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37498         (atomic_exchange_and_add_acq): Likewise.
37499         (atomic_exchange_and_add_rel): Likewise.
37500         * sysdeps/powerpc/powerpc32/bits/atomic.h
37501         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37502         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37503         * sysdeps/powerpc/powerpc64/bits/atomic.h
37504         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37505         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37507 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37509         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37510         Change synchronization of __sched_fifo_min_prio and
37511         __sched_fifo_max_prio.
37512         * nptl/pthread_mutexattr_getprioceiling.c
37513         (pthread_mutexattr_getprioceiling): Likewise.
37514         * nptl/pthread_mutexattr_setprioceiling.c
37515         (pthread_mutexattr_setprioceiling): Likewise.
37516         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37517         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37518         Likewise.
37520 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37522         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37523         void.
37525 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37527         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37528         third argument const.
37530 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37532         fnmatch: work around GCC compiler warning bug with uninit var
37533         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37534         This works around a bug with x86-64 GCC 4.9.2 and earlier
37535         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37536         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37537         used uninitialized in this function [-Wmaybe-uninitialized]".
37539 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37541         * posix/bug-regex31.c (main): Return RES not 0.
37543 2014-11-25  Anton Blanchard <anton@samba.org>
37545         * sysdeps/powerpc/bits/atomic.h
37546         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37548 2014-11-24  Sterling Augustine  <saugustine@google.com>
37550         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37552 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37554         [BZ #17608]
37555         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37557 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37559         [BZ #17633]
37560         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37561         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37562         variable.
37563         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37564         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37566 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37568         * string/strncpy.c (strncpy): Improve performance by using memset.
37570 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37572         * string/strcpy.c (strcpy):
37573         Improve performance by using strlen and memcpy.
37575 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37577         * string/strcoll_l.c (get_next_seq): __always_inline.
37578         * string/strcoll_l.c (do_compare): __always_inline.
37580 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37583         defined.
37584         * include/mqueue.h: Likewise.
37585         * include/stdlib.h: Likewise.
37587         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37588         (get_null_defines): Adjust.
37589         * sunrpc/Makefile: Adjust comment.
37590         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37591         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37592         (CFLAGS-interp.c): Likewise.
37593         (CFLAGS-ldconfig.c): Likewise.
37594         (CPPFLAGS-.os): Likewise.
37595         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37596         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37597         * extra-modules.mk (extra-modules.mk): Likewise.
37598         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37599         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37600         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37601         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37602         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37603         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37604         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37605         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37606         * iconvdata/Makefile (CPPFLAGS): Likewise.
37607         (cpp-srcs-left): Add libof for all iconvdata routines.
37608         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37609         * include/assert.h: Likewise.
37610         * include/ctype.h: Likewise.
37611         * include/errno.h: Likewise.
37612         * include/libc-symbols.h: Likewise.
37613         * include/math.h: Likewise.
37614         * include/netdb.h: Likewise.
37615         * include/resolv.h: Likewise.
37616         * include/stdio.h: Likewise.
37617         * include/stdlib.h: Likewise.
37618         * include/string.h: Likewise.
37619         * include/sys/stat.h: Likewise.
37620         * include/wctype.h: Likewise.
37621         * intl/l10nflist.c: Likewise.
37622         * libidn/idn-stub.c: Likewise.
37623         * libio/libioP.h: Likewise.
37624         * nptl/libc_multiple_threads.c: Likewise.
37625         * nptl/pthreadP.h: Likewise.
37626         * posix/regex_internal.h: Likewise.
37627         * resolv/res_hconf.c: Likewise.
37628         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37629         * sysdeps/arm/memmove.S: Likewise.
37630         * sysdeps/arm/sysdep.h: Likewise.
37631         * sysdeps/generic/_itoa.h: Likewise.
37632         * sysdeps/generic/symbol-hacks.h: Likewise.
37633         * sysdeps/gnu/errlist.awk: Likewise.
37634         * sysdeps/gnu/errlist.c: Likewise.
37635         * sysdeps/i386/i586/memcpy.S: Likewise.
37636         * sysdeps/i386/i586/memset.S: Likewise.
37637         * sysdeps/i386/i686/memcpy.S: Likewise.
37638         * sysdeps/i386/i686/memmove.S: Likewise.
37639         * sysdeps/i386/i686/mempcpy.S: Likewise.
37640         * sysdeps/i386/i686/memset.S: Likewise.
37641         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37642         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37643         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37644         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37645         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37646         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37647         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37648         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37649         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37650         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37651         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37652         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37653         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37654         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37655         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37656         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37657         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37658         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37659         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37660         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37661         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37662         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37663         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37664         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37665         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37666         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37667         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37668         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37669         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37670         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37671         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37672         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37676         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37677         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37678         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37679         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37680         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37681         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37682         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37683         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37684         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37685         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37686         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37687         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37688         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37689         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37690         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37691         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37692         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37693         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37694         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37695         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37696         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37697         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37698         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37699         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37700         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37701         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37702         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37703         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37704         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37705         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37706         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37707         * sysdeps/posix/closedir.c: Likewise.
37708         * sysdeps/posix/opendir.c: Likewise.
37709         * sysdeps/posix/readdir.c: Likewise.
37710         * sysdeps/posix/rewinddir.c: Likewise.
37711         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37712         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37713         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37714         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37715         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37716         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37717         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37722         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37723         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37724         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37725         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37726         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37727         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37728         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37731         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37732         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37733         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37734         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37737         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37739         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37746         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37747         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37748         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37749         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37750         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37751         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37753         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37755         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37757         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37759         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37760         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37761         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37762         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37763         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37765         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37766         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37767         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37768         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37769         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37770         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37771         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37772         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37773         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37774         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37775         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37776         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37777         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37778         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37779         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37780         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37781         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37782         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37783         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37784         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37785         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37786         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37787         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37788         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37789         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37790         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37791         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37792         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37793         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37794         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37795         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37796         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37797         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37798         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37799         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37800         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37801         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37802         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37803         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37804         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37806         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37807         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37808         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37809         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37810         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37811         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37812         * sysdeps/unix/alpha/sysdep.S: Likewise.
37813         * sysdeps/unix/alpha/sysdep.h: Likewise.
37814         * sysdeps/unix/make-syscalls.sh: Likewise.
37815         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37816         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37817         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37818         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37819         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37820         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37821         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37822         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37823         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37824         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37826         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37828         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37829         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37830         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37831         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37832         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37833         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37834         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37835         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37836         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37837         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37838         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37839         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37840         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37841         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37844         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37845         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37848         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37849         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37853         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37854         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37855         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37856         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37858         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37859         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37862         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37865         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37866         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37867         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37868         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37869         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37871         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37873         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37874         * sysdeps/x86_64/memcpy.S: Likewise.
37875         * sysdeps/x86_64/memmove.c: Likewise.
37876         * sysdeps/x86_64/memset.S: Likewise.
37877         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37878         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37879         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37880         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37881         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37882         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37884         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37885         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37886         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37887         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37889         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37890         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37891         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37892         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37893         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37894         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37895         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37896         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37897         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37898         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37899         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37900         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37901         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37902         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37903         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37904         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37905         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37906         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37907         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37908         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37909         * sysdeps/x86_64/strcmp.S: Likewise.
37911         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37913         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37914         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37915         * elf/rtld-Rules: Likewise.
37916         * elf/setup-vdso.h: Likewise.
37917         * include/assert.h: Likewise.
37918         * include/bits/stdlib-float.h: Likewise.
37919         * include/errno.h: Likewise.
37920         * include/sys/stat.h: Likewise.
37921         * include/unistd.h: Likewise.
37922         * sysdeps/aarch64/setjmp.S: Likewise.
37923         * sysdeps/alpha/setjmp.S: Likewise.
37924         * sysdeps/arm/__longjmp.S: Likewise.
37925         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37926         * sysdeps/arm/setjmp.S: Likewise.
37927         * sysdeps/arm/sysdep.h: Likewise.
37928         * sysdeps/generic/_itoa.h: Likewise.
37929         * sysdeps/generic/dl-sysdep.h: Likewise.
37930         * sysdeps/generic/ldsodefs.h: Likewise.
37931         * sysdeps/i386/dl-tls.h: Likewise.
37932         * sysdeps/i386/setjmp.S: Likewise.
37933         * sysdeps/m68k/setjmp.c: Likewise.
37934         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37935         * sysdeps/mach/hurd/opendir.c: Likewise.
37936         * sysdeps/posix/getcwd.c: Likewise.
37937         * sysdeps/posix/opendir.c: Likewise.
37938         * sysdeps/posix/profil.c: Likewise.
37939         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37940         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37941         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37942         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37943         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37944         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37945         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37946         * sysdeps/s390/dl-tls.h: Likewise.
37947         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37948         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37949         * sysdeps/sh/sh3/setjmp.S: Likewise.
37950         * sysdeps/sh/sh4/setjmp.S: Likewise.
37951         * sysdeps/unix/alpha/sysdep.h: Likewise.
37952         * sysdeps/unix/arm/sysdep.S: Likewise.
37953         * sysdeps/unix/i386/sysdep.S: Likewise.
37954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37955         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37956         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37957         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37959         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37960         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37961         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37962         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37963         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37964         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37965         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37969         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37970         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37972         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37973         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37974         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37977         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37978         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37981         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37982         * sysdeps/x86_64/setjmp.S: Likewise.
37984         * include/math.h: Use IS_IN instead of IS_IN_libm.
37985         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37986         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37988         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37990         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37991         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37992         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37994         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37995         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37996         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37997         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37998         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37999         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38001         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38002         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38003         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38004         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38005         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38006         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38007         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38008         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38009         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38010         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38011         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38012         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38013         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38014         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38015         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38016         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38017         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38019         Likewise.
38020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38021         Likewise.
38022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38023         Likewise.
38024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38025         Likewise.
38026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38027         Likewise.
38028         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38029         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38030         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38031         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38032         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38039         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38040         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38041         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38042         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38043         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38044         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38045         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38046         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38047         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38048         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38049         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38050         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38052         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38054         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38056         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38057         * nptl/pthreadP.h: Likewise.
38058         * nptl_db/structs.def: Likewise.
38059         * sysdeps/arm/sysdep.h: Likewise.
38060         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38061         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38062         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38063         * sysdeps/unix/alpha/sysdep.h: Likewise.
38064         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38065         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38066         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38067         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38068         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38069         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38070         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38071         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38072         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38073         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38074         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38075         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38076         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38077         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38082         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38084         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38085         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38086         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38087         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38088         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38089         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38091         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38092         * nptl/pthreadP.h: Likewise.
38093         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38094         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38095         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38096         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38097         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38098         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38099         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38100         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38101         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38102         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38103         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38104         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38106         Likewise.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38108         Likewise.
38109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38111         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38114         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38115         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38116         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38118         * dlfcn/dladdr.c: Use IS_IN.
38119         * dlfcn/dladdr1.c: Likewise.
38120         * dlfcn/dlclose.c: Likewise.
38121         * dlfcn/dlerror.c: Likewise.
38122         * dlfcn/dlinfo.c: Likewise.
38123         * dlfcn/dlmopen.c: Likewise.
38124         * dlfcn/dlopen.c: Likewise.
38125         * dlfcn/dlsym.c: Likewise.
38126         * dlfcn/dlvsym.c: Likewise.
38128         * include/ifaddrs.h: Use IS_IN.
38129         * inet/check_pf.c: Likewise.
38130         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38131         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38133         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38134         IS_IN_ldconfig.
38135         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38136         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38138         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38139         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38140         IS_IN (libc).
38142         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38144         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38145         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38146         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38147         * include/libc-symbols.h (IS_IN_LIB): New macro.
38148         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38149         * include/netdb.h: Likewise.
38150         * include/stap-probe.h: Remove all uses of IN_LIB.
38152         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38153         instead of IN_MODULE.
38154         * include/libc-symbols.h (IN_MODULE): Define using
38155         MODULE_NAME.
38156         (PASTE_NAME, PASTE_NAME1): New macros.
38157         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38158         of IN_LIB.
38159         (STAP_PROBE_ASM): Likewise.
38161 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38163         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38164         __mach_init in dlopened libc.
38166 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38168         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38169         * sysdeps/arm/preconfigure: Regenerate.
38171 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38173         * nptl/pthread_create.c (__pthread_create_2_1): Set
38174         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38175         when copying values from IATTR into PD.
38177 2014-11-21  Will Newton  <will.newton@linaro.org>
38178             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38180         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38181         Refactor inline-asm.  Also add comment.
38183         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38184         ElfW macro instead of hardcoded Elf64 types.
38185         (la_aarch64_gnu_pltenter): Likewise.
38186         * sysdeps/aarch64/dl-machine.h
38187         (elf_machine_runtime_setup): Use ElfW(Addr).
38189         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38190         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38191         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38192         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38193         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38194         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38195         (R_AARCH64_TLS_DTPMOD): This.
38196         (R_AARCH64_TLS_DTPREL64): Rename to ...
38197         (R_AARCH64_TLS_DTPREL): This.
38198         (R_AARCH64_TLS_TPREL64): Rename to ...
38199         (R_AARCH64_TLS_TPREL): This.
38200         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38201         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38202         R_AARCH64_TLS_TPREL64.
38203         (elf_machine_rela): Likewise.
38205 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38207         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38208         by setting it to 0.  64b atomics are not supported currently.
38210 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38212         [BZ #16469]
38213         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38214         search domain names.
38216 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38218         [BZ #16469]
38219         * NEWS: Update.
38220         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38221         trailing dot.
38222         * posix/tst-getaddrinfo5.c: New.
38223         * posix/Makefile (tests): Add it.
38225 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38227         [BZ #14498]
38228         * NEWS: Fixed.
38229         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38230         after parsing line but before break_if_match.
38231         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38232         if there is a protocol mismatch.
38234 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38236         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38237         because the potential race is on the user-supplied stream.
38239 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38241         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38242         string literal if not passed a buffer.
38243         * manual/job.texi (ctermid): Update reasoning, note deviation
38244         from posix, suggest mtasurace when not passed a buffer, for
38245         future non-preliminary safety notes.
38247 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38249         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38250         of not passing it a buffer.
38251         Reported by Peng Haitao.
38253 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38255         * manual/Makefile ($(objpfx)stamp-summary): Require
38256         check-safety.sh to pass.
38257         * manual/check-safety.sh: Wish for verification that every
38258         @deftypefn and @deftypefun is followed by a @safety remark.
38260 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38262         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38264         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38265         PTHREAD_CANCEL_ASYNCHRONOUS.
38266         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38267         send SIGCANCEL.
38269         * nptl/default-sched.h: New file.
38270         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38271         * nptl/pthread_create.c: Include it.
38272         (__pthread_create_2_1): Use collect_default_sched instead of making
38273         Linux syscalls here directly.
38275 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38277         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38278         __pthread_once): Use C11 atomics.
38280 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38282         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38284 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38286         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38287         atomic_thread_fence_acquire, atomic_thread_fence_release,
38288         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38289         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38290         atomic_compare_exchange_weak_relaxed,
38291         atomic_compare_exchange_weak_acquire,
38292         atomic_compare_exchange_weak_release,
38293         atomic_exchange_acquire, atomic_exchange_release,
38294         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38295         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38296         atomic_fetch_and_acquire,
38297         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38299 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38301         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38302         USE_ATOMIC_COMPILER_BUILTINS): Define.
38303         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38305         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38307         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38309         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38311         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38313         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38315         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38317         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38319         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38321         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38323         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38325         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38327         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38328         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38329         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38330         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38331         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38332         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38333         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38334         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38335         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38337         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38338         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38341         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38342         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38344 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38346         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38347         the sched_priority value here.  It was already checked when the user
38348         called pthread_attr_setschedparam.
38350         * nptl/tst-bad-schedattr.c: New file.
38351         * nptl/Makefile (tests): Add it.
38353 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38354             Florian Weimer  <fweimer@redhat.com>
38355             Joseph Myers  <joseph@codesourcery.com>
38356             Adam Conrad  <adconrad@0c3.net>
38357             Andreas Schwab  <schwab@suse.de>
38358             Brooks  <bmoses@google.com>
38360         [BZ #17625]
38361         * wordexp-test.c (__dso_handle): Add prototype.
38362         (__register_atfork): Likewise.
38363         (__app_register_atfork): New function.
38364         (registered_forks): New global.
38365         (register_fork): New function.
38366         (test_case): Add 3 new tests for WRDE_CMDSUB.
38367         (main): Call __app_register_atfork.
38368         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38369         fork count is non-zero fail the test.
38370         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38371         is set.
38372         (parse_dollars): Remove check for WRDE_NOCMD.
38373         (parse_dquote): Likewise.
38375 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38377         * Makeconfig (built-modules): List non-library modules to be
38378         built.
38379         (module-cppflags): Include libc-modules.h for
38380         everything except shlib-versions.v.i.
38381         (CPPFLAGS): Use it.
38382         (before-compile): Add libc-modules.h.
38383         ($(common-objpfx)libc-modules.h,
38384         $(common-objpfx)libc-modules.stmp): New targets.
38385         (common-generated): Add libc-modules.h and libc-modules.stmp.
38386         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38387         * include/libc-symbols.h: Don't include libc-modules.h.
38388         * include/libc-modules.h: Remove file.
38389         * scripts/gen-libc-modules.awk: New script to generate
38390         libc-modules.h.
38391         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38392         Depend on libc-modules.stmp.
38394         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38396         * Makeconfig (in-module): Get value of libof set for the
38397         translation unit.
38398         (CPPFLAGS): Use $(in-module).
38399         * Makerules: Don't suffix routine names for nonlib.
38400         * include/libc-modules.h: New file.
38401         * include/libc-symbols.h: Include libc-modules.h
38402         (IS_IN): New macro to replace IS_IN_* macros.
38403         * elf/Makefile: Set libof-* for each routine.
38404         * elf/rtld-Rules: Likewise.
38405         * extra-modules.mk: Likewise.
38406         * iconv/Makefile: Likewise.
38407         * iconvdata/Makefile: Likewise.
38408         * locale/Makefile: Likewise.
38409         * malloc/Makefile: Likewise.
38410         * nss/Makefile: Likewise.
38411         * sysdeps/gnu/Makefile: Likewise.
38412         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38413         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38414         * sysdeps/s390/s390-64/Makefile: Likewise.
38415         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38416         CPPFLAGS for nscd instead of nonlib.
38418 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38420         * nptl/createthread.c: New file.
38422         * nptl/createthread.c: Moved ...
38423         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38425         * nptl/createthread.c: Add proper top-line comment.
38426         (do_clone): Folded into ...
38427         (create_thread): ... here.  Take new arguments STOPPED_START and
38428         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38429         increment __nptl_threads, do event-reporting logic, do
38430         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38431         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38432         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38433         just send SIGCANCEL.
38434         * nptl/pthread_create.c: Forward-declare create_thread before
38435         including createthread.c.
38436         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38437         declaration, and new macro START_THREAD_SELF to replace argument.
38438         Remove return statement.
38439         (report_thread_creation): New function.
38440         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38441         synchronization logic, and __nptl_nthreads increment here, around
38442         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38443         PD->parent_cancelhandling here, before create_thread.  When
38444         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38445         __deallocate_stack, and ENOMEM translation here.
38447 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38449         [BZ #17616]
38450         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38451         (mptwo): Rename to __mptwo.
38452         (__inv): Use __mptwo instead of mptwo.
38453         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38454         (mptwo): Rename to __mptwo.
38455         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38456         of mpone and __mptwo instead of mptwo.
38457         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38458         instead of mpone.
38459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38460         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38461         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38462         of mpone and __mptwo instead of mptwo.
38463         (__mpranred): Use __mpone instead of mpone.
38464         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38465         variable.
38466         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38467         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38468         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38469         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38470         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38471         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38472         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38473         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38474         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38475         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38476         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38477         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38478         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38479         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38480         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38481         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38482         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38483         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38484         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38486 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38488         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38489         replace BSD Handler xref with BSD Signal Handling.
38491 2014-11-17  Richard Henderson  <rth@redhat.com>
38493         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38494         (_FP_PACK_RAW_2): Remove.
38495         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38496         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38497         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38498         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38499         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38500         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38501         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38502         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38503         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38504         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38505         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38506         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38507         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38508         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38509         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38510         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38512 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38514         * signal/signal.h [__USE_MISC]
38515         (struct sigvec): Remove type.
38516         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38517         (sigvec): Remove declaration.
38518         * sysdeps/posix/sigvec.c: Moved ...
38519         * signal/sigvec.c: ... here, replacing old file.
38520         (struct sigvec): New type, copied from old signal.h definition.
38521         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38522         (__sigvec): Convert definition to prototype.
38523         (sigvec): Replace weak_alias with compat_symbol.
38524         * signal/Versions (libc: GLIBC_2.21): New version set.
38525         * include/signal.h: Remove __sigvec declaration.
38526         * sysdeps/unix/bsd/sigvec.c: Remove file.
38527         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38528         * manual/signal.texi (BSD Handler): Remove subsection.
38529         Move siginterrupt up to ...
38530         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38531         (Blocking in BSD): Fold subsection into its parent.
38532         * NEWS: Mention sigvec removal.
38534 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38536         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38537         (DLA_FMS): Make definition conditional only on [__FMA4__].
38538         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38539         definition.
38541         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38542         Make definition conditional only on [PROF].
38543         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38544         definition.
38545         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38546         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38548         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38549         !__GNUC__].
38550         * include/signal.h (__sigpause): Move declaration above call to
38551         libc_hidden_proto.
38552         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38553         variable.
38554         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38555         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38557 2014-11-14  David S. Miller  <davem@davemloft.net>
38559         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38560         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38562 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38564         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38565         * configure: Regenerated.
38566         * manual/install.texi (Tools for Compilation): Document a
38567         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38568         compiler verified to work.
38569         * INSTALL: Regenerated.
38571         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38572         redeclare with asm name.
38573         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38574         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38575         including <string.h>.
38576         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38577         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38578         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38579         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38580         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38581         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38582         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38584 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38586         * stdlib/strtol.c (__strtol): Use prototype definition.
38588         [BZ #17594]
38589         * stdlib/strtol.c (SYM__): New macro.
38590         (SYM__1): Likewise.
38591         (__strtol): Likewise.
38592         (strtol): Rename to __strtol and define as weak alias of
38593         __strtol.  Use libc_hidden_weak.
38595 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38597         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38598         Use numbered labels in inline assembly.
38600 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38602         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38603         Add setjmp LIBC_PROBE.
38604         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38605         Likewise.
38606         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38607         Add longjmp, longjmp_target LIBC_PROBE.
38608         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38609         Likewise.
38611 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38613         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38614         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38615         to get rid of unused variable warning.
38617 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38619         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38620         Check for unwind_backtrace ==  NULL only in SHARED case.
38621         (__backchain_backtrace): Compile only in SHARED case.
38622         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38623         Likewise.
38624         (__backchain_backtrace): Declare as static.
38626 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38628         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38629         (__libc_multiple_threads_ptr): Variable moved ...
38630         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38632 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38634         * conform/GlibcConform.pm: New file.
38635         * conform/conformtest.pl: Use GlibcConform module.
38636         * conform/linknamespace.pl: New file.
38637         * conform/list-header-symbols.pl: Likewise.
38638         * conform/Makefile (linknamespace-symlists-base): New variable.
38639         (linknamespace-symlists-tests): Likewise.
38640         (linknamespace-header-base): Likewise.
38641         (linknamespace-header-tests): Likewise.
38642         (tests-special): Add new tests.
38643         ($(linknamespace-symlists-tests)): New rule.
38644         (linknamespace-libs): New variable.
38645         ($(objpfx)symlist-stdlibs): New rule.
38646         ($(linknamespace-header-tests)): Likewise.
38647         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38648         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38649         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38650         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38651         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38652         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38653         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38654         (test-xfail-ISO/math.h/linknamespace): Likewise.
38655         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38656         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38657         (test-xfail-ISO/time.h/linknamespace): Likewise.
38658         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38659         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38660         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38661         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38662         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38663         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38664         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38665         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38666         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38667         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38668         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38669         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38670         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38671         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38672         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38673         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38674         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38675         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38676         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38677         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38678         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38679         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38680         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38681         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38682         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38683         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38684         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38685         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38686         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38687         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38688         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38689         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38690         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38691         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38692         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38693         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38694         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38695         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38696         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38697         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38698         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38699         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38700         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38701         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38702         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38703         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38704         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38705         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38706         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38707         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38708         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38709         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38710         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38711         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38712         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38713         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38714         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38715         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38716         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38717         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38718         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38719         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38720         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38721         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38722         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38723         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38724         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38725         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38726         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38727         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38728         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38729         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38730         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38731         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38732         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38733         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38734         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38735         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38736         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38737         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38738         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38739         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38740         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38741         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38742         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38743         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38744         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38745         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38746         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38747         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38748         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38749         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38750         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38751         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38752         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38753         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38754         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38755         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38756         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38757         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38758         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38759         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38760         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38761         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38762         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38763         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38764         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38765         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38766         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38767         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38768         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38769         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38770         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38771         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38772         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38773         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38774         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38775         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38776         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38777         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38778         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38779         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38780         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38781         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38782         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38783         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38784         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38785         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38786         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38787         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38788         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38789         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38790         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38791         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38792         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38793         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38794         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38795         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38796         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38797         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38798         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38799         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38800         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38801         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38802         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38803         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38804         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38805         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38806         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38807         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38809         [BZ #17589]
38810         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38811         of fgets_unlocked.
38813         [BZ #17585]
38814         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38815         (memmem): Rename to __memmem and define as weak alias of
38816         __memmem.  Use libc_hidden_weak.
38817         (__memmem): Use libc_hidden_def.
38818         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38819         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38820         memmem.
38822         [BZ #17582]
38823         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38824         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38825         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38826         and define as weak alias of __fgets_unlocked.  Use
38827         libc_hidden_weak.
38828         (__fgets_unlocked): Use libc_hidden_def.
38829         * include/stdio.h (__fgets_unlocked): Declare.  Use
38830         libc_hidden_proto.
38831         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38832         __fgets_unlocked instead of fgets_unlocked.
38833         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38834         (GET_NPROCS_CONF_PARSER): Likewise.
38835         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38836         (GET_NPROCS_CONF_PARSER): Likewise.
38838         [BZ #17574]
38839         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38840         weak alias of __wmemset.  Use libc_hidden_weak.
38841         (__wmemset): Use libc_hidden_def.
38842         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38843         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38844         of wmemset.
38846         [BZ #17573]
38847         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38848         with asm name __mempcpy.
38849         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38851         [BZ #17572]
38852         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38853         and define as weak alias of __rawmemchr.
38854         (__rawmemchr): Do not define as strong alias of rawmemchr.
38856         [BZ #17571]
38857         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38858         alias of __qsort_r.
38859         (qsort): Call __qsort_r instead of qsort_r.
38860         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38861         (__qsort_r): Declare.  Call libc_hidden_proto.
38862         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38863         instead of qsort_r.
38864         * nscd/gai.c (__qsort_r): Define to qsort_r.
38865         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38866         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38867         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38869         [BZ #17570]
38870         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38871         define as weak alias of __malloc_info.
38873         [BZ #17584]
38874         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38875         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38876         (__rewinddir): Use libc_hidden_def.
38877         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38878         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38879         (__rewinddir): Use libc_hidden_def.
38880         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38881         weak alias of __rewinddir.  Don't use libc_hidden_def.
38882         (__rewinddir): Use libc_hidden_def.
38883         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38884         (__rewinddir): Use libc_hidden_proto.
38885         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38886         rewinddir.
38887         (__getcwd): Use __rewinddir instead of rewinddir.
38889         [BZ #17583]
38890         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38891         alias of __fileno.  Use libc_hidden_weak.
38892         (__fileno): Use libc_hidden_def.
38893         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38894         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38895         alias of __ftello.
38896         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38897         __ftello.
38898         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38899         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38900         libc_hidden_def.
38901         (fread_unlocked): Don't use libc_hidden_ver.
38902         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38903         and define as weak alias of __fread_unlocked.  Don't use
38904         libc_hidden_def.
38905         (__fread_unlocked): Use libc_hidden_def.
38906         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38907         (ftello): Don't use libc_hidden_proto.
38908         (__ftello): Declare.  Use libc_hidden_proto.
38909         (fread_unlocked): Don't use libc_hidden_proto.
38910         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38911         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38912         and __ftello instead of fileno, fread_unlocked and ftello.
38914 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38916         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38917         GOT12.
38918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38919         Likewise.
38920         (_dl_start_user): Likewise.
38921         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38923 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38924             Siddhesh Poyarekar  <siddhesh@redhat.com>
38926         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38927         Move argv and envp down instead of moving argc up.
38928         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38930 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38932         [BZ #17506]
38933         * test-skeleton.c (main): Return successful if one of
38934         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38935         * string/tst-strcoll-overflow.c: Define expected status.
38937 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38939         [BZ #17475]
38940         * locale/iso-639.def: Define Bhili and Tulu language codes.
38942 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38944         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38946 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38948         [BZ #17555]
38949         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38951 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38953         * configure.ac: Updated check of minimal required version to
38954         2.22.
38955         * manual/install.texi (Tools for Compilation): Updated version
38956         number.
38957         * configure: Regenerated.
38958         * INSTALL: Likewise.
38960 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38962         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38963         __tls_get_addr.
38965 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38967         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38968         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38969         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38970         libc_hidden_weak.
38971         (waitpid): Define as alias of __waitpid.
38972         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38973         __waitpid.
38974         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38975         libc_hidden_weak.
38976         (waitpid): Define as alias of __waitpid.
38977         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38978         __libc_waitpid alias.
38979         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38980         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38981         Likewise.
38982         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38983         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38984         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38985         alias.
38986         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38987         __waitpid.
38988         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38989         libc_hidden_weak.
38990         (waitpid): Define as alias of __waitpid.
38992 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38994         * manual/llio.texi: Add comment that write safety has been
38995         fixed in Linux.
38997         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38998         (localplt-build-dso): Add elf/ld.so.
38999         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39000         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39001         and free for ld.so.
39002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39003         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39005         Likewise.
39006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39007         Likewise.
39008         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39009         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39010         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39011         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39012         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39013         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39014         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39015         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39016         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39017         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39018         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39020 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39022         [BZ #14132]
39023         * include/libc-symbols.h (INTUSE): Remove macro.
39024         (INTDEF): Likewise.
39025         (INTVARDEF): Likewise.
39026         (_INTVARDEF): Likewise.
39027         (INTDEF2): Likewise.
39028         (INTVARDEF2): Likewise.
39029         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39030         rtld_hidden_def instead of INTVARDEF.
39031         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39032         (_dl_starting_up_internal): Remove declaration.
39033         (_dl_starting_up): Use rtld_hidden_proto.
39034         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39035         declaration.
39036         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39037         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39038         _dl_starting_up.
39039         * elf/dl-writev.h (_dl_writev): Likewise.
39040         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39041         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39042         _dl_starting_up_internal.
39044 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39046         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39047         test-skeleton.c.
39049 2014-11-05  Will Newton  <will.newton@linaro.org>
39051         * benchtests/Makefile: (bench-malloc): Add malloc thread
39052         scalability benchmark.
39053         * benchtests/bench-malloc-threads.c: New file.
39055 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39057         * sysdeps/aarch64/strchrnul.S: New file.
39059 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39061         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39062         definition.
39063         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39064         Likewise.
39065         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39066         Likewise.
39067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39068         Likewise.
39069         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39070         Likewise.
39071         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39072         Likewise.
39074 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39076         * catgets/test-gencat.c: Use test-skeleton.c.
39077         * catgets/tst-catgets.c: Likewise.
39078         * csu/tst-empty.c: Likewise.
39079         * elf/tst-audit2.c: Likewise.
39080         * elf/tst-global1.c: Likewise.
39081         * elf/tst-pathopt.c: Likewise.
39082         * elf/tst-piemod1.c: Likewise.
39083         * elf/tst-tls10.c: Likewise.
39084         * elf/tst-tls11.c: Likewise.
39085         * elf/tst-tls12.c: Likewise.
39086         * gnulib/tst-gcc.c: Likewise.
39087         * iconvdata/tst-e2big.c: Likewise.
39088         * iconvdata/tst-loading.c: Likewise.
39089         * iconv/tst-iconv1.c: Likewise.
39090         * iconv/tst-iconv2.c: Likewise.
39091         * inet/test-inet6_opt.c: Likewise.
39092         * inet/tst-gethnm.c: Likewise.
39093         * inet/tst-network.c: Likewise.
39094         * inet/tst-ntoa.c: Likewise.
39095         * intl/tst-codeset.c: Likewise.
39096         * intl/tst-gettext2.c: Likewise.
39097         * intl/tst-gettext3.c: Likewise.
39098         * intl/tst-ngettext.c: Likewise.
39099         * intl/tst-translit.c: Likewise.
39100         * io/test-stat.c: Likewise.
39101         * libio/test-fmemopen.c: Likewise.
39102         * libio/tst-freopen.c: Likewise.
39103         * libio/tst-sscanf.c: Likewise.
39104         * libio/tst-ungetwc1.c: Likewise.
39105         * libio/tst-ungetwc2.c: Likewise.
39106         * libio/tst-widetext.c: Likewise.
39107         * localedata/tst-ctype.c: Likewise.
39108         * localedata/tst-digits.c: Likewise.
39109         * localedata/tst-leaks.c: Likewise.
39110         * localedata/tst-mbswcs1.c: Likewise.
39111         * localedata/tst-mbswcs2.c: Likewise.
39112         * localedata/tst-mbswcs3.c: Likewise.
39113         * localedata/tst-mbswcs4.c: Likewise.
39114         * localedata/tst-mbswcs5.c: Likewise.
39115         * localedata/tst-setlocale.c: Likewise.
39116         * localedata/tst-trans.c: Likewise.
39117         * localedata/tst-wctype.c: Likewise.
39118         * localedata/tst-xlocale1.c: Likewise.
39119         * login/tst-grantpt.c: Likewise.
39120         * malloc/tst-calloc.c: Likewise.
39121         * malloc/tst-malloc.c: Likewise.
39122         * malloc/tst-mallocstate.c: Likewise.
39123         * malloc/tst-mcheck.c: Likewise.
39124         * malloc/tst-mtrace.c: Likewise.
39125         * malloc/tst-obstack.c: Likewise.
39126         * math/atest-exp2.c: Likewise.
39127         * math/atest-exp.c: Likewise.
39128         * math/atest-sincos.c: Likewise.
39129         * math/test-matherr.c: Likewise.
39130         * math/test-misc.c: Likewise.
39131         * math/test-powl.c: Likewise.
39132         * math/tst-definitions.c: Likewise.
39133         * misc/tst-dirname.c: Likewise.
39134         * misc/tst-efgcvt.c: Likewise.
39135         * misc/tst-fdset.c: Likewise.
39136         * misc/tst-hsearch.c: Likewise.
39137         * misc/tst-mntent2.c: Likewise.
39138         * nptl/tst-sem7.c: Likewise.
39139         * nptl/tst-sem8.c: Likewise.
39140         * nptl/tst-sem9.c: Likewise.
39141         * nss/test-netdb.c: Likewise.
39142         * posix/tst-fnmatch.c: Likewise.
39143         * posix/tst-getlogin.c: Likewise.
39144         * posix/tst-gnuglob.c: Likewise.
39145         * posix/tst-mmap.c: Likewise.
39146         * pwd/tst-getpw.c: Likewise.
39147         * resolv/tst-inet_ntop.c: Likewise.
39148         * rt/tst-timer.c: Likewise.
39149         * stdio-common/test-fseek.c: Likewise.
39150         * stdio-common/test-popen.c: Likewise.
39151         * stdio-common/test-vfprintf.c: Likewise.
39152         * stdio-common/tst-cookie.c: Likewise.
39153         * stdio-common/tst-fileno.c: Likewise.
39154         * stdio-common/tst-gets.c: Likewise.
39155         * stdio-common/tst-obprintf.c: Likewise.
39156         * stdio-common/tst-perror.c: Likewise.
39157         * stdio-common/tst-sprintf2.c: Likewise.
39158         * stdio-common/tst-sprintf3.c: Likewise.
39159         * stdio-common/tst-sprintf.c: Likewise.
39160         * stdio-common/tst-swprintf.c: Likewise.
39161         * stdio-common/tst-tmpnam.c: Likewise.
39162         * stdio-common/tst-unbputc.c: Likewise.
39163         * stdio-common/tst-wc-printf.c: Likewise.
39164         * stdlib/tst-environ.c: Likewise.
39165         * stdlib/tst-fmtmsg.c: Likewise.
39166         * stdlib/tst-limits.c: Likewise.
39167         * stdlib/tst-rand48-2.c: Likewise.
39168         * stdlib/tst-rand48.c: Likewise.
39169         * stdlib/tst-random2.c: Likewise.
39170         * stdlib/tst-random.c: Likewise.
39171         * stdlib/tst-strtol.c: Likewise.
39172         * stdlib/tst-strtoll.c: Likewise.
39173         * stdlib/tst-tls-atexit.c: Likewise.
39174         * stdlib/tst-xpg-basename.c: Likewise.
39175         * string/test-ffs.c: Likewise.
39176         * string/tst-bswap.c: Likewise.
39177         * string/tst-inlcall.c: Likewise.
39178         * string/tst-strtok.c: Likewise.
39179         * string/tst-strxfrm.c: Likewise.
39180         * sysdeps/x86_64/tst-audit10.c: Likewise.
39181         * sysdeps/x86_64/tst-audit3.c: Likewise.
39182         * sysdeps/x86_64/tst-audit4.c: Likewise.
39183         * sysdeps/x86_64/tst-audit5.c: Likewise.
39184         * time/tst-ftime_l.c: Likewise.
39185         * time/tst-getdate.c: Likewise.
39186         * time/tst-mktime3.c: Likewise.
39187         * time/tst-mktime.c: Likewise.
39188         * time/tst-posixtz.c: Likewise.
39189         * time/tst-strptime2.c: Likewise.
39190         * time/tst-strptime3.c: Likewise.
39191         * wcsmbs/tst-btowc.c: Likewise.
39192         * wcsmbs/tst-mbrtowc.c: Likewise.
39193         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39194         * wcsmbs/tst-wchar-h.c: Likewise.
39195         * wcsmbs/tst-wcpncpy.c: Likewise.
39196         * wcsmbs/tst-wcrtomb.c: Likewise.
39197         * wcsmbs/tst-wcsnlen.c: Likewise.
39198         * wcsmbs/tst-wcstof.c: Likewise.
39200 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39202         [BZ #14132]
39203         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39204         INTDEF.
39205         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39206         declaration.
39207         (_dl_mcount): Use rtld_hidden_proto.
39208         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39209         _dl_mcount.
39210         * elf/rtld.c (_rtld_global_ro): Likewise.
39212         [BZ #14132]
39213         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39214         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39215         of _dl_init_internal.
39216         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39217         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39218         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39219         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39220         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39221         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39222         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39223         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39224         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39225         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39226         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39227         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39228         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39229         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39230         * sysdeps/tile/dl-start.S (_start): Likewise.
39231         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39232         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39234         [BZ #14132]
39235         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39236         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39237         (rtld_progname): Make macro definition unconditional.
39238         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39239         INTDEF.
39240         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39241         (dl_main): Likewise.
39242         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39243         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39244         instead of _dl_argv_internal.
39245         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39246         __GI__dl_argv instead of INTUSE(_dl_argv).
39247         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39248         __GI__dl_argv instead of _dl_argv_internal.
39250         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39251         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39252         macro.
39253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39254         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39255         New macro.
39256         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39257         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39258         macro.
39259         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39260         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39262 2014-11-04  Andreas Schwab  <schwab@suse.de>
39264         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39266 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39268         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39269         mtvsrd instruction in binary form.
39271 2014-11-03  Andreas Schwab  <schwab@suse.de>
39273         [BZ #17522]
39274         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39275         for less than MB_LEN_MAX use a local buffer of that size.
39276         * libio/tst-fputws.c: New file.
39277         * libio/Makefile (tests): Add tst-fputws.
39279 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39281         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39282         the size of the fpu_fr.fpu_dregs[] array.
39284 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39286         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39287         (__nanosleep): Do not define as alias.
39288         (nanosleep): Define as alias of __nanosleep.
39289         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39290         __libc_nanosleep name.
39292 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39294         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39295         install.texi in comment.
39297 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39299         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39300         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39301         ... add here and use lwsync or sync ...
39302         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39303         ... and add here using lwsync.
39305 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39307         * elf/dl-machine-reject-phdr.h: New file.
39308         * elf/dl-load.c: #include that.
39309         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39310         if that returned true.
39312 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39314         [BZ #17496]
39315         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39316         gen-as-const-headers chunk.  Add a big scare comment after the last
39317         safe place to touch before-compile.
39319 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39321         * manual/install.texi (Tools for Compilation): Update autoconf
39322         version requirements.
39323         * INSTALL: Regenerated.
39325         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39326         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39327         (__libc_pselect): Likewise.
39329         [BZ #14138]
39330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39335 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39337         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39338         correct barrier instruction.
39339         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39340         Likewise.
39341         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39342         Likewise.
39344 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39346         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39347         after defining inlines.  Instead, just use parens to defeat macro
39348         expansion of __isctype in its declaration.
39350 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39352         * include/sys/uio.h (__libc_readv): Remove declaration.
39353         (__libc_writev): Likewise.
39354         * misc/readv.c (__libc_readv): Rename to __readv.
39355         (__readv): Do not define as alias.
39356         (readv): Define as alias of __readv.
39357         * misc/writev.c (__libc_writev): Rename to __writev.
39358         (__writev): Do not define as alias.
39359         (writev): Define as alias of __writev.
39360         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39361         (__readv): Do not define as alias.
39362         (readv): Define unconditionally as alias of __readv.
39363         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39364         (__writev): Do not define as alias.
39365         (writev): Define unconditionally as alias of __writev.
39366         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39367         name.
39368         (writev): Do not define __libc_writev name.
39370 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39372         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39373         (convert_charseq): New function, broken out of ...
39374         (use_from_charmap): ... here.  Call it.
39375         (use_to_charmap): Use convert_charseq and free instead of duplicating
39376         its code with a variable-length stack struct.
39378 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39380         * include/fcntl.h (__libc_creat): Remove declaration.
39381         * io/creat.c (__libc_creat): Rename to creat.
39382         (creat): Do not define as alias.
39383         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39384         of creat instead of __libc_creat.
39385         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39386         to creat.
39387         (creat): Do not define as alias.
39388         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39389         __libc_creat.
39390         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39391         __libc_creat name.
39392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39393         Likewise.
39395 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39397         * manual/llio.texi: Add comments discussing why write() may be
39398         considered MT-unsafe on Linux.
39400 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39402         * dl-load.c (local_strdup): Remove.
39403         (expand_dynamic_string_token): Use __strdup.
39404         (decompose_rpath): Likewise.
39405         (_dl_map_object): Likewise.
39407 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39409         [BZ #14132]
39410         * sysdeps/generic/unwind-dw2-fde.c
39411         (__register_frame_info_bases_internal): Do not declare.
39412         (__register_frame_info_table_bases_internal): Likewise.
39413         (__deregister_frame_info_bases_internal): Likewise.
39414         (__register_frame_info_bases): Declare and use hidden_proto before
39415         definition.  Use hidden_def instead of INTDEF.
39416         (__register_frame_info_table_bases): Likewise.
39417         (__deregister_frame_info_bases): Likewise.
39418         (__register_frame_info): Do not use INTUSE.
39419         (__register_frame): Likewise.
39420         (__register_frame_info_table): Likewise.
39421         (__register_frame_table): Likewise.
39422         (__deregister_frame_info): Likewise.
39423         (__deregister_frame): Likewise.
39425 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39428         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39429         not undefine.
39430         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39431         Likewise.
39432         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39433         Likewise.
39435 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39437         [BZ #14138]
39438         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39439         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39440         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39441         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39442         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39443         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39444         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39445         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39446         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39447         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39448         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39449         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39450         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39451         syscall.
39452         (setfsuid): Likewise.
39453         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39454         (setfsuid): Likewise.
39455         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39456         (setfsuid): Likewise.
39457         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39458         Likewise.
39459         (setfsuid): Likewise.
39460         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39461         (setfsuid): Likewise.
39462         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39463         Likewise.
39464         (setfsuid): Likewise.
39466 2014-10-27  Andreas Schwab  <schwab@suse.de>
39468         [BZ #17501]
39469         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39470         check for Slow_SSE4_2 feature bit.
39471         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39472         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39473         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39474         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39476 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39478         * configure.ac: Validate compiler version with a empirical test of
39479         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39480         $CC -v output.
39481         * configure: Regenerated.
39483         * inet/htons.c (htons): Prototypify.
39484         * inet/htonl.c (htonl): Likewise.
39486 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39488         * string/strncat.c (strncat): Improve performance by using strlen.
39490 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39492         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39494 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39496         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39497         Call libc_fetestexcept_aarch64.
39499 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39501         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39502         Call libc_feholdexcept_aarch64.
39504 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39506         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39507         Call get_rounding_mode.
39509 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39511         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39512         Simplify logic.
39514 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39516         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39517         Simplify logic.
39519 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39521         [BZ #14138]
39522         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39523         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39524         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39525         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39526         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39527         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39528         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39529         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39530         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39531         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39532         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39533         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39534         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39535         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39536         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39537         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39538         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39539         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39540         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39541         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39542         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39543         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39544         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39545         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39546         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39547         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39548         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39549         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39550         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39551         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39552         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39553         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39554         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39555         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39556         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39557         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39558         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39559         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39560         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39561         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39562         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39563         syscall.
39564         (geteuid): Likewise.
39565         (getgid): Likewise.
39566         (getuid): Likewise.
39567         (getresgid): Likewise.
39568         (getresuid): Likewise.
39569         (getgroups): Likewise.
39570         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39571         (geteuid): Likewise.
39572         (getgid): Likewise.
39573         (getuid): Likewise.
39574         (getresgid): Likewise.
39575         (getresuid): Likewise.
39576         (getgroups): Likewise.
39577         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39578         (geteuid): Likewise.
39579         (getgid): Likewise.
39580         (getuid): Likewise.
39581         (getresgid): Likewise.
39582         (getresuid): Likewise.
39583         (getgroups): Likewise.
39584         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39585         Likewise.
39586         (geteuid): Likewise.
39587         (getgid): Likewise.
39588         (getuid): Likewise.
39589         (getresgid): Likewise.
39590         (getresuid): Likewise.
39591         (getgroups): Likewise.
39592         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39593         (geteuid): Likewise.
39594         (getgid): Likewise.
39595         (getuid): Likewise.
39596         (getresgid): Likewise.
39597         (getresuid): Likewise.
39598         (getgroups): Likewise.
39599         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39600         Likewise.
39601         (geteuid): Likewise.
39602         (getgid): Likewise.
39603         (getuid): Likewise.
39604         (getgroups): Likewise.
39606         [BZ #14138]
39607         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39608         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39609         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39610         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39611         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39612         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39613         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39614         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39615         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39616         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39617         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39618         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39619         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39620         __chown.
39621         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39622         (lchown): Likewise.
39623         (fchown): Likewise.
39624         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39625         Likewise.
39626         (lchown): Likewise.
39627         (fchown): Likewise.
39628         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39629         (lchown): Likewise.
39630         (fchown): Likewise.
39631         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39632         Likewise.
39633         (lchown): Likewise.
39634         (fchown): Likewise.
39636 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39638         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39639         Simplify logic.
39641 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39643         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39644         Cleanup logic.
39646 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39648         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39649         Remove unused include.
39651 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39653         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39654         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39655         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39656         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39658 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39659             Helge Deller <deller@gmx.de>
39661         [BZ #17508]
39662         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39663         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39664         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39666 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39668         [BZ #14132]
39669         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39670         Remove macro definition.
39671         (__ashrdi3_v_glibc20): Likewise.
39672         (__lshrdi3_v_glibc20): Likewise.
39673         (__cmpdi2_v_glibc20): Likewise.
39674         (__ucmpdi2_v_glibc20): Likewise.
39675         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39676         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39677         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39678         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39679         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39680         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39682 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39684         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39685         old GNU extension [0] syntax.
39686         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39687         alloca rather than an array member with variable length.
39688         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39689         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39690         (parse_opt): ... here.  Likewise use alloca there.
39691         Validate the -i argument before checking for rootness.
39692         (send_shutdown): New function, broken out of ...
39693         (parse_opt): ... here.
39695 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39697         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39698         macro to get at the _rt_local_ro field.
39699         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39700         ([PIC] case) or _dl_hwcap ([!PIC] case).
39701         * sysdeps/arm/setjmp.S: Likewise.
39703         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39704         * sysdeps/arm/configure.ac: New check to define it.
39705         * sysdeps/arm/configure: Regenerated.
39706         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39707         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39708         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39709         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39710         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39711         Use move/movt pair instead of a load.
39712         (LDST_GLOBAL): Macro removed.
39713         (LDR_GLOBAL): New macro replaces it.
39714         (LDR_HIDDEN): New macro.
39715         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39716         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39718         * setjmp/tst-setjmp-static.c: New file.
39719         * setjmp/Makefile (tests): Add it.
39720         (tests-static): New variable.
39722 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39724         [BZ #17485]
39725         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39727 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39729         [BZ #14132]
39730         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39732 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39734         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39736 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39738         * io/fts.c (dirent_not_directory): New function.
39739         (fts_build): Call it.
39741 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39743         * nptl/version.c (__nptl_main): Use normal __write rather than
39744         INTERNAL_SYSCALL.
39745         (banner): Update copyright years.
39747         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39748         gettimeofday.
39749         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39750         * nptl/pthread_cond_timedwait.c: Likewise.
39751         * nptl/pthread_mutex_timedlock.c: Likewise.
39752         * nptl/sem_timedwait.c: Likewise.
39754         * sysdeps/nptl/bits/libc-lock.h
39755         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39756         (__libc_lock_init_recursive): Return void, not 0.
39757         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39758         (__libc_rwlock_init): Likewise.
39759         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39761 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39763         [BZ #15215]
39764         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39765         (__pthread_once_slow): ... here.
39766         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39767         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39769 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39771         [BZ #15215]
39772         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39773         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39774         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39775         * nptl/pthread_once.c (__pthread_once): Likewise.
39776         Update comments.
39778 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39780         [BZ #14138]
39781         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39782         name.
39783         (writev): Use __libc_writev as strong name.
39784         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39785         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39787 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39789         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39791         * sysdeps/i386/nptl/tls.h
39792         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39793         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39794         New macros.
39795         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39796         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39797         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39798         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39799         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39800         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39802         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39803         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39804         on [__NR_futex].
39805         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39806         broken out of ...
39807         (__pthread_mutex_init): ... here.  Call it.
39808         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39809         Conditionalize PI cases on [__NR_futex].
39810         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39811         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39812         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39814         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39815         conditional on [SIGSETXID].
39816         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39817         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39818         is defined.  Likewise for SIGSETXID.
39819         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39820         Conditionalize definitions on [SIGSETXID].
39821         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39822         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39823         unblocking on [SIGCANCEL].
39825         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39826         [__NR_set_robust_list].
39828 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39830         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39831         (do_compare): Likewise.
39833 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39835         [BZ #15884]
39836         * string/strcoll_l.c: Don't include stdio.h.
39837         (coll_seq): Remove members idxarr and rulearr.
39838         (get_next_seq_cached): Remove function.
39839         (get_next_seq): Likewise.
39840         (get_next_seq_nocache): Rename to get_next_seq.
39841         (do_compare): Remove function.
39842         (do_compare_nocache): Rename to do_compare.
39843         (STRCOLL): Remove weight and rules cache.
39845 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39847         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39848         * sysdeps/arm/sfp-machine.h: ... to here.
39849         * sysdeps/arm/Implies: Remove arm/soft-fp.
39851 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39853         * conform/data/sys/utsname.h-data (*_t): Allow.
39854         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39855         [POSIX] (WEXITED): Do not expect constant.
39856         [POSIX] (WSTOPPED): Likewise.
39857         [POSIX] (WNOHANG): Likewise.
39858         [POSIX] (WNOWAIT): Likewise.
39859         [POSIX] (siginfo_t): Do not expect type or elements.
39860         [POSIX] (pid_t): Do not expect type.
39861         [POSIX] (signal.h): Do not allow header.
39862         [POSIX] (sys/resource.h): Likewise.
39863         [POSIX] (si_*): Do not allow pattern.
39864         [POSIX] (W*): Likewise.
39865         [POSIX] (P_*): Likewise.
39866         [POSIX] (BUS_*): Likewise.
39867         [POSIX] (CLD_*): Likewise.
39868         [POSIX] (FPE_*): Likewise.
39869         [POSIX] (ILL_*): Likewise.
39870         [POSIX] (POLL_*): Likewise.
39871         [POSIX] (SEGV_*): Likewise.
39872         [POSIX] (SI_*): Likewise.
39873         [POSIX] (TRAP_*): Likewise.
39874         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39875         variable.
39877 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39879         [BZ #12926]
39880         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39881         infinite loop when __recvmsg returns 0.
39883 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39885         * CANCEL-FCT-WAIVE: Remove file.
39886         * CANCEL-FILE-WAIVE: Likewise.
39888         [BZ #14132]
39889         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39890         instead of INTVARDEF.
39891         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39892         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39893         rtld_hidden_data_def instead of INTVARDEF.
39894         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39895         * elf/dl-deps.c (expand_dst): Likewise.
39896         * elf/dl-load.c (_dl_dst_count): Likewise.
39897         (_dl_dst_substitute): Likewise.
39898         (decompose_rpath): Likewise.
39899         (_dl_init_paths): Likewise.
39900         (open_path): Likewise.
39901         (_dl_map_object): Likewise.
39902         * elf/rtld.c (dl_main): Likewise.
39903         (process_dl_audit): Likewise.
39904         (process_envvars): Likewise.
39905         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39906         Remove declaration.
39907         (__libc_enable_secure): Use rtld_hidden_proto.
39909 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39911         * elf/dl-load.c
39912         (add_path): New function broken out of _dl_rtld_di_serinfo.
39913         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39915 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39917         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39918         parentheses around macro arguments.
39919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39930         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39931         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39934         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39935         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39948         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39949         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39952         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39953         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39954         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39955         Likewise.
39956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39963         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39967         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39968         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39977         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39978         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39979         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39980         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39981         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39982         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39983         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39984         (_FP_FRAC_SRS_1): Likewise.
39985         (_FP_FRAC_CLZ_1): Likewise.
39986         (_FP_MUL_MEAT_1_imm): Likewise.
39987         (_FP_MUL_MEAT_1_wide): Likewise.
39988         (_FP_MUL_MEAT_1_hard): Likewise.
39989         (_FP_SQRT_MEAT_1): Likewise.
39990         (_FP_FRAC_ASSEMBLE_1): Likewise.
39991         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39992         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39993         (__FP_CLZ_2): Likewise.
39994         (_FP_MUL_MEAT_2_wide): Likewise.
39995         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39996         (_FP_MUL_MEAT_2_gmp): Likewise.
39997         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39998         (_FP_SQRT_MEAT_2): Likewise.
39999         (_FP_FRAC_ASSEMBLE_2): Likewise.
40000         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40001         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40002         (_FP_FRAC_CLZ_4): Likewise.
40003         (_FP_MUL_MEAT_4_wide): Likewise.
40004         (_FP_MUL_MEAT_4_gmp): Likewise.
40005         (_FP_SQRT_MEAT_4): Likewise.
40006         (_FP_FRAC_ASSEMBLE_4): Likewise.
40007         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40008         * soft-fp/op-common.h (_FP_CMP): Likewise.
40009         (_FP_CMP_EQ): Likewise.
40010         (_FP_CMP_UNORD): Likewise.
40011         (_FP_TO_INT): Likewise.
40012         (_FP_FROM_INT): Likewise.
40013         [!__FP_CLZ] (__FP_CLZ): Likewise.
40014         (_FP_DIV_HELP_imm): Likewise.
40015         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40016         Likewise.
40017         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40018         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40019         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40020         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40024         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40028         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40029         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40030         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40032         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40033         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40034         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40036         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40037         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40040         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40046         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40047         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40048         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40049         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40050         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40051         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40052         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40053         (FP_UNPACK_RAW_SP): Likewise.
40054         (FP_PACK_RAW_S): Likewise.
40055         (FP_PACK_RAW_SP): Likewise.
40056         (FP_UNPACK_S): Likewise.
40057         (FP_UNPACK_SP): Likewise.
40058         (FP_UNPACK_SEMIRAW_S): Likewise.
40059         (FP_UNPACK_SEMIRAW_SP): Likewise.
40060         (FP_PACK_S): Likewise.
40061         (FP_PACK_SP): Likewise.
40062         (FP_PACK_SEMIRAW_S): Likewise.
40063         (FP_PACK_SEMIRAW_SP): Likewise.
40064         (_FP_SQRT_MEAT_S): Likewise.
40065         (FP_CMP_S): Likewise.
40066         (FP_CMP_EQ_S): Likewise.
40067         (FP_CMP_UNORD_S): Likewise.
40068         (FP_TO_INT_S): Likewise.
40069         (FP_FROM_INT_S): Likewise.
40071         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40073         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40074         (FP_EX_INVALID_IMZ): Likewise.
40075         (FP_EX_INVALID_IMZ_FMA): Likewise.
40076         (FP_EX_INVALID_ISI): Likewise.
40077         (FP_EX_INVALID_ZDZ): Likewise.
40078         (FP_EX_INVALID_IDI): Likewise.
40079         (FP_EX_INVALID_SQRT): Likewise.
40080         (FP_EX_INVALID_CVI): Likewise.
40081         (FP_EX_INVALID_VC): Likewise.
40082         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40083         "invalid" exceptions.
40084         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40085         (_FP_ADD_INTERNAL): Likewise.
40086         (_FP_MUL): Likewise.
40087         (_FP_FMA): Likewise.
40088         (_FP_DIV): Likewise.
40089         (_FP_CMP_CHECK_NAN): Likewise.
40090         (_FP_SQRT): Likewise.
40091         (_FP_TO_INT): Likewise.
40092         (FP_EXTEND): Likewise.
40094 2014-10-09  Allan McRae  <allan@archlinux.org>
40096         * po/fr.po: Update French translation from translation project.
40098 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40100         [BZ #14132]
40101         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40102         of INTDEF.
40103         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40104         (__cxa_atexit): Use libc_hidden_proto.
40105         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40107         [BZ #14132]
40108         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40109         declaration.
40110         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40111         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40112         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40113         [!_ISOMAC] (__iswctype_internal): Likewise.
40114         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40115         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40116         alias.
40117         (fcntl): Remove __fcntl_internal alias.
40118         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40119         __connect_internal alias.
40120         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40121         Likewise.
40123         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40124         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40125         FP_DENORM_ZERO.
40126         (_FP_CHECK_FLUSH_ZERO): New macro.
40127         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40128         (_FP_CMP): Likewise.
40129         (_FP_CMP_EQ): Likewise.
40130         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40131         FP_DENORM_ZERO.
40132         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40133         (FP_TRUNC): Likewise.
40135         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40136         treated as invalid conversion, not as normal exponent.
40138         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40139         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40140         (_FP_CMP_EQ): Likewise.
40141         (_FP_CMP_UNORD): Likewise.
40142         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40143         (FP_CMP_EQ_D): Likewise.
40144         (FP_CMP_UNORD_D): Likewise.
40145         * soft-fp/extended.h (FP_CMP_E): Likewise.
40146         (FP_CMP_EQ_E): Likewise.
40147         (FP_CMP_UNORD_E): Likewise.
40148         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40149         (FP_CMP_EQ_Q): Likewise.
40150         (FP_CMP_UNORD_Q): Likewise.
40151         * soft-fp/single.h (FP_CMP_S): Likewise.
40152         (FP_CMP_EQ_S): Likewise.
40153         (FP_CMP_UNORD_S): Likewise.
40154         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40155         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40156         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40157         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40158         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40159         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40160         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40161         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40162         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40163         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40164         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40165         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40166         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40167         to FP_CMP_Q.
40168         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40169         FP_CMP_Q.
40170         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40171         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40172         FP_CMP_EQ_Q.
40173         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40174         FP_CMP_Q.
40175         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40176         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40177         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40178         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40179         FP_CMP_EQ_Q.
40180         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40181         FP_CMP_Q.
40182         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40183         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40184         FP_CMP_EQ_Q.
40185         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40186         FP_CMP_Q.
40187         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40188         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40189         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40190         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40191         FP_CMP_EQ_Q.
40193         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40194         a subnormal result, set the underflow exception if trapping on
40195         underflow is enabled.
40196         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40197         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40198         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40199         redefine to 0.
40200         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40201         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40202         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40203         * soft-fp/extendxftf2.c (__extendxftf2): Use
40204         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40206         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40207         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40208         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40209         FP_HANDLE_EXCEPTIONS.
40210         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40211         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40212         FP_HANDLE_EXCEPTIONS.
40213         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40214         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40215         FP_HANDLE_EXCEPTIONS.
40216         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40217         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40218         FP_HANDLE_EXCEPTIONS.
40220 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40222         [BZ #14132]
40223         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40224         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40225         use INTUSE.
40226         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40227         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40228         Remove alias.
40229         (__adjtimex): Define using libc_hidden_ver.
40230         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40231         Remove declaration.
40232         (ntp_gettime): Call __adjtimex directly.
40233         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40234         Remove declaration.
40235         (ntp_gettimex): Call __adjtimex directly.
40236         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40237         __adjtimex_internal alias.
40239 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40241         [BZ #17460]
40242         * nscd/nscd.c (more_help): Rewrite list of tables collection
40243         using xstrdup and asprintf.
40245         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40247 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40248             Roland McGrath  <roland@hack.frob.com>
40250         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40251         (do_lookup_unique): ... local function 'enter' here; update callers.
40253 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40255         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40256         compat_symbol calls on [SHARED].
40257         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40258         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40259         Remove.
40260         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40261         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40262         (oldsetrlimit): Remove.
40263         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40265         (lchown): New syscall entry.
40266         (oldsetrlimit): Remove.
40267         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40269         (oldsetrlimit): Remove.
40270         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40272         [BZ #14138]
40273         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40274         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40275         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40276         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40277         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40278         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40279         (fchown): Likewise.
40280         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40281         (fchown): Likewise.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40283         Likewise.
40285 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40287         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40288         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40289         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40290         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40291         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40292         Likewise.
40293         (__old_sem_post): Likewise.
40295 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40297         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40298         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40299         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40300         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40301         Use INLINE_VSYSCALL macro.
40302         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40303         __vdso_clock_gettime.
40304         * sysdeps/unix/sysv/linux/tile/init-first.c
40305         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40306         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40307         __vdso_clock_gettime.
40309         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40310         to set up frame more cleanly.
40312         * sysdeps/tile/memcmp.c: New file.
40314         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40316         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40317         * sysdeps/tile/tilegx/strcasestr.c: New file.
40318         * sysdeps/tile/tilegx/strnlen.c: New file.
40319         * sysdeps/tile/tilegx/strstr.c: New file.
40321         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40323 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40325         * nptl/tst-setuid3.c: Write errors to stdout.
40327 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40329         * elf/dl-deps.c
40330         (preload): New functions broken out of _dl_map_object_deps.
40331         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40333 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40335         [BZ #14138]
40336         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40337         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40339 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40341         * sysdeps/mips/strcmp.S: New.
40343 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40345         [BZ #14138]
40346         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40347         (linkat): Likewise.
40348         (mkdirat): Likewise.
40349         (readlinkat): Likewise.
40350         (renameat): Likewise.
40351         (symlinkat): Likewise.
40352         (unlinkat): Likewise.
40353         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40354         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40355         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40356         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40357         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40358         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40359         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40361 2014-09-30  Will Newton  <will.newton@linaro.org>
40363         * math/math.h: Define long double math functions if
40364         _LIBC_TEST is defined.
40365         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40367         * localedata/Makefile: Move assignment to tests-special
40368         into an ifdef testing run-built-tests.
40369         * timezone/Makefile: Likewise.
40371 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40373         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40374         with $(BASH) not $(SHELL).
40376 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40377             Matthew LeGendre  <legendre1@llnl.gov>
40379         [BZ #17411]
40380         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40381         l_reloc_result.
40383 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40385         * stdio-common/printf_fp.c
40386         (hack_digit): New function, broken out of ...
40387         (__printf_fp): ... local function here.  Update call sites.
40388         hack_digit now takes an additional parameter that is a pointer
40389         to a struct of the referenced locals.  Those locals moved inside
40390         the struct and references updated.
40392 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40394         * aclocal.m4: Require autoconf 2.69.
40395         * configure: Regenerated.
40396         * sysdeps/aarch64/configure: Likewise.
40397         * sysdeps/alpha/configure: Likewise.
40398         * sysdeps/arm/armv7/configure: Likewise.
40399         * sysdeps/arm/configure: Likewise.
40400         * sysdeps/ia64/configure: Likewise.
40401         * sysdeps/mach/configure: Likewise.
40402         * sysdeps/mips/configure: Likewise.
40403         * sysdeps/s390/configure: Likewise.
40404         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40407         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40408         file.
40409         * sysdeps/ia64/configure.ac: Likewise.
40411 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40414         specify symbol version for ld.so.  Do not include entry for
40415         libpthread.
40416         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40417         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40418         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40420         [BZ #14171]
40421         * Makeconfig [$(build-shared) = yes]
40422         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40423         makefiles.
40424         [$(build-shared) = yes && $(soversions.mk-done) = t]
40425         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40426         [$(build-shared) = yes && $(soversions.mk-done) = t]
40427         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40428         to Makerules.
40429         [$(build-shared) = yes && $(soversions.mk-done) = t]
40430         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40431         here.
40432         [$(build-shared) = yes && $(soversions.mk-done) = t]
40433         (common-generated): Don't append gnu/lib-names.h and
40434         gnu/lib-names.stmp here.
40435         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40436         (lib-names-h-abi): New variable.
40437         [$(build-shared) = yes && $(soversions.mk-done) = t]
40438         (lib-names-stmp-abi): Likewise.
40439         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40440         abi-variants] (before-compile): Append
40441         $(common-objpfx)$(lib-names-h-abi).
40442         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40443         abi-variants] (common-generated): Append gnu/lib-names.h.
40444         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40445         abi-variants] (install-others-nosubdir): Depend on
40446         $(inst_includedir)/$(lib-names-h-abi).
40447         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40448         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40449         [$(build-shared) = yes && $(soversions.mk-done) = t]
40450         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40451         [$(build-shared) = yes && $(soversions.mk-done) = t]
40452         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40453         [$(build-shared) = yes && $(soversions.mk-done) = t]
40454         (common-generated): Append $(lib-names-h-abi) and
40455         $(lib-names-stmp-abi).
40456         * scripts/lib-names.awk: Do not handle multi being set.
40457         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40458         Remove variable.
40459         (abi-lp64_be-ld-soname): Likewise.
40460         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40461         Likewise.
40462         (abi-hard-ld-soname): Likewise.
40463         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40464         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40465         Remove variable.
40466         (abi-o32_hard-ld-soname): Likewise.
40467         (abi-o32_soft_2008-ld-soname): Likewise.
40468         (abi-o32_hard_2008-ld-soname): Likewise.
40469         (abi-n32_soft-ld-soname): Likewise.
40470         (abi-n32_hard-ld-soname): Likewise.
40471         (abi-n32_soft_2008-ld-soname): Likewise.
40472         (abi-n32_hard_2008-ld-soname): Likewise.
40473         (abi-n64_soft-ld-soname): Likewise.
40474         (abi-n64_hard-ld-soname): Likewise.
40475         (abi-n64_soft_2008-ld-soname): Likewise.
40476         (abi-n64_hard_2008-ld-soname): Likewise.
40477         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40478         Likewise.
40479         (abi-64-v2-ld-soname): Likewise.
40480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40481         ld.so entries.
40482         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40483         variable.
40484         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40485         entry.
40486         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40487         variable.
40488         (abi-64-ld-soname): Likewise.
40489         (abi-x32-ld-soname): Likewise.
40490         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40491         entry.
40492         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40494 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40496         [BZ #14138]
40497         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40498         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40499         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40500         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40501         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40502         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40503         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40504         syscall entry for GLIBC_2.2 symbol version.
40505         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40506         Likewise.
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40508         (setrlimit): Likewise.
40509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40510         Likewise.
40512 2014-09-23  Will Newton  <will.newton@linaro.org>
40514         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40515         _LINUX_ARM_SYSDEP_H include guard too.
40516         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40517         define.
40519 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40521         * sysdeps/unix/sysv/linux/eventfd.c:
40522         Make first argument unsigned.
40523         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40524         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40526 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40528         [BZ #16852]
40529         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40530         * socket/sys/socket.h: Likewise.
40531         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40533 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40535         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40537 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40539         * time/tst-ftime.c: New test.
40540         * time/Makefile (tests): Add tst-ftime.
40542 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40544         * soft-fp/extended.h: Fix comment formatting.
40545         * soft-fp/op-1.h: Likewise.
40546         * soft-fp/op-2.h: Likewise.
40547         * soft-fp/op-4.h: Likewise.
40548         * soft-fp/op-8.h: Likewise.
40549         * soft-fp/op-common.h: Likewise.
40550         * soft-fp/soft-fp.h: Likewise.
40552         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40554 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40556         [BZ #6652]
40557         * Makeconfig (soversions-default-setname): Remove variable.
40558         ($(common-objpfx)soversions.i): Don't pass default_setname to
40559         soversions.awk.
40560         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40561         oldest_abi to abi-versions.awk.
40562         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40563         * config.make.in (oldest-abi): Remove variable.
40564         * configure.ac (--enable-oldest-abi): Remove configure option.
40565         * configure: Regenerated.
40566         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40567         text.
40568         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40569         * scripts/soversions.awk: Do not handle default_setname variable.
40570         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40571         variable.
40572         * sysdeps/mach/hurd/configure: Regenerated.
40573         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40574         variable.
40575         * sysdeps/unix/sysv/linux/configure: Regenerated.
40577 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40579         * elf/Makefile (CFLAGS-interp.c): Remove.
40580         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40581         path string.
40582         * elf/interp.c: Include generated runtime-linker.h
40584         * Makerules (lib%.so): Don't include $(+interp) in
40585         prerequisites.
40586         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40587         * dlfcn/eval.c: Remove file.
40589         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40590         macros.
40592         [BZ #17266]
40593         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40594         4.2 and newer.
40596         [BZ #17370]
40597         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40599 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40600             Jakub Jelinek  <jakub@redhat.com>
40602         [BZ #17266]
40603         * libio/stdio.h: Check definition of __fortify_function
40604         instead of __extern_always_inline to include bits/stdio2.h.
40605         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40606         check if __extern_always_inline is defined.
40607         [__USE_MISC || __USE_XOPEN]: Likewise.
40608         [__USE_ISOC99] Likewise.
40609         * misc/sys/cdefs.h (__fortify_function): Define only if
40610         __extern_always_inline is defined.
40611         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40612         __extern_always_inline and __extern_inline only for g++-4.3
40613         and newer or a compatible gcc.
40615 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40617         [BZ #17371]
40618         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40619         last change to handle zero prefix length.
40621 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40623         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40624         _SC_REGEX_VERSION.
40626         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40627         _POSIX_RAW_SOCKETS.
40629 2014-09-13  Allan McRae  <allan@archlinux.org>
40631         * po/ru.po: Update Russian translation from translation project.
40633 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40635         * locale/programs/locale.c (show_locale_vars): Inline local function
40636         into its sole call site.  Clean up some style nits.
40637         (print_item): New function, broken out of ...
40638         (show_info): ... local function here.  Clean up style nits.
40640         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40641         out of ...
40642         (set_class_defaults): ... local function set_default here.
40643         Define set_default as a macro locally to pass constant parameters.
40644         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40645         rather than a shared local.
40647         * stdlib/rpmatch.c (try): New function, broken out of ...
40648         (rpmatch): ... local function here.  Also, prototypify definition.
40650 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40652         * scripts/soversions.awk: Do not handle configuration names.
40653         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40654         vendor and os variables to soversions.awk.
40655         * configure.ac: Do not modify gnu-* host_os.
40656         * configure: Regenerated
40657         * shlib-versions: Remove first column with configuration names.
40658         * nptl/shlib-versions: Likewise.
40659         * nptl_db/shlib-versions: Likewise.
40660         * sysdeps/hppa/shlib-versions: Likewise.
40661         * sysdeps/m68k/shlib-versions: Likewise.
40662         * sysdeps/mach/hurd/shlib-versions: Likewise.
40663         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40664         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40665         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40666         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40667         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40668         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40669         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40670         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40672         Likewise.
40673         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40674         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40675         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40676         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40677         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40678         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40679         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40680         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40683         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40685         Regenerated.
40686         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40688         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40690         * shlib-versions: Remove OS-specific entries.  Moved to files in
40691         sysdeps.
40692         * sysdeps/mach/hurd/shlib-versions: New file.
40693         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40695         * nptl/shlib-versions: Remove architecture-specific entries.
40696         Moved to files in sysdeps.
40697         * shlib-versions: Likewise.
40698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40699         file.
40700         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40701         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40702         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40703         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40705         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40706         (UDP_NO_CHECK6_RX): Likewise.
40708 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40710         * sysdeps/posix/sysconf.c (__sysconf): Spell
40711         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40713 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40715         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40716         loading.
40717         * iconv/Versions (__gconv_transliterate): Export for use from
40718         gconv modules.
40719         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40720         (struct __gconv_trans_data, __gconv_trans_fct,
40721         __gconv_trans_context_fct, __gconv_trans_query_fct,
40722         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40723         definitions.
40724         (struct __gconv_step_data): Remove __trans member.
40725         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40726         longer hidden.  Remove unused trans_data argument.
40727         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40728         (__gconv_translit_find): Remove declaration.
40729         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40730         prototype.
40731         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40732         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40733         trans_data argument.  Add hidden definition.
40734         (__gconv_translit_find): Remove.
40735         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40736         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40737         * iconv/skeleton.c: Remove transliteration initialization.
40738         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40739         __gconv_step_data initialization.
40740         * libio/iofwide.c (__libio_translit_): Remove.
40741         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40742         * wcsmbs/btowc.c (__btowc): Likewise.
40743         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40744         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40745         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40746         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40747         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40748         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40749         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40750         * wcsmbs/wctob.c (wctob): Likewise.
40752 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754         [BZ #16194]
40755         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40756         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40757         register usage.
40758         * sysdeps/x86/Makefile: Adjust.
40760 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40761             Roland McGrath  <roland@hack.frob.com>
40763         * locale/weight.h: Add include guard.
40764         (findidx): Make static rather than auto; take new parameters
40765         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40766         * locale/weightwc.h: Likewise.
40767         * posix/fnmatch_loop.c
40768         (FCT): Change type of EXTRA from int32_t to wint_t.
40769         Don't include either header inside the function.
40770         Call FINDIDX rather than findidx, and pass new arguments.
40771         #undef FINDIDX at the end of the file.
40772         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40773         FINDIDX before including fnmatch_loop.c for the non-wide version.
40774         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40775         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40776         for the wide version.
40777         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40778         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40779         Pass new arguments to findidx.
40780         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40781         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40782         Don't #include it inside the function.  Pass new arguments to findidx.
40783         * posix/regex_internal.h
40784         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40785         (re_string_elem_size_at): Don't #include it inside the function.
40786         Pass new arguments to findidx.
40787         * string/strcoll_l.c: #include WEIGHT_H at top level.
40788         (get_next_seq): Don't #include it inside the function.
40789         Pass new arguments to findidx.
40790         (get_next_seq_nocache): Likewise.
40791         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40792         (STRXFRM): Don't #include it inside the function.
40793         Pass new arguments to findidx.
40795 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40797         [BZ #17344]
40798         * malloc/malloc.c (unlink): Turn asserts into a call to
40799         malloc_printerr.
40801 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40803         [BZ #17370]
40804         * libio/wfileops (do_ftell_wide): Free OUT.
40806 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40808         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40810 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40812         [BZ #17363]
40813         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40814         group if the current group is empty.
40816 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40818         * benchtests/bench-memset.c (test_main): Add more test from size
40819         from 32 to 512 bytes.
40820         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40821         Add POWER8 memset object.
40822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40823         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40824         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40825         implementation.
40826         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40827         Likewise.
40828         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40829         multiarch POWER8 memset optimization.
40830         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40831         POWER8 memset optimization.
40833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40834         Remove bzero multiarch objects.
40835         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40836         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40837         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40838         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40839         Remove define.
40840         [__bzero]: Redefine to specific name.
40841         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40842         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40843         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40844         define.
40845         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40846         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40848 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40850         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40851         warnings into errors.
40853         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40854         __cxa_thread_atexit_impl prototype.
40856 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40858         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40859         Fix capitalization of error message.
40861 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40863         * sysdeps/mips/preconfigure: Modify ABI tests.
40865 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40867         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40869 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40870             Carlos O'Donell  <carlos@systemhalted.org>
40872         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40873         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40874         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40875         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40876         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40877         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40878         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40879         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40880         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40881         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40883         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40884         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40885         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40886         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40889         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40893         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40894         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40895         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40896         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40897         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40898         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40899         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40900         Deconditionalize the code that was previously under [RESET_PID].
40901         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40902         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40903         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40904         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40905         include sysdep.h.
40907 2014-09-08  Allan McRae  <allan@archlinux.org>
40909         * version.h (RELEASE): Set to "development".
40910         (VERSION): Set to "2.20.90"
40912 2014-09-07  Allan McRae  <allan@archlinux.org
40914         * version.h (RELEASE): Set to "stable".
40915         (VERSION): Set to "2.20"
40916         * include/features.h (__GLIBC_MINOR__): Set to 20.
40918         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40919         Liebler.
40921         * po/ko.po: Update Korean translation from translation project.
40923 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40925         [BZ #17354]
40926         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40927         macro for handling signed relocations.
40929 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40931         [BZ #17325]
40932         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40933         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40934         assert.
40935         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40936         * iconvdata/ibm935.c (BODY): Likewise.
40937         * iconvdata/ibm937.c (BODY): Likewise.
40938         * iconvdata/ibm939.c (BODY): Likewise.
40939         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40940         assert.
40941         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40942         script.
40943         * iconvdata/run-iconv-test.sh: New test loop for checking for
40944         decoder crashers.
40946 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40949         libm_hidden_ver.
40951 2014-09-01  Allan McRae  <allan@archlinux.org>
40953         * po/eo.po: Update Esperanto translation from translation project.
40955         * po/ca.po: Update Catalan translation from translation project.
40957 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40959         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40960         __proc_dostop call.
40962 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40964         [BZ #17319]
40965         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40966         to call set_thread_area instead of hand written asm.
40967         (__NR_set_thread_area): Removed define.
40968         (TLS_FLAG_WRITABLE): Likewise.
40969         (__ASSUME_SET_THREAD_AREA): Remove check.
40970         (TLS_EBX_ARG): Remove define.
40971         (TLS_LOAD_EBX): Likewise.
40973 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40975         Simplify atomicity of socket creation in bind.
40977         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40978         looking up the name after linking the file.
40980 2014-08-27  Allan McRae  <allan@archlinux.org>
40982         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40984 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40986         [BZ #17187]
40987         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40988         trans_compare, open_translit, __gconv_translit_find):
40989         Remove module loading code.
40991 2014-08-26  Allan McRae  <allan@archlinux.org>
40993         * po/vi.po: Update Vietnamese translation from translation project.
40995         * po/uk.po: Update Ukrainian translation from translation project.
40997         * po/fr.po: Update French translation from translation project.
40999         * po/ru.po: Update Russian translation from translation project.
41001         * po/pl.po: Update Polish translation from translation project.
41003         * po/cs.po: Update Czech translation from translation project.
41005         * po/de.po: Update German translation from translation project.
41007         * po/bg.po: Update Bulgarian translation from translation project.
41009         * po/sv.po: Update Sweedish translation from translation project.
41011         * po/nl.po: Update Dutch translation from translation project.
41013         * po/es.po: Update Spanish translation from translation project.
41015 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41017         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41019         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41020         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41021         (CPPFLAGS-iconvconfig): Likewise.
41022         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41024         * include/libc-symbols.h: Remove unnecessary check for
41025         NOT_IN_libc.
41026         * nptl/pthreadP.h: Likewise.
41027         * sysdeps/aarch64/setjmp.S: Likewise.
41028         * sysdeps/alpha/setjmp.S: Likewise.
41029         * sysdeps/arm/sysdep.h: Likewise.
41030         * sysdeps/i386/setjmp.S: Likewise.
41031         * sysdeps/m68k/setjmp.c: Likewise.
41032         * sysdeps/posix/getcwd.c: Likewise.
41033         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41034         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41035         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41036         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41037         * sysdeps/sh/sh3/setjmp.S: Likewise.
41038         * sysdeps/sh/sh4/setjmp.S: Likewise.
41039         * sysdeps/unix/alpha/sysdep.h: Likewise.
41040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41042         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41043         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41048         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41051         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41053         * sysdeps/x86_64/setjmp.S: Likewise.
41055 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41057         [BZ #17263]
41058         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41059         <stdint.h>.
41060         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41061         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41063 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41065         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41067         [BZ #17262]
41068         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41069         and __x86_64__ when disabling x87 inline functions.
41071 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41073         [BZ #17259]
41074         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41075         asm statement with __cpuid_count.
41077 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41079         * configure.ac: Change __ehdr_start code to dereference the struct.
41080         Run readelf on the output to look for relocations.
41081         * configure: Regenerated.
41083 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41085         [BZ #17261]
41086         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41087         value to 0.
41088         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41090 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41092         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41094 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41096         [BZ #16892]
41097         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41098         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41100 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41102         * malloc/malloc.c: Fix typo in comment.
41104 2014-08-09  Allan McRae  <allan@archlinux.org>
41106         * Regenerate libc.po.
41108 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41110         * intl/tst-gettext2.sh: Check every lang file for creation.
41112 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41114         * sysdeps/aarch64/fpu/math_private.h
41115         (libc_feholdsetround_noex_aarch64_ctx): New function.
41117 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41119         * sysdeps/arm/armv6/strcpy.S (strcpy):
41120         Fix performance issue in misaligned cases.
41122 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41124         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41125         Move definition from termios.h.
41126         (struct termio): Likewise.
41127         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41128         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41129         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41130         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41131         Likewise.
41132         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41133         Move definition to ioctl-types.h
41134         (struct termio): Likewise.
41135         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41136         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41137         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41138         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41139         Likewise.
41141 2014-08-05  Richard Henderson  <rth@redhat.com>
41143         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41144         exceptions.
41145         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41146         Add fraiseexcpt.
41147         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41148         Use __feraiseexcept.
41149         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41150         Protect libm symbols with IS_IN_libm.
41152         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41154 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41156         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41158 2014-08-04  Will Newton  <will.newton@linaro.org>
41160         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41161         file.
41163 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41165         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41166         variants for each function.
41168 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41170         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41171         appended ...
41172         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41173         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41174         appended ...
41175         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41176         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41177         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41178         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41179         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41180         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41181         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41182         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41183         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41184         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41185         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41186         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41187         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41188         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41189         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41190         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41191         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41192         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41193         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41194         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41195         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41196         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41198         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41199         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41200         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41201         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41202         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41203         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41204         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41205         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41206         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41207         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41208         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41209         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41210         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41211         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41212         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41213         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41214         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41215         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41217         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41218         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41219         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41221         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41223         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41225         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41226         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41227         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41228         Update #include.
41229         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41230         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41232 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41234         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41235         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41236         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41237         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41238         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41239         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41241 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41243         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41244         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41245         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41246         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41248 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41250         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41251         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41252         (__libc_vfork): Define function under this name.
41253         (__vfork): Define as an alias.
41254         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41255         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41257 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41259         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41260         that was previously under [RESET_PID].
41261         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41263 2014-08-04  Andreas Schwab  <schwab@suse.de>
41265         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41267 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41269         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41270         (main): Likewise.
41272 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41274         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41276 2014-08-01  Richard Henderon  <rth@redhat.com>
41278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41279         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41280         typo in exact zero test.
41281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41282         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41285 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41287         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41288         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41289         * sysdeps/arm/sysdep.h: ... here.
41290         [!__ASSEMBLER__]: Include <stdint.h>.
41292 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41295         (HAVE_WCTYPE_H): Likewise.
41296         (HAVE_ISWCTYPE): Likewise.
41297         (ENABLE_NLS): Likewise.
41298         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41299         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41301         * posix/regex_internal.c: Check if DEBUG is defined and is
41302         set.
41304         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41305         (HAVE_MBSRTOWCS): Likewise.
41306         * posix/fnmatch.c: Include string.h unconditionally.
41308 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41310         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41311         reversal.
41313 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41315         * sysdeps/generic/safe-fatal.h: New file.
41316         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41317         * nptl/forward.c: Include it.
41318         (__pthread_unwind): Use __safe_fatal as default action, rather
41319         than a bogus use of INTERNAL_SYSCALL that could never work.
41321         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41322         * configure.ac (libc_cv_builtin_trap): New test.
41323         * configure: Regenerated.
41324         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41325         (ABORT_INSTRUCTION): Define using __builtin_trap.
41327         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41328         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41329         * sysdeps/nptl/nptl-signals.h: New file.
41330         * nptl/pthreadP.h: Include <nptl-signals.h>.
41332 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41334         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41335         (ONE_DIRECTION): Define.
41336         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41337         (ONE_DIRECTION): Define.
41338         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41339         (ONE_DIRECTION): Define.
41341 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41343         * sysdeps/s390/Makefile: Delete file.
41344         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41345         * sysdeps/s390/__longjmp.c: Delete file.
41346         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41347         Remove fields __flags and __reserved.
41348         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41349         and add versioning.
41350         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41351         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41352         * sysdeps/s390/rtld-setjmp.S: Likewise.
41353         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41354         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41355         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41356         * sysdeps/s390/s390-32/setjmp.S: ... here.
41357         Add versioning.
41358         (__sigsetjmp): Remove setting __flags field.
41359         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41360         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41361         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41362         * sysdeps/s390/s390-64/setjmp.S: ... here.
41363         Add versioning.
41364         (__sigsetjmp): Remove setting __flags field.
41365         * sysdeps/s390/setjmp.S: Delete file.
41366         * sysdeps/s390/sigjmp.c: Likewise.
41367         * sysdeps/s390/v1-longjmp.c: Likewise.
41368         * sysdeps/s390/v1-setjmp.h: Likewise.
41369         * sysdeps/s390/v1-sigjmp.c: Likewise.
41370         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41371         Remove v1-longjmp_chk.
41372         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41373         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41374         Include debug/longjmp_chk.c and add versioning.
41375         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41376         Include nptl/pt-longjmp.c and add versioning.
41377         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41378         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41379         Include __longjmp.c.
41380         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41381         Move to ...
41382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41383         (__getcontext): Remove setting __flags field.
41384         Add versioning.
41385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41386         Don't restore upper high grps.
41387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41388         Likewise.
41389         (__swapcontext): Remove setting uc_flags field.
41390         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41391         Delete file.
41392         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41393         Include __longjmp.c.
41394         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41395         Move to ...
41396         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41397         (__getcontext): Remove setting __flags field.
41398         Add versioning.
41399         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41400         (__swapcontext): Remove setting uc_flags field.
41401         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41402         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41403         Remove fields uc_high_gprs and __reserved.
41404         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41405         New file with reverted content.
41406         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41407         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41408         Regenerated.
41409         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41410         Regenerated.
41412 2014-07-31  Andreas Schwab  <schwab@suse.de>
41414         * config.h.in (HAVE_IFUNC): Define to 0.
41415         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41416         definedness.
41418 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41421         memmove-avx-unaligned, memcpy-avx-unaligned and
41422         mempcpy-avx-unaligned.
41423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41424         Add tests for AVX memcpy functions.
41425         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41426         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41427         memcpy_chk.
41428         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41429         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41430         memmove_chk.
41431         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41432         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41433         mempcpy_chk.
41434         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41435         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41438 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41440         [BZ #17213]
41441         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41442         powerpc64le.
41444 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41446         [BZ #16839]
41447         * manual/llio.texi: Add section about open file description locks.
41448         * manual/examples/ofdlocks.c: Example of open file description
41449         lock usage.
41450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41451         F_OFD_SETLK, and F_OFD_SETLKW.
41453 2014-07-23  Allan McRae  <allan@archlinux.org>
41455         * po/es.po: Update Spanish translation from translation project.
41457 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41459         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41461 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41463         [BZ #17078]
41464         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41465         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41466         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41468 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41470         [BZ #17088]
41471         * math/fesetenv.c (__fesetenv)
41472         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41473         * math/feupdateenv.c (__feupdateenv)
41474         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41476         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41477         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41478         (__ASSUME_SOCKETCALL): Do not define.
41480         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41481         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41482         (__ASSUME_SOCKETCALL): Do not define.
41483         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41484         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41485         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41486         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41488         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41490         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41492         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41493         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41494         (__ASSUME_SOCKETCALL): Do not define.
41495         (__ASSUME_IPC64): Define unconditionally.
41496         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41497         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41498         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41500         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41502         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41503         Likewise.
41505         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41506         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41507         (__ASSUME_SOCKETCALL): Do not define.
41508         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41509         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41510         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41511         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41512         (__ASSUME_REQUEUE_PI): Define unconditionally.
41513         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41514         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41515         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41516         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41518         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41520         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41521         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41522         (__ASSUME_SOCKETCALL): Do not define.
41523         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41524         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41525         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41526         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41528         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41530         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41531         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41532         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41533         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41535         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41536         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41537         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41538         (__ASSUME_GETCPU_SYSCALL): Likewise.
41540         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41541         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41542         cases for individual architectures.
41543         * sysdeps/gnu/configure: Regenerated.
41544         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41545         LIBC_SLIBDIR_RTLDDIR.
41546         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41547         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41548         LIBC_SLIBDIR_RTLDDIR.
41549         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41551         LIBC_SLIBDIR_RTLDDIR.
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41553         Regenerated.
41554         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41555         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41556         file.
41557         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41558         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41559         file.
41560         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41561         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41562         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41563         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41565         * sysdeps/aarch64/shlib-versions: Move to ...
41566         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41567         * sysdeps/alpha/shlib-versions: Move to ...
41568         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41569         * sysdeps/arm/shlib-versions: Move to ...
41570         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41571         * sysdeps/hppa/shlib-versions: Move all contents except for
41572         libgcc_s entry to ...
41573         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41574         entry from ...
41575         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41576         * sysdeps/ia64/shlib-versions: Move to ...
41577         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41578         entry from ...
41579         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41580         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41581         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41582         * sysdeps/microblaze/shlib-versions: Move to ...
41583         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41584         * sysdeps/mips/shlib-versions: Move to ...
41585         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41586         entry from ...
41587         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41588         * sysdeps/tile/shlib-versions: Move to ...
41589         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41590         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41591         from ...
41592         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41593         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41594         entry from ...
41595         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41597 2014-07-17  Will Newton  <will.newton@linaro.org>
41599         * sysdeps/arm/bits/atomic.h
41600         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41601         (__arch_compare_and_exchange_bool_16_int): Likewise.
41602         (__arch_compare_and_exchange_bool_64_int): Likewise.
41604         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41605         into an #else block.
41607 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41609         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41610         just Linux configurations.  Test empirically that the compiler sets
41611         __ARM_EABI__, rather than using the tuple to decide.
41612         * sysdeps/arm/preconfigure: Regenerated.
41613         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41614         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41615         contents appended ...
41616         * sysdeps/arm/configure.ac: ... here.
41617         * sysdeps/arm/configure: Regenerated.
41619 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41621         * nptl/pthread_kill.c: New file.
41622         * nptl/pthread_sigmask.c: New file.
41623         * nptl/pthread_sigqueue.c: New file.
41625         * sysdeps/nptl/lowlevellock.h: New file.
41626         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41627         * sysdeps/nptl/lowlevellock-futex.h: New file.
41629         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41630         Remove dead declarations.
41632 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41634         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41635         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41636         config-cflags-avx2.
41637         * sysdeps/x86_64/configure.ac: Likewise.
41638         * sysdeps/i386/configure: Regenerated.
41639         * sysdeps/x86_64/configure: Likewise.
41640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41641         memset-avx2 only if config-cflags-avx2 is yes.
41642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41643         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41644         defined.
41645         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41646         only if HAVE_AVX2_SUPPORT is defined.
41647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41649 2014-07-14  Alan Modra  <amodra@gmail.com>
41651         [BZ #17153]
41652         * elf/elf.h (DT_PPC64_NUM): Correct value.
41653         * NEWS: Add to fixed bug list.
41655 2014-07-13  Jim Meyering  <meyering@fb.com>
41657         [BZ 17150]
41658         regex: don't deref NULL upon heap allocation failure
41659         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41660         failure in one more place.
41661         To trigger the segfault, configure grep -with-included-regex,
41662         build it, and run these commands:
41663         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41665 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41667         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41669 2014-07-11  Richard Henderson  <rth@redhat.com>
41671         * sysdeps/aarch64/libm-test-ulps: Update.
41673 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41675         [BZ #17135]
41676         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41677         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41678         (__nptl_setxid): Initialize error member.  Call
41679         __nptl_setxid_error.
41680         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41681         * nptl/descr.h (struct xid_command): Add error member.
41682         * nptl/tst-setuid3.c: New file.
41683         * nptl/Makefile (tests): Add it.
41685 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41688         New define.
41689         (__lll_trylock): Use __lll_base_trylock.
41690         (__lll_cond_trylock): Likewise.
41692 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41694         * nptl/pthread_create.c (start_thread): Use atomic_or and
41695         lll_futex_wake directly rather than lll_robust_dead.
41696         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41697         (lll_robust_dead): Macro removed.
41698         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41715         Use atomic_compare_and_exchange_val_acq directly rather than
41716         lll_robust_trylock.
41717         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41718         (__lll_robust_trylock, lll_robust_trylock): Removed.
41719         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41720         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41721         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41723         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41724         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41726         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41728         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41729         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41730         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41731         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41732         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41734 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41736         * manual/locale.texi (Locale Names): New section documenting
41737         locale name syntax.  Adjust menu and node chaining accordingly.
41738         (Choosing Locale): Reference Locale Names, Locale Categories.
41739         Mention setting LC_ALL=C.  Reflect that name syntax is now
41740         documented.
41741         (Locale Categories): New section title.  Reference Locale Names.
41742         LC_ALL is an environment variable, but not a category.
41743         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41744         description, now in Locale Name.  Reference that section.  Locale
41745         name syntax is now documented.
41747 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41749         [BZ #17137]
41750         * locale/findlocale.c (name_present, valid_locale_name): New
41751         functions.
41752         (_nl_find_locale): Use the loc_name variable to store name
41753         candidates.  Call name_present and valid_locale_name to check and
41754         validate locale names.  Return an error if the locale is invalid.
41756 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41758         * locale/setlocale.c (setlocale): Use strdup for allocating
41759         composite name copy.
41761 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41763         Sync up with gnulib.
41764         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41765         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41766         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41767         and _GL_ARG_NONNULL.
41768         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41769         [!_LIBC]: Include code for Windows and Cygwin.
41770         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41771         Include prototype for int strerror_r.
41772         [!_LIBC] (is_open): New function.
41773         (flush_stdout): New function.
41774         (print_errno_message): Use it.
41775         (error): Likewise.
41776         (error_at_line): Likewise.
41777         (error_tail) Add function attribute macros.  Use
41778         __builtin_expect.
41780         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41782         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41784         * io/ftw.c: Include sys/param.h unconditionally.
41786         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41788         [BZ #17125]
41789         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41790         libc_freeres_ptr.
41791         (freecache): New function to free CACHE on exit.
41793         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41794         initialization.
41796 2014-07-09  David S. Miller  <davem@davemloft.net>
41798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41800         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41801         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41802         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41803         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41804         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41805         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41806         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41807         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41808         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41809         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41810         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41811         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41812         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41814 2014-07-09  Andreas Schwab  <schwab@suse.de>
41816         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41817         output.
41818         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41819         (do_test): Likewise.
41821         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41823 2014-07-09  Will Newton  <will.newton@linaro.org>
41825         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41826         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41827         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41828         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41829         * sysdeps/hppa/start.S (_start): Likewise.
41831 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41833         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41835         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41836         defined.
41838 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41840         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41841         after checking that it is non-NULL.
41843         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41845 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41847         * sysdeps/powerpc/memmove.c: Remove file.
41848         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41849         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41850         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41851         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41853         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41854         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41855         string memmove instead of removed powerpc one.
41857         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41858         [weak_alias]: Fix compiler warning due trailing data.
41859         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41860         [weak_alias]: Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41862         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41865         (__libc_ifunc_impl_list): Add memmove functions.
41867 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41869         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41870         Remove code.
41871         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41872         Likewise.
41873         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41874         Likewise.
41875         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41876         Likewise.
41877         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41878         Likewise.
41879         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41880         Likewise.
41881         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41882         Likewise.
41883         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41884         Likewise.
41885         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41886         Likewise.
41887         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41888         Likewise.
41889         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41890         Likewise.
41891         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41892         Likewise.
41893         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41894         Likewise.
41895         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41896         Likewise.
41897         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41898         Likewise.
41899         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41900         Likewise.
41901         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41902         Likewise.
41904 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41906         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41907         to avoid alignment traps in non-cacheable memory.
41908         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41911         multiarch objects.
41912         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41913         file: multiarch power7 memmove.
41914         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41915         multiarch default memmove.
41916         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41917         multiarch memove for powerpc32/power4.
41919         * string/bcopy.c: Use full path to include memmove.c.
41920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41921         multiarch objects.
41922         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41923         bcopy for powerpc64.
41924         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41925         bcopy for powerpc64.
41926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41927         and memmove implementations.
41928         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41929         optimized multiarch memmove for POWER7/powerpc64.
41930         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41931         default multiarch memmove for powerpc64.
41932         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41933         multiarch for powerpc64.
41934         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41935         for POWER7/powerpc64.
41936         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41937         memmove for POWER7/powerpc64.
41939         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41940         glibc default one.
41942         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41943         __ELF_NATIVE_CLASS equal to 64.
41945 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41947         * sysdeps/nptl/lowlevellock.h: File removed.
41949         * NEWS: NPTL is no longer an add-on!
41950         * nptl/internaltypes.h: Moved ...
41951         * sysdeps/nptl/internaltypes.h: ... here.
41952         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41953         * sysdeps/nptl/fork.c: Likewise.
41954         * sysdeps/nptl/gai_misc.h: Likewise.
41955         * sysdeps/nptl/librt-cancellation.c: Likewise.
41956         * sysdeps/nptl/jmp-unwind.c: Likewise.
41957         * sysdeps/nptl/setxid.h: Likewise.
41958         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41959         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41960         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41961         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41962         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41963         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41964         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41965         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41966         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41967         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41968         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41969         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41970         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41971         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41972         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41973         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41974         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41975         * nptl/Makeconfig: Moved ...
41976         * sysdeps/nptl/Makeconfig: ... here.
41977         * nptl/configure: File removed.
41978         * nptl/ANNOUNCE: File removed.
41979         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41980         * sysdeps/unix/sysv/linux/configure: Regenerated.
41982         * nptl/Makefile (routines): Add libc_pthread_init,
41983         libc_multiple_threads, register-atfork and unregister-atfork.
41984         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41985         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41986         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41987         pthread-pi-defines.sym, structsem.sym.
41988         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41989         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41990         [$(subdir) = nptl] (tests): Add tst-setgetname.
41991         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41992         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41993         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41994         [!LIBC_SIGACTION]: Remove aliases.
41995         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41996         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41997         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41998         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41999         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42000         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42001         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42003         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42004         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42005         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42006         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42007         __libc_allocate_rtsig_private.
42008         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42009         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42010         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42011         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42012         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42013         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42014         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42015         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42016         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42017         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42018         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42019         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42020         * nptl/internaltypes.h: ... here.
42021         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42022         * sysdeps/nptl/jmp-unwind.c: ... here.
42023         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42024         * nptl/libc-lowlevellock.c: ... here.
42025         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42026         * nptl/libc_multiple_threads.c: ... here.
42027         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42028         * nptl/libc_pthread_init.c: ... here.
42029         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42030         * nptl/lowlevelbarrier.sym: ... here.
42031         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42032         * nptl/lowlevelcond.sym: ... here.
42033         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42034         * nptl/lowlevellock.c: ... here.
42035         * nptl/lowlevellock.h: Moved ...
42036         * sysdeps/nptl/lowlevellock.h: ... here.
42037         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42038         * nptl/lowlevelrobustlock.c: ... here.
42039         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42040         * nptl/lowlevelrobustlock.sym: ... here.
42041         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42042         * nptl/lowlevelrwlock.sym: ... here.
42043         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42044         * nptl/pt-fork.c: ... here.
42045         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42046         * nptl/pthread-pi-defines.sym: ... here.
42047         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42048         * nptl/pthread_attr_getaffinity.c: ... here.
42049         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42050         * nptl/pthread_attr_setaffinity.c: ... here.
42051         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42052         * nptl/pthread_mutex_cond_lock.c: ... here.
42053         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42054         Update #include.
42055         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42056         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42057         * nptl/pthread_once.c: ... here, replacing old file.
42058         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42059         * nptl/pthread_yield.c: ... here.
42060         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42061         * nptl/register-atfork.c: ... here.
42062         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42063         * nptl/sem_post.c: ... here.
42064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42065         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42066         * nptl/sem_timedwait.c: ... here.
42067         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42068         * nptl/sem_trywait.c: ... here.
42069         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42071         * nptl/sem_wait.c: ... here.
42072         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42073         * nptl/structsem.sym: ... here.
42074         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42075         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42076         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42077         * nptl/unregister-atfork.c: ... here.
42078         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42079         * nptl/unwindbuf.sym: ... here.
42080         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42081         * sysdeps/nptl/fork.c: ... here.
42082         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42083         * sysdeps/nptl/fork.h: ... here.
42084         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42085         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42086         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42087         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42088         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42089         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42090         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42091         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42092         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42093         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42094         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42095         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42096         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42097         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42098         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42099         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42100         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42101         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42102         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42103         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42104         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42105         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42106         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42107         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42108         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42109         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42110         * sysdeps/unix/sysv/linux/raise.c: ... here.
42111         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42112         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42113         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42114         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42115         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42116         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42117         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42118         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42119         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42120         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42121         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42122         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42123         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42124         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42125         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42127 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42129         * sysdeps/generic/memcopy.h: Add comment for
42130         MEMCPY_OK_FOR_FWD_MEMMOVE.
42132 2014-07-04  Will Newton  <will.newton@linaro.org>
42134         * string/memchr.c: Merge from gnulib.
42135         [_LIBC]: Remove conditionals.
42136         (__ptr_t): Remove define.
42137         (LONG_MAX_32_BITS): Likewise.
42138         (LONG_MAX): Likewise.
42139         (MEMCHR): Use ANSI prototype and optimize algorithm.
42141         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42143 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42145         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42146         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42148         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42149         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42150         in a bare environment with no <stdlib.h> installed.
42151         * sysdeps/nptl/configure: Regenerated.
42153         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42155         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42156         AC_EGREP_CPP for kernel header checks, so they only succeed if
42157         including <linux/version.h> actually works right.
42158         * sysdeps/unix/sysv/linux/configure: Regenerated.
42160         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42161         value so it's not diagnosed as unused.
42163         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42164         thing) with "ifeq ($(subdir),rt)".
42166 2014-07-03  Richard Henderson  <rth@redhat.com>
42168         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42169         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42170         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42172         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42173         (math_force_eval): New.
42175         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42176         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42178         * sysdeps/alpha/fpu/s_round.c: Remove file.
42179         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42181         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42182         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42183         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42184         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42185         (_dl_start, print_statistics): Likewise.
42186         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42187         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42189         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42190         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42191         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42192         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42194         (HP_SMALL_TIMING_AVAIL): Define.
42195         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42196         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42197         (HP_SMALL_TIMING_AVAIL): Define.
42198         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42199         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42201         * sysdeps/aarch64/hp-timing.h: New file.
42203         * sysdeps/generic/hp-timing.h: Remove dead comment.
42204         * sysdeps/generic/hp-timing-common.h: New file.
42205         * sysdeps/alpha/hp-timing.h: Include it.
42206         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42207         * sysdeps/i386/i686/hp-timing.h: Likewise.
42208         * sysdeps/ia64/hp-timing.h: Likewise.
42209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42210         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42212         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42213         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42214         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42215         (hp_timing_t): New.
42217         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42218         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42219         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42220         * elf/rtld.c (_dl_start_final): Likewise.
42221         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42222         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42223         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42224         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42225         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42227         (HP_TIMING_DIFF_INIT): Remove.
42228         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42230         (HP_TIMING_DIFF_INIT): Remove.
42231         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42232         * sysdeps/i386/i686/hp-timing.c: Remove file.
42233         * sysdeps/x86_64/hp-timing.c: Remove file.
42234         * sysdeps/ia64/hp-timing.c: Remove file.
42235         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42236         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42238         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42240         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42241         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42242         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42243         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42244         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42245         (HP_TIMING_ACCUM): Remove.
42246         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42248         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42250         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42251         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42252         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42253         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42255         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42256         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42257         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42259         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42261 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42263         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42265 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42267         Sync up with gettext.
42268         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42269         [_MSC_VER]: Include malloc.h
42270         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42271         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42272         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42273         TEMP_FAILURE_RETRY.  Cast return of alloca.
42274         [!_LIBC] Call gl_rwlock_init.
42275         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42277 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42279         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42280         before checking its value.
42282 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42284         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42286         * debug/memcpy_chk.c: Don't include pagecopy.h.
42287         * debug/mempcpy_chk.c: Likewise.
42288         * string/memcpy.c: Likewise.
42289         * string/memmove.c: Likewise.
42290         * sysdeps/powerpc/memmove.c: Likewise.
42291         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42292         definition of PAGE_COPY_FWD_MAYBE here...
42293         * sysdeps/generic/pagecopy.h: ... from here.
42294         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42296 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42297             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42299         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42301         optimizations.
42302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42303         (__libc_ifunc_impl_list): Likewise.
42304         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42305         multiarch strcat for PPC64.
42306         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42307         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42309 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42311         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42313 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42315         * intl/loadmsgcat.c: Remove declaration of
42316         get_sysdep_segment_value.
42317         (get_sysdep_segment_value): Use ISO C style.
42318         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42319         semicolon.  Fix typo and formatting in comment.
42320         (_nl_unload_domain): Use ISO C style.
42322         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42324 2014-07-02  Will Newton  <will.newton@linaro.org>
42326         * malloc/obstack.c: Merge from gnulib master.
42327         [HAVE_CONFIG_H]: Remove conditional code.
42328         [!_LIBC]: Include config.h.
42329         [!ELIDE_CODE]: Don't include inttypes.h, include
42330         stdint.h unconditionally.
42331         (print_and_abort): Mark as _Noreturn.
42332         (_obstack_allocated_p): Mark as __attribute_pure__.
42333         (obstack_free): Rename to __obstack_free.
42334         [!__attribute__]: Remove conditional code.
42335         * malloc/obstack.h: Merge from gnulib master.
42336         [__cplusplus]: Move conditional down.
42337         [!__attribute_pure__]: Define __attribute_pure__ here
42338         if it is not already defined.
42339         (_obstack_memory_used): Mark as __attribute_pure__.
42340         [!__obstack_free]: Define as obstack_free.
42341         [__GNUC__]: Remove check for ancient NeXT gcc.
42343 2014-07-02  Will Newton  <will.newton@linaro.org>
42344             Paul Eggert  <eggert@cs.ucla.edu>
42346         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42348 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42350         * resolv/gethnamaddr.c: Add comment warning that the file is
42351         not maintained.
42353 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42355         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42356         entries.
42358         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42359         entry for aio_cancel and aio_cancel64.
42360         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42361         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42362         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42363         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42364         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42365         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42366         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42367         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42368         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42369         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42370         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42371         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42372         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42374 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42376         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42377         * nptl/pthread_mutex_lock.c: Likewise.
42378         * nptl/pthread_mutex_timedlock.c: Likewise.
42379         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42381 2014-07-01  Richard henderson  <rth@redhat.com>
42383         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42384         (__isnan, __isnanl): Remove.
42385         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42387         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42389 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42391         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42393 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42395         * resolv/nss_dns/dns-host.c (getanswer_r)
42396         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42398 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42401         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42402         undefine.
42403         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42404         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42406 2014-07-01  Roland McGrath <roland@hack.frob.com>
42408         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42409         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42411         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42412         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42414         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42415         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42416         ... here.
42417         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42418         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42420         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42421         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42422         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42423         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42425         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42426         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42427         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42428         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42429         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42430         Moved ...
42431         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42432         ... here.
42433         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42434         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42435         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42436         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42437         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42438         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42439         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42440         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42441         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42442         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42443         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42444         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42445         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42446         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42447         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42448         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42449         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42450         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42451         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42452         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42453         ... here.
42454         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42455         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42456         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42457         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42458         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42459         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42460         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42461         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42463 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42465         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42466         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42467         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42468         Add sysdep.
42470 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42474 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42476         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42479         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42481         * sysdeps/arm/libm-test-ulps: Regenerated.
42483 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42484             Roland McGrath <roland@hack.frob.com>
42486         * test-skeleton.c (signal_handler): Kill the whole process group
42487         before killing the child individually.
42488         (main): Report any failure on `setpgid'.
42490 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42492         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42493         from _TLS_H to _ARM_NPTL_TLS_H.
42494         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42495         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42497 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42499         [BZ #16539]
42500         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42501         (__expm1l): Return argument unchanged when small but not
42502         subnormal.
42504         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42505         include macro name.
42506         (_FP_UNPACK_RAW_1_P): Likewise.
42507         (_FP_PACK_RAW_1): Likewise.
42508         (_FP_PACK_RAW_1_P): Likewise.
42509         (_FP_MUL_MEAT_1_wide): Likewise.
42510         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42511         (_FP_MUL_MEAT_1_hard): Likewise.
42512         (_FP_DIV_MEAT_1_imm): Likewise.
42513         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42514         (_FP_DIV_MEAT_1_udiv): Likewise.
42515         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42516         (_FP_UNPACK_RAW_2): Likewise.
42517         (_FP_UNPACK_RAW_2_P): Likewise.
42518         (_FP_PACK_RAW_2): Likewise.
42519         (_FP_PACK_RAW_2_P): Likewise.
42520         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42521         (_FP_MUL_MEAT_2_wide): Likewise.
42522         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42523         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42524         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42525         (_FP_MUL_MEAT_2_gmp): Likewise.
42526         (_FP_DIV_MEAT_2_udiv): Likewise.
42527         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42528         (_FP_FRAC_SRL_4): Likewise.
42529         (_FP_FRAC_SRST_4): Likewise.
42530         (_FP_FRAC_SRS_4): Likewise.
42531         (_FP_UNPACK_RAW_4): Likewise.
42532         (_FP_UNPACK_RAW_4_P): Likewise.
42533         (_FP_PACK_RAW_4): Likewise.
42534         (_FP_PACK_RAW_4_P): Likewise.
42535         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42536         (_FP_MUL_MEAT_4_wide): Likewise.
42537         (_FP_MUL_MEAT_4_gmp): Likewise.
42538         (umul_ppppmnnn): Likewise.
42539         (_FP_DIV_MEAT_4_udiv): Likewise.
42540         (__FP_FRAC_ADD_4): Likewise.
42541         (__FP_FRAC_SUB_3): Likewise.
42542         (__FP_FRAC_SUB_4): Likewise.
42543         (__FP_FRAC_DEC_3): Likewise.
42544         (__FP_FRAC_DEC_4): Likewise.
42545         (__FP_FRAC_ADDI_4): Likewise.
42546         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42547         (_FP_FRAC_SRL_8): Likewise.
42548         (_FP_FRAC_SRS_8): Likewise.
42550         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42551         include macro name.
42552         (FP_UNPACK_RAW_EP): Likewise.
42553         (FP_PACK_RAW_E): Likewise.
42554         (FP_PACK_RAW_EP): Likewise.
42555         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42556         (_FP_ISSIGNAN): Likewise.
42557         (_FP_ADD_INTERNAL): Likewise.
42558         (_FP_FMA): Likewise.
42559         (_FP_CMP): Likewise.
42560         (_FP_SQRT): Likewise.
42561         (_FP_TO_INT): Likewise.
42562         (_FP_FROM_INT): Likewise.
42563         (FP_EXTEND): Likewise.
42564         (_FP_DIV_MEAT_N_loop): Likewise.
42566 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42568         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42569         throughout.
42571 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42573         [BZ #17097]
42574         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42575         result with correct sign in case of exponents that produce
42576         overflow except for X very close to 1.
42578 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42580         mktime: merge #if/#ifdef usage from glibc
42581         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42582         as that works with both Glibc's and Gnulib's style.
42583         See thread starting at Siddhesh Poyarekar's bug report at:
42584         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42586 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42588         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42589         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42590         * sysdeps/tile/tilegx/memmove.c: Remove file.
42592 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42594         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42595         abi-name definition.
42596         * scripts/soversions.awk: Do not handle or generate ABI lines.
42597         * shlib-versions: Remove ABI entries.
42598         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42599         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42601 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42604         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42605         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42606         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42608         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42610         Moved ...
42611         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42612         ... here.
42613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42614         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42616         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42618         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42620         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42622         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42624         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42626         Moved ...
42627         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42629         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42630         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42631         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42633         Moved ...
42634         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42636         Moved ...
42637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42639         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42641         Moved ...
42642         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42644         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42646         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42648         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42650         Moved ...
42651         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42653         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42654         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42655         Moved ...
42656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42657         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42658         Moved ...
42659         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42661         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42663         Moved ...
42664         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42665         ... here.
42666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42667         Identical file removed.
42668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42669         Moved ...
42670         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42671         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42672         Identical file removed.
42673         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42674         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42675         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42676         Moved ...
42677         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42679         Identical file removed.
42680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42681         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42683         Identical file removed.
42684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42685         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42687         Identical file removed.
42688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42689         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42691         Identical file removed.
42692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42693         Moved ...
42694         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42696         Identical file removed.
42697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42698         Moved ...
42699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42703         Identical file removed.
42704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42705         Moved ...
42706         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42707         ... here.
42708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42709         Identical file removed.
42710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42711         Moved ...
42712         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42714         Identical file removed.
42715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42716         Moved ...
42717         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42719         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42721         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42723         Moved ...
42724         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42725         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42726         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42728         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42729         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42730         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42731         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42732         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42734 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42736         [BZ #17092]
42737         * nscd/nscd.c (monitor_child): Return exit status of child
42738         instead of return value from wait syscall.
42740 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42742         * configure.ac (libc_commonpagesize): Remove variable.
42743         (libc_relro_required): Likewise.
42744         (libc_cv_z_relro): Remove configure test.
42745         * configure: Regenerated.
42746         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42747         variable.
42748         (libc_relro_required): Likewise.
42749         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42750         (libc_relro_required): Likewise.
42751         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42752         (libc_relro_required): Likewise.
42753         * sysdeps/arm/preconfigure: Regenerated.
42754         * sysdeps/ia64/preconfigure: Remove file.
42755         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42756         variable.
42757         (libc_relro_required): Likewise.
42759         [BZ #16561]
42760         [BZ #16562]
42761         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42762         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42763         recompute overflowing results in original rounding mode.
42764         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42765         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42766         recompute overflowing results in original rounding mode.
42767         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42768         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42769         recompute overflowing results in original rounding mode.
42770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42771         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42772         recompute overflowing results in original rounding mode.
42773         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42774         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42775         recompute overflowing results in original rounding mode.
42776         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42777         (libc_feholdsetround_ctx): New macro.
42778         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42779         * sysdeps/i386/fpu/libm-test-ulps: Update.
42780         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42782 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42784         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42785         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42786         corresponding .cpsetup call.
42788 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42790         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42791         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42792         * sysdeps/arm/Makefile [$(subdir) = csu]
42793         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42794         (static-only-routines): Add aeabi_read_tp here.
42795         (shared-only-routines): Add libc-aeabi_read_tp here.
42796         (CFLAGS-libc-start.c): Add -fexceptions here.
42797         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42798         (sysdep_routines, static-only-routines, shared-only-routines):
42799         Don't add to these here.
42800         (CFLAGS-libc-start.c): Likewise.
42802         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42803         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42804         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42805         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42806         * sysdeps/arm/Makefile [$(subdir) = rt]
42807         (librt-sysdep_routines, librt-shared-only-routines):
42808         Append rt-aeabi_unwind_cpp_pr1 here.
42809         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42810         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42811         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42812         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42813         Append nptl-aeabi_unwind_cpp_pr1 here.
42814         (tests): Filter out tst-cleanupx4 here.
42815         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42816         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42817         Don't do those here.
42819 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42821         * scripts/list-sources.sh: Do not handle ports specially.
42823 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42825         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42826         * sysdeps/arm/feupdateenv.c: Likewise.
42828         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42830 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42832         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42833         trailing whitespace removed.
42834         * scripts/config.guess: Update to version 2014-03-23.
42835         * scripts/config.sub: Update to version 2014-05-01
42836         * scripts/install-sh: Update to version 2013-12-25.23.
42837         * scripts/move-if-change: Update from gnulib.
42839 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42841         * debug/memmove_chk.c: Remove pagecopy.h include.
42843 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42845         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42846         identical to gnulib mktime.
42848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42850         * configure.ac: Do not test for machine being rs6000.  Do not test
42851         for powerpc*-*soft.
42852         * configure: Regenerated.
42854         [BZ #11505]
42855         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42856         test.
42857         * configure: Regenerated.
42858         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42859         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42860         Remove configure test.
42861         * sysdeps/arm/configure: Regenerated.
42862         * sysdeps/nptl/configure.ac: Do not check
42863         libc_cv_asm_cfi_directives.
42864         * sysdeps/nptl/configure: Regenerated.
42865         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42866         * sysdeps/x86_64/nptl/configure: Remove generated file.
42867         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42868         unconditional.
42869         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42871 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42873         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42874         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42875         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42876         it is defined.
42878         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42879         instead of whether it is defined.
42880         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42881         * sysdeps/hppa/dl-machine.h: Likewise.
42882         * sysdeps/ia64/dl-machine.h: Likewise.
42883         * sysdeps/m68k/dl-machine.h: Likewise.
42884         * sysdeps/microblaze/dl-machine.h: Likewise.
42885         * sysdeps/mips/dl-machine.: Likewise.
42886         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42887         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42888         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42889         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42890         * sysdeps/sh/dl-machine.h: Likewise.
42891         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42892         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42893         * sysdeps/tile/dl-machine.h: Likewise.
42894         * sysdeps/x86_64/dl-machine.h: Likewise.
42896         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42897         code.
42898         (verify_persistent_db): Likewise.
42900 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42903         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42905         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42907         Moved ...
42908         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42909         ... here.
42910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42911         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42913         Identical file removed.
42914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42917         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42919         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42921         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42923         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42928         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42930         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42932         Moved ...
42933         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42937         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42939         Identical file removed.
42940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42941         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42945         Moved ...
42946         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42947         ... here.
42948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42951         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42953         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42955         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42957         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42959         Moved ...
42960         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42962         Moved ...
42963         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42965         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42967         Moved ...
42968         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42970         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42972         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42973         folded into ...
42974         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42975         * sysdeps/unix/sysv/linux/s390/Versions
42976         (libpthread: GLIBC_2.19): New version set.
42977         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42978         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42979         (librt: GLIBC_2.3.3): New version set.
42980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42981         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42982         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42983         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42984         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42985         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42986         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42987         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42988         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42989         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42990         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42991         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42992         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42993         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42994         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42995         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42996         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42997         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42999         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43000         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43001         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43002         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43003         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43004         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43005         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43006         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43007         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43008         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43009         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43010         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43011         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43016         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43018         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43020         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43022         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43024         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43026         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43027         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43028         (__libc_vfork): Define the function under this name.
43029         [!NOT_IN_libc] (__vfork): Make this an alias.
43030         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43032         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43033         (__libc_vfork): Define the function under this name.
43034         [!NOT_IN_libc] (__vfork): Make this an alias.
43035         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43036         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43037         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43038         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43039         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43040         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43042         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43043         code that was previously under [RESET_PID].
43044         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43045         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43048         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43049         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43050         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43051         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43052         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43053         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43054         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43055         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43056         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43057         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43058         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43059         Moved ...
43060         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43061         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43062         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43063         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43064         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43065         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43066         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43067         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43068         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43069         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43071         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43072         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43073         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43074         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43075         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43076         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43077         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43078         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43079         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43080         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43081         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43082         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43083         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43084         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43085         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43086         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43088         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43090 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43092         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43093         that was previously under [RESET_PID].
43094         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43096 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43098         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43099         not undefine and redefine.
43100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43101         [O_CLOEXEC]: Make code unconditional.
43102         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43103         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43104         <kernel-features.h>.
43105         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43106         conditional variable definition.
43107         (shm_open) [O_CLOEXEC]: Make code unconditional.
43108         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43109         code.
43111         * configure.ac (USE_REGPARMS): Don't define here.
43112         * configure: Regenerated.
43113         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43114         * sysdeps/i386/configure: Regenerated.
43116         * nptl/createthread.c: Don't include kernel-features.h.
43117         * nptl/pthread_cancel.c: Likewise.
43118         * nptl/pthread_condattr_setclock.c: Likewise.
43119         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43120         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43121         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43122         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43123         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43124         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43125         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43128         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43129         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43130         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43131         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43132         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43133         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43134         * nscd/gai.c: Likewise.
43135         * nss/nss_db/db-open.c: Likewise.
43136         * sysdeps/generic/ldsodefs.h: Likewise.
43137         * sysdeps/sh/nptl/tls.h: Likewise.
43138         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43139         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43140         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43141         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43142         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43143         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43144         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43145         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43147         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43148         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43149         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43150         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43151         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43152         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43153         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43154         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43155         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43156         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43157         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43160         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43161         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43166         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43167         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43168         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43169         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43170         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43171         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43172         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43173         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43174         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43175         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43176         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43177         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43178         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43179         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43180         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43181         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43182         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43183         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43184         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43185         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43186         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43187         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43188         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43189         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43190         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43191         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43192         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43193         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43194         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43195         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43218         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43219         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43220         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43221         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43222         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43223         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43224         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43225         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43226         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43227         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43228         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43229         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43230         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43231         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43232         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43233         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43234         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43235         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43236         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43237         * sysdeps/unix/sysv/linux/system.c: Likewise.
43238         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43239         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43240         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43241         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43242         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43244         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43246         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43247         * configure: Regenerated.
43248         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43250         * configure.ac (base_machine): Do not set specially for particular
43251         machines here.
43252         * configure: Regenerated.
43253         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43254         settings from configure.ac.
43255         * sysdeps/i386/preconfigure: New file.
43256         * sysdeps/s390/preconfigure: Likewise.
43257         * sysdeps/sh/preconfigure: Likewise.
43258         * sysdeps/sparc/preconfigure: Likewise.
43260 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43262         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43263         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43264         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43265         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43266         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43267         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43268         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43269         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43270         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43271         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43272         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43273         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43274         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43275         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43276         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43277         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43279         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43280         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43282         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43283         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43284         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43285         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43286         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43287         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43288         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43289         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43290         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43291         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43292         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43293         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43294         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43295         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43296         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43297         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43298         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43299         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43300         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43301         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43303         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43305         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43307         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43309         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43312         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43313         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43314         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43315         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43316         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43317         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43319         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43322         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43324         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43326         Moved ...
43327         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43328         ... here.
43329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43330         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43332         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43334         Moved ...
43335         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43337         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43341         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43343         Moved ...
43344         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43346         Moved ...
43347         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43349         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43351         Moved ...
43352         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43354         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43356         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43358         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43360         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43362         Moved ...
43363         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43364         ... here.
43365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43366         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43368         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43370         Moved ...
43371         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43373         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43375         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43377         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43382         Moved ...
43383         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43385         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43390         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43392         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43394 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43396         * timezone/checktab.awk: Update from tzcode 2014e.
43397         * timezone/private.h: Likewise.
43398         * timezone/tzfile.h: Likewise.
43399         * timezone/zdump.c: Likewise.
43400         * timezone/zic.c: Likewise.
43402         * sysdeps/unix/sysv/linux/kernel-features.h
43403         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43404         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43405         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43406         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43407         Remove conditional code.
43409 2014-06-25  Will Newton  <will.newton@linaro.org>
43411         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43412         (_dl_arm_cap_flags): Add HWCAP2 values.
43413         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43414         (_DL_HWCAP_COUNT): Increase to 37.
43415         (_DL_HWCAP_LAST): New define.
43416         (_DL_HWCAP2_LAST): New define.
43417         (_dl_procinfo): Add support for printing
43418         AT_HWCAP2 entries.
43419         (_dl_string_hwcap): Use _dl_hwcap_string.
43421 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43425 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43427         * README: Do not mention ports directory.
43429         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43430         Remove macro.
43431         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43432         <kernel-features.h>.
43433         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43434         conditional variable definition.
43435         (__futimes): Update comment.
43436         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43437         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43439         [BZ #16560]
43440         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43441         arguments close to 0.
43442         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43443         Likewise.
43444         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43445         Likewise.
43446         * math/auto-libm-test-in: Add more tests of exp10.
43447         * math/auto-libm-test-out: Regenerated.
43448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43450         * sysdeps/unix/sysv/linux/kernel-features.h
43451         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43452         * sysdeps/unix/sysv/linux/readv.c: Do not include
43453         <kernel-features.h>.
43454         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43455         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43456         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43457         unconditional.
43458         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43459         conditional code.
43460         * sysdeps/unix/sysv/linux/writev.c: Do not include
43461         <kernel-features.h>.
43462         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43463         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43464         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43465         unconditional.
43466         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43467         conditional code.
43469 2014-06-25  Will Newton  <will.newton@linaro.org>
43471         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43472         comment changes throughout the file.  Remove checks
43473         for HAVE_*_H definitions that are not required.
43474         (__gen_tempname): Call abort if an unknown kind value is
43475         passed.
43477 2014-06-25  Andreas Schwab  <schwab@suse.de>
43479         [BZ #17086]
43480         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43481         scalbln, scalblnf, scalblnl in libc.
43483 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43485         [BZ #17086]
43486         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43487         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43488         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43490 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43492         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43493         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43494         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43495         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43496         Update #include.
43497         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43498         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43499         Update #include.
43500         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43501         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43502         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43503         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43504         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43505         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43506         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43507         * sysdeps/x86/bits/semaphore.h: ... here.
43508         * sysdeps/x86/nptl/elide.h: Moved ...
43509         * sysdeps/x86/elide.h: ... here.
43510         * sysdeps/x86_64/nptl/Implies: File removed.
43511         * sysdeps/i386/nptl/Implies: File removed.
43513 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #16539]
43516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43517         return the argument for normal arguments with exponent below -64.
43518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43519         Likewise.
43520         * math/auto-libm-test-in: Add another test of expm1.
43521         * math/auto-libm-test-out: Regenerated.
43523         [BZ #16287]
43524         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43525         calling __erfcl for arguments at least 16.
43526         * math/auto-libm-test-in: Add more tests of erf.
43527         * math/auto-libm-test-out: Regenerated.
43529         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43530         individual architectures.
43531         * sysdeps/unix/sysv/linux/configure: Regenerated.
43532         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43533         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43534         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43535         (ldd_rewrite_script): Define variable.
43536         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43538         file.
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43540         generated file.
43541         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43542         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43543         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43544         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43545         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43546         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43547         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43548         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43550 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43552         [BZ #17084]
43553         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43554         Rename member __data.d to __data.__elision_data.
43556 2014-06-24  Wilco  <wdijkstr@arm.com>
43558         * NEWS: Add 16918 to fixed bug list.
43560 2014-06-24  Wilco  <wdijkstr@arm.com>
43562         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43564 2014-06-24  Wilco  <wdijkstr@arm.com>
43566         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43567         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43568         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43569         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43570         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43571         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43572         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43573         Use _FPU_MASK_RM.
43575 2014-06-24  Wilco  <wdijkstr@arm.com>
43577         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43579 2014-06-24  Wilco  <wdijkstr@arm.com>
43581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43582         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43583         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43584         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43586 2014-06-24  Wilco  <wdijkstr@arm.com>
43588         [BZ #16918]
43589         * sysdeps/arm/feupdateenv.c (feupdateenv):
43590         Rewrite to reduce FPSCR accesses and fix return value.
43592 2014-06-24  Wilco  <wdijkstr@arm.com>
43594         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43595         Optimize to avoid unnecessary FPSCR writes.
43596         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43597         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43598         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43599         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43601 2014-06-24  Wilco  <wdijkstr@arm.com>
43603         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43604         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43605         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43606         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43607         Call libc_fetestexcept_vfp.
43608         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43609         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43610         __SOFTFP__ ifdef so that they can be built for softfp.
43612 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43614         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43615         argument type signed char.
43617         * Makerules (check-abi): Dump diff of symlist if the test
43618         fails.
43620 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43622         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43623         using abort.
43625         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43626         Remove unused variable ST.
43628 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43630         [BZ #16354]
43631         [BZ #17061]
43632         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43633         small arguments before calling __expm1.
43634         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43635         small arguments before calling __expm1f.
43636         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43637         small arguments before calling __expm1l.
43638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43639         Likewise.
43640         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43641         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43642         spurious underflow for some cosh tests.
43643         * math/auto-libm-test-out: Regenerated.
43644         * sysdeps/i386/fpu/libm-test-ulps: Update.
43646         [BZ #17050]
43647         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43648         (__ieee754_y1): Set errno if return value overflows.
43649         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43650         (__ieee754_y1f): Set errno if return value overflows.
43651         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43652         (__ieee754_y1l): Set errno if return value overflows.
43653         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43654         (__ieee754_y1l): Set errno if return value overflows.
43655         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43656         * math/auto-libm-test-out: Regenerated.
43658         * math/gen-auto-libm-tests.c: Document use of
43659         ignore-zero-inf-sign.
43660         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43661         (input_flags): Add ignore-zero-inf-sign.
43662         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43663         * math/gen-libm-test.pl (generate_testfile): Handle
43664         ignore-zero-inf-sign.
43665         * math/auto-libm-test-in: Mark some cpow tests with
43666         ignore-zero-inf-sign and some with xfail-rounding.
43667         * math/auto-libm-test-out: Regenerated.
43668         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43669         * sysdeps/i386/fpu/libm-test-ulps: Update.
43670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43672         [BZ #16315]
43673         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43674         overflowing or underflowing operations take place with sign of
43675         result.
43676         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43677         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43678         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43679         (__ieee754_pow): Recompute overflowing and underflowing results in
43680         original rounding mode.
43681         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43682         (__powl_helper): Allow negative argument X and scale negated value
43683         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43684         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43685         overflowing or underflowing operations take place with sign of
43686         result.
43687         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43688         Include <math.h>.
43689         * math/auto-libm-test-in: Add more tests of pow.
43690         * math/auto-libm-test-out: Regenerated.
43691         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43692         (pow_tonearest_test_data): Remove.
43693         (pow_test_tonearest): Likewise.
43694         (pow_towardzero_test_data): Likewise.
43695         (pow_test_towardzero): Likewise.
43696         (pow_downward_test_data): Likewise.
43697         (pow_test_downward): Likewise.
43698         (pow_upward_test_data): Likewise.
43699         (pow_test_upward): Likewise.
43700         (main): Don't call removed functions.
43701         * sysdeps/i386/fpu/libm-test-ulps: Update.
43702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43704 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43707         Moved ...
43708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43710         Moved ...
43711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43713         Moved ...
43714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43716         Moved ...
43717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43719         File removed.
43720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43721         File removed.
43722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43723         File removed.
43724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43725         File removed.
43726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43727         File removed.
43728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43729         File removed.
43730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43731         File removed.
43732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43733         File removed.
43734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43735         File removed.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43737         File removed.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43739         File removed.
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43741         File removed.
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43743         Moved ...
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43746         Moved ...
43747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43748         ... here.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43750         Moved ...
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43753         Moved ...
43754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43756         Moved ...
43757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43759         Moved ...
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43762         Moved ...
43763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43765         Moved ...
43766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43768         Moved ...
43769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43772         ... here.
43773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43774         Moved ...
43775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43777         Moved ...
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43779         ... here.
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43781         Moved ...
43782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43783         ... here.
43784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43785         Moved ...
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43787         ... here.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43789         Moved ...
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43792         Moved ...
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43797         Moved ...
43798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43799         ... here.
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43801         Moved ...
43802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43803         ... here.
43804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43805         Moved ...
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43808         Moved ...
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43811         Moved ...
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43814         Moved ...
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43817         Moved ...
43818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43819         ... here.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43821         Moved ...
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43824         Moved ...
43825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43827         Moved ...
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43830         Moved ...
43831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43835         Moved ...
43836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43838         Moved ...
43839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43841         Moved ...
43842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43843         ... here.
43844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43845         Moved ...
43846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43847         ... here.
43848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43849         Moved ...
43850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43851         ... here.
43852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43853         Moved ...
43854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43856         Moved ...
43857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43859         Moved ...
43860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43862         Moved ...
43863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43864         ... here.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43866         Moved ...
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43868         ... here.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43870         Moved ...
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43872         ... here.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43874         Moved ...
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43877         Moved ...
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43880 2014-06-23  Will Newton  <will.newton@linaro.org>
43881             Wilco  <wdijkstr@arm.com>
43883         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43884         implementation.  Include get-rounding-mode.h.
43885         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43886         [!libc_feholdsetround_noex_ctx]: Define
43887         libc_feholdsetround_noex_ctx.
43888         [!libc_feholdsetround_noexf_ctx]: Define
43889         libc_feholdsetround_noexf_ctx.
43890         [!libc_feholdsetround_noexl_ctx]: Define
43891         libc_feholdsetround_noexl_ctx.
43892         (libc_feholdsetround_ctx): New function.
43893         (libc_feresetround_ctx): New function.
43894         (libc_feholdsetround_noex_ctx): New function.
43895         (libc_feresetround_noex_ctx): New function.
43897 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43899         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43900         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43901         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43902         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43903         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43904         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43906         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43907         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43908         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43909         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43910         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43911         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43912         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43913         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43914         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43915         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43917         Moved ...
43918         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43919         ... here.
43920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43921         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43922         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43923         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43925         Moved ...
43926         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43928         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43930         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43931         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43932         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43934         Moved ...
43935         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43937         Moved ...
43938         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43939         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43940         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43941         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43942         Moved ...
43943         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43944         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43945         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43946         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43947         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43948         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43949         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43951         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43953         Moved ...
43954         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43955         ... here.
43956         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43961         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43963         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43965         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43967         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43969         Moved ...
43970         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43972         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43973         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43974         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43976         Moved ...
43977         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43979         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43980         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43981         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43983         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43984         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43985         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43986         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43987         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43988         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43989         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43990         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43992         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43993         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43994         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43995         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43996         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43997         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43998         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43999         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44000         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44001         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44002         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44003         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44004         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44005         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44006         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44007         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44008         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44009         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44010         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44012 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44015         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44016         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44017         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44018         (IPV6_PMTUDISC_INTERFACE): Likewise.
44019         (IPV6_PMTUDISC_OMIT): Likewise.
44021 2014-06-23  Andreas Schwab  <schwab@suse.de>
44023         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44024         Remove unused errout label.
44026 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44028         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44029         macro: hardware supports Vector Crypto instructions.
44031 2014-06-23  Will Newton  <will.newton@linaro.org>
44033         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44034         rather than __builtin_expect.
44036         * elf/dl-lookup.c (undefined_msg): Remove variable.
44037         (_dl_lookup_symbol_x): Replace undefined_msg with string
44038         literal.
44040         * elf/dl-lookup.c (do_lookup_unique): New function.
44041         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44042         to a separate function.
44044 2014-06-23  Andreas Schwab  <schwab@suse.de>
44046         [BZ #17079]
44047         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44048         before reading the next line.
44050 2014-06-23  Will Newton  <will.newton@linaro.org>
44052         * test-skeleton.c (signal_handler): Use printf and %m
44053         rather than perror.  Use printf rather than fprintf to
44054         stderr.  Use puts rather than fputs to stderr.
44055         (main): Likewise.
44057 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44059         * nscd/nscd.c (thread_info_t): Remove typedef.
44060         (thread_info): Remove variable.
44062 2014-06-21  Allan McRae  <allan@archlinux.org>
44064         * NEWS: Mention CVE-2014-4043.
44066 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44068         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44069         * nptl/smp.h: ... here.
44071         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44073         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44074         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44075         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44076         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44078         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44079         * nptl/stack-aliasing.h: New file.
44080         * sysdeps/i386/i686/stack-aliasing.h: New file.
44081         * sysdeps/i386/i686/nptl/Makefile: File removed.
44082         * sysdeps/x86_64/stack-aliasing.h: New file.
44083         * sysdeps/x86_64/nptl/Makefile
44084         (CFLAGS-pthread_create.c): Variable removed.
44086         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44087         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44088         old file.
44089         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44090         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44091         old file.
44093 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44096         (__ASSUME_SIGFRAME_V2): Remove macro.
44097         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44098         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44099         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44100         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44101         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44102         Declare as function.  Remove conditional macro definitions.
44103         (__default_rt_sa_restorer): Likewise.
44104         (__default_sa_restorer_v1): Remove declaration.
44105         (__default_sa_restorer_v2): Likewise.
44106         (__default_rt_sa_restorer_v1): Likewise.
44107         (__default_rt_sa_restorer_v2): Likewise.
44108         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44109         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44110         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44112 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44114         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44115         (libpthread-routines): Add sysdep.
44116         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44117         * sysdeps/unix/sysv/linux/sparc/Versions
44118         (libpthread: GLIBC_2.3.3): New version set.
44119         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44120         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44121         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44122         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44123         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44124         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44125         Moved ...
44126         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44127         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44128         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44129         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44130         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44131         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44132         * sysdeps/sparc/nptl/sem_init.c: ... here.
44133         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44134         * sysdeps/sparc/nptl/sem_post.c: ... here.
44135         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44136         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44137         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44138         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44139         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44140         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44141         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44142         (libpthread-routines): Add cpu_relax.
44143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44144         File removed.
44145         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44146         (librt: GLIBC_2.3.3): New version set.
44147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44148         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44149         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44150         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44153         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44155         Moved ...
44156         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44158         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44160         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44162         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44164         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44166         Moved ...
44167         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44168         Update #include.
44169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44170         Moved ...
44171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44172         Update #include.
44173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44174         Moved ...
44175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44176         Update #include.
44177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44178         Moved ...
44179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44180         Update #include.
44181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44182         Moved ...
44183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44184         Update #include.
44185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44186         Moved ...
44187         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44188         Update #include.
44189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44190         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44196         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44198         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44200         Moved ...
44201         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44203         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44205         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44207 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44209         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44210         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44211         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44212         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44213         * nscd/nscd.c: Likewise.
44214         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44215         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44216         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44217         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44219         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44220         <kernel-features.h>.
44221         (init_mq_netlink): Remove conditional have_sock_cloexec
44222         definitions.  Remove code conditional on have_sock_cloexec < 0.
44223         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44224         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44225         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44226         <kernel-features.h>.
44227         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44228         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44230 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44233         Add tests for memset_chk and memset.
44235         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44236         with AVX2_Usable.
44238 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44240         [BZ #16046]
44241         * elf/tst-dl-iter-static.c: New file.
44242         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44244         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44245         error.
44247 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44249         * sysdeps/unix/sysv/linux/kernel-features.h
44250         (__ASSUME_F_GETOWN_EX): Remove macro.
44251         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44252         <kernel-features.h>.
44253         (miss_F_GETOWN_EX): Remove variable or macro.
44254         (do_fcntl): Do not check miss_F_GETOWN_EX.
44255         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44258         Remove macro.
44259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44260         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44261         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44263         * sysdeps/unix/sysv/linux/kernel-features.h
44264         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44265         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44266         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44267         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44269 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44271         [BZ #17075]
44272         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44273         Fix calculation of the symbol's value.
44274         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44275         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44276         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44277         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44278         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44279         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44280         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44281         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44282         (modules-names): Add `tst-armtlsdescmod',
44283         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44284         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44285         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44286         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44287         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44288         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44289         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44290         ($(objpfx)tst-armtlsdescloc): New dependency.
44291         ($(objpfx)tst-armtlsdescextnow): Likewise.
44292         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44293         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44294         TLS scheme support.
44295         * sysdeps/arm/configure: Regenerate.
44297 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44299         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44300         (__atfct_seterrno_2): Likewise.
44301         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44302         <kernel-features.h>.
44303         (__ASSUME_ATFCTS): Do not undefine and redefine.
44304         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44305         (__have_atfcts): Remove conditional definition.
44306         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44307         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44308         unreachable if [__ASSUME_ATFCTS].
44309         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44310         not undefine and redefine.
44311         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44312         <kernel-features.h>.
44313         (faccessat) [__NR_faccessat]: Make code unconditional.
44314         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44315         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44316         <kernel-features.h>.
44317         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44318         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44319         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44320         <kernel-features.h>.
44321         (fchownat) [__NR_fchownat]: Make code unconditional.
44322         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44323         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44324         <kernel-features.h>.
44325         (futimesat) [__NR_futimesat]: Make code unconditional.
44326         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44327         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44328         <kernel-features.h>.
44329         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44330         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44331         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44332         <kernel-features.h>.
44333         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44334         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44335         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44336         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44337         <kernel-features.h>.
44338         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44339         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44340         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44341         <kernel-features.h>.
44342         (linkat) [__NR_linkat]: Make code unconditional.
44343         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44344         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44345         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44346         <kernel-features.h>.
44347         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44348         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44349         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44350         <kernel-features.h>.
44351         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44352         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44353         * sysdeps/unix/sysv/linux/openat.c: Do not include
44354         <kernel-features.h>.
44355         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44356         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44357         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44358         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44359         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44360         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44361         <kernel-features.h>.
44362         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44363         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44364         result of INLINE_SYSCALL directly, not via int variable.
44365         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44366         <kernel-features.h>.
44367         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44368         (renameat) [__NR_renameat]: Make code unconditional.
44369         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44370         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44371         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44372         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44373         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44374         (__ASSUME_ATFCTS): Do not undefine and redefine.
44375         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44376         <kernel-features.h>.
44377         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44378         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44379         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44380         <kernel-features.h>.
44381         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44382         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44383         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44384         (__ASSUME_ATFCTS): Do not undefine and redefine.
44385         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44386         <kernel-features.h>.
44387         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44388         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44389         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44390         <kernel-features.h>.
44391         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44392         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44394 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44396         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44398 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44400         [BZ #17069]
44401         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44402         constructed tree before returning error.
44403         * posix/bug-regexp36.c: Expand test case.
44405 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44407         [BZ #6803]
44408         * math/libm-test.inc (scalbln_test_date):
44409         Add errno expectations.
44410         * math/w_scalblnf.c: New File.
44411         Add wrapper which checks for setting errno to ERANGE.
44412         Add weak_alias for corresponding scalbln function.
44413         * math/w_scalbln.c: Likewise.
44414         * math/w_scalblnl.c: Likewise.
44415         * math/Makefile (libm-calls): Add w_scalbln.
44416         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44417         Remove weak_alias for corresponding scalbln function.
44418         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44420         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44422         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44423         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44424         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44425         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44426         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44427         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44428         Remove long_double_symbol for scalblnl function in libm, libc.
44429         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44430         Add wrapper which checks for setting errno to ERANGE.
44431         Add long_double_symbol for scalblnl function in libm, libc.
44432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44433         Remove long_double_symbol for scalblnl in libm.
44434         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44435         Add wrapper which checks for setting errno to ERANGE.
44436         Add long_double_symbol for scalblnl function in libm.
44437         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44438         Do not use wrapper because of own implementation.
44440 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44442         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44443         3 bytes for __pad1 for x32.
44444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44446 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44447             H.J. Lu  <hongjiu.lu@intel.com>
44449         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44450         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44451         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44452         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44453         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44455 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44457         [BZ #17069]
44458         * posix/regcomp.c (parse_expression): Deallocate partially
44459         constructed tree before returning error.
44460         * posix/Makefile.c (tests): Add bug-regex36.
44461         (generated): Add bug-regex36.mtrace.
44462         (tests-special): Add $(objpfx)bug-regex36-mem.out
44463         (bug-regex36-ENV): New variable.
44464         ($(objpfx)bug-regex36-mem.out): New rule.
44465         * posix/bug-regex36.c: New file.
44467 2014-06-19  Will Newton  <will.newton@linaro.org>
44469         * malloc/malloc.c (systrim): If extra is zero then return
44470         early.
44472 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44474         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44476 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44478         * sysdeps/aarch64/strchr.S: New file.
44480 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44482         [BZ #17022]
44483         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44484         from arguments -2 or below.
44485         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44486         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44488 2014-06-18  Andreas Schwab  <schwab@suse.de>
44490         [BZ #17062]
44491         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44492         of a bracket expr not to run off the end of the string.
44493         * posix/Makefile (tests): Add tst-fnmatch3.
44494         * posix/tst-fnmatch3.c: New file.
44496 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44498         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44499         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44500         [$(cross-compiling) = no]: Likewise.
44501         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44502         [$(cross-compiling) = no]: Likewise.
44504 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44506         [BZ #17031]
44507         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44508         double, adjusted for any remainder from the high double.
44509         * math/libm-test.inc (nearbyint): Add tests.
44510         (rint): Likewise.
44512 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44514         * nptl/sysdeps/powerpc/Makefile: Moved ...
44515         * sysdeps/powerpc/nptl/Makefile: ... here.
44516         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44517         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44518         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44519         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44520         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44521         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44522         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44523         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44524         * nptl/sysdeps/powerpc/tls.h: Moved ...
44525         * sysdeps/powerpc/nptl/tls.h: ... here.
44527 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44529         [BZ #16681]
44530         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44531         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44532         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44533         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44534         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44535         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44536         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44537         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44538         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44540 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44542         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44544 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44546         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44547         defined operator.
44549         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44550         $TIMEOUTFACTOR.
44552 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44554         [BZ #17058]
44555         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44556         non-executed part of the test.
44558 2014-06-16  Andreas Schwab  <schwab@suse.de>
44560         * string/bits/string2.h (strdup, strndup): Update feature guard.
44562 2014-06-14  David S. Miller  <davem@davemloft.net>
44564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44566 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44568         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44569         that was previously under [RESET_PID].
44570         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44572         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44573         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44574         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44575         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44576         (__libc_vfork): New strong alias.
44577         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44579 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44581         * sysdeps/generic/elide.h: New file.
44583 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44585         * Makefile (installed-headers): Adjust path of pthread.h header.
44587 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44589         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44590         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44591         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44592         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44594         * nptl/sysdeps/s390/Makefile: Moved ...
44595         * sysdeps/s390/nptl/Makefile: ... here.
44596         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44597         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44598         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44599         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44600         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44601         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44602         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44603         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44604         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44605         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44606         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44607         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44608         * nptl/sysdeps/s390/tls.h: Moved ...
44609         * sysdeps/s390/nptl/tls.h: ... here.
44611         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44612         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44614 2014-06-13  David S. Miller  <davem@davemloft.net>
44616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44619         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44623         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44624         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44625         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44626         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44627         Remove RESET_PID cpp guards.
44628         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44629         Remove RESET_PID cpp guards.
44630         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44632 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44634         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44635         __sp to uintptr_t.
44637 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44639         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44640         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44641         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44643         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44646         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44647         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44649         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44653         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44655         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44656         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44658         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44660         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44661         (pthread_rwlock_rdlock): Add elision.
44662         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44663         (pthread_rwlock_wrlock): Add elision.
44664         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44665         (pthread_rwlock_trywrlock): Add elision.
44666         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44667         (pthread_rwlock_tryrdlock): Add elision.
44668         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44669         (pthread_rwlock_tryrdlock): Add elision unlock.
44670         * nptl/sysdeps/pthread/pthread.h:
44671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44672         (PTHREAD_RWLOCK_INITIALIZER,
44673         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44674         Handle new elision field.
44675         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44676         * sysdeps/arm/nptl/bits/pthreadtypes.h
44677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44678         * sysdeps/sh/nptl/bits/pthreadtypes.h
44679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44680         * sysdeps/tile/nptl/bits/pthreadtypes.h
44681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44682         * sysdeps/a/nptl/bits/pthreadtypes.h
44683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44684         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44685         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44688         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44690         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44692         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44694         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44696         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44698         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44700         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44701         (elision_init): Set try_xbegin to zero when no RTM.
44702         * sysdeps/x86/nptl/bits/pthreadtypes.h
44703         (pthread_rwlock_t): Change __pad1 to __rwelision.
44704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44706 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44708         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44709         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44710         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44711         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44713 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44715         [BZ #16996]
44716         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44717         that the cached result has been set before returning it.
44719 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44721         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44722         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44723         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44724         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44726         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44728         * nptl/sysdeps/sparc/Makefile: Moved ...
44729         * sysdeps/sparc/nptl/Makefile: ... here.
44730         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44731         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44732         * nptl/sysdeps/sparc/tls.h: Moved ...
44733         * sysdeps/sparc/nptl/tls.h: ... here.
44734         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44735         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44736         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44737         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44738         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44739         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44740         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44741         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44742         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44743         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44744         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44745         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44746         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44747         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44748         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44749         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44750         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44751         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44752         Update #include.
44753         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44755         Update #include.
44756         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44758         Update #include.
44759         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44761         Update #include.
44763         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44765         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44766         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44768         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44769         (struct list_links): Type removed.
44770         (struct thread_node, struct timer_node): Replace struct list_links
44771         with struct list_head.
44772         (list_unlink_ip): Likewise.
44773         * sysdeps/pthread/timer_routines.c
44774         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44775         (list_append, list_insbefore): Likewise.
44776         (list_init): Function removed.
44777         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44778         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44779         * sysdeps/pthread/Makefile: ... here, new file.
44781         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44782         * sysdeps/nptl/Implies: ... here.
44783         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44784         * nptl/sysdeps/pthread/list.h: Moved ...
44785         * include/list.h: ... here.
44786         * nptl/sysdeps/pthread/createthread.c: Moved ...
44787         * nptl/createthread.c: ... here.
44788         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44789         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44790         * nptl/pt-longjmp.c: ... here.
44791         * nptl/sysdeps/pthread/Makefile: Moved ...
44792         * sysdeps/nptl/Makefile: ... here.
44793         * nptl/sysdeps/pthread/Subdirs: Moved ...
44794         * sysdeps/nptl/Subdirs: ... here.
44795         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44796         * sysdeps/nptl/aio_misc.h: ... here.
44797         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44798         * sysdeps/nptl/bits/libc-lock.h: ... here.
44799         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44800         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44801         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44802         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44803         * nptl/sysdeps/pthread/configure: Moved ...
44804         * sysdeps/nptl/configure: ... here.
44805         * nptl/sysdeps/pthread/configure.ac: Moved ...
44806         * sysdeps/nptl/configure.ac: ... here.
44807         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44808         * sysdeps/nptl/gai_misc.h: ... here.
44809         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44810         * sysdeps/nptl/librt-cancellation.c: ... here.
44811         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44812         * sysdeps/nptl/malloc-machine.h: ... here.
44813         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44814         * sysdeps/nptl/pthread-functions.h: ... here.
44815         * nptl/sysdeps/pthread/pthread.h: Moved ...
44816         * sysdeps/nptl/pthread.h: ... here.
44817         * nptl/sysdeps/pthread/setxid.h: Moved ...
44818         * sysdeps/nptl/setxid.h: ... here.
44819         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44820         * sysdeps/nptl/sigfillset.c: ... here.
44821         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44822         * sysdeps/nptl/tcb-offsets.h: ... here.
44823         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44824         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44825         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44826         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44827         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44828         * sysdeps/pthread/allocalim.h: ... here.
44829         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44830         * sysdeps/pthread/bits/sigthread.h: ... here.
44831         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44832         * sysdeps/pthread/flockfile.c: ... here.
44833         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44834         * sysdeps/pthread/ftrylockfile.c: ... here.
44835         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44836         * sysdeps/pthread/funlockfile.c: ... here.
44837         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44838         * sysdeps/pthread/posix-timer.h: ... here.
44839         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44840         * sysdeps/pthread/timer_create.c: ... here.
44841         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44842         * sysdeps/pthread/timer_delete.c: ... here.
44843         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44844         * sysdeps/pthread/timer_getoverr.c: ... here.
44845         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44846         * sysdeps/pthread/timer_gettime.c: ... here.
44847         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44848         * sysdeps/pthread/timer_routines.c: ... here.
44849         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44850         * sysdeps/pthread/timer_settime.c: ... here.
44851         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44852         * sysdeps/pthread/tst-timer.c: ... here.
44853         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44854         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44856         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44857         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44859         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44860         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44861         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44862         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44863         Update #include target.
44864         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44865         * sysdeps/i386/i686/nptl/Makefile: ... here.
44866         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44867         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44868         Update #include target.
44869         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44870         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44871         * nptl/sysdeps/i386/Makefile: Moved ...
44872         * sysdeps/i386/nptl/Makefile: ... here.
44873         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44874         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44875         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44876         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44877         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44878         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44879         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44880         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44881         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44882         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44883         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44884         * nptl/sysdeps/i386/tls.h: Moved ...
44885         * sysdeps/i386/nptl/tls.h: ... here.
44887         * sysdeps/sh/Makefile [$(subdir) = csu]
44888         (gen-as-const-headers): Add tcb-offsets.sym.
44889         * nptl/sysdeps/sh/Makefile: File removed.
44890         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44891         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44892         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44893         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44894         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44895         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44896         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44897         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44898         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44899         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44900         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44901         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44902         * nptl/sysdeps/sh/tls.h: Moved ...
44903         * sysdeps/sh/nptl/tls.h: ... here.
44904         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44905         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44906         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44907         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44908         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44909         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44910         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44912         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44913         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44914         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44915         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44917         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44919         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44921         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44923         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44925         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44926         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44927         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44928         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44929         Moved ...
44930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44932         Moved ...
44933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44935         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44937         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44938         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44939         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44940         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44941         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44942         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44943         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44944         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44945         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44946         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44947         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44948         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44949         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44950         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44951         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44953 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44955         * posix/spawn_faction_addopen.c: Include string.h.
44957 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44959         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44960         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44961         * nptl/sysdeps/x86_64/Makefile: Moved ...
44962         * sysdeps/x86_64/nptl/Makefile: ... here.
44963         * nptl/sysdeps/x86_64/configure: Moved ...
44964         * sysdeps/x86_64/nptl/configure: ... here.
44965         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44966         * sysdeps/x86_64/nptl/configure.ac: ... here.
44967         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44968         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44969         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44970         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44971         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44972         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44973         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44974         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44975         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44976         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44977         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44978         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44979         * nptl/sysdeps/x86_64/tls.h: Moved ...
44980         * sysdeps/x86_64/nptl/tls.h: ... here.
44981         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44982         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44983         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44984         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44986         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44988 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44992 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44994         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44995         type.
44996         [POSIX] (off_t): Likewise.
44997         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44998         [POSIX] (S_ISBLK): Require macro.
44999         [POSIX] (S_ISCHR): Likewise.
45000         [POSIX] (S_ISDIR): Likewise.
45001         [POSIX] (S_ISFIFO): Likewise.
45002         [POSIX] (S_ISREG): Likewise.
45003         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45004         optional-macro.
45005         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45006         type.
45007         [POSIX] (time_t): Likewise.
45008         [POSIX] (timer_t): Likewise.
45010 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45012         [BZ #17048]
45013         * posix/spawn_int.h (struct __spawn_action): Make the path string
45014         non-const to support deallocation.
45015         * posix/spawn_faction_addopen.c
45016         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45017         * posix/spawn_faction_destroy.c
45018         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45019         path in all spawn_do_open actions.
45020         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45021         posix_spawn_file_actions_addopen.
45023 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45025         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45026         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45027         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45028         conditional code always true.
45029         (__libc_vfork): New alias.
45031 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45033         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45034         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45036         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45038         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45039         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45041         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45042         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45044         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45045         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45047 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45049         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45050         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45051         multiarch strcmp for PPC64.
45052         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45053         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45055         multiarch optimizations.
45056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45057         (__libc_ifunc_impl_list): Likewise.
45059 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45061         * benchtests/scripts/validate_benchout.py: New script.
45062         * benchtests/Makefile (bench-func): Call it.
45063         * benchtests/scripts/benchout.schema.json: New file.
45065 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45067         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45068         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45069         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45070         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45071         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45072         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45073         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45074         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45075         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45076         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45077         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45078         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45079         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45080         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45081         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45084         Moved ...
45085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45086         ... here.
45087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45088         Moved ...
45089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45091         Moved ...
45092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45093         ... here.
45094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45095         Moved ...
45096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45097         ... here.
45098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45099         Moved ...
45100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45102         Moved ...
45103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45104         ... here.
45105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45106         Moved ...
45107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45108         ... here.
45109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45110         Moved ...
45111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45113         Moved ...
45114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45115         ... here.
45116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45117         Moved ...
45118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45119         ... here.
45120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45121         Moved ...
45122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45123         ... here.
45124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45125         Moved ...
45126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45128         Moved ...
45129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45130         ... here.
45131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45132         Moved ...
45133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45134         ... here.
45135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45136         Moved ...
45137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45138         ... here.
45139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45140         Moved ...
45141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45143         Moved ...
45144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45145         ... here.
45146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45147         Moved ...
45148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45149         ... here.
45150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45151         Moved ...
45152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45154         Moved ...
45155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45156         ... here.
45157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45158         Moved ...
45159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45161         Moved ...
45162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45164         Moved ...
45165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45166         ... here.
45167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45168         Moved ...
45169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45170         ... here.
45171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45172         Moved ...
45173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45174         ... here.
45175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45176         Moved ...
45177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45179         Moved ...
45180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45181         ... here.
45182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45183         Moved ...
45184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45185         ... here.
45186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45187         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45189         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45191         Moved ...
45192         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45193         ... here.
45194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45195         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45197         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45198         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45199         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45201         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45203         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45205         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45207         Moved ...
45208         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45210         Moved ...
45211         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45213         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45215         Moved ...
45216         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45217         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45218         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45219         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45220         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45221         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45222         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45224 2014-06-10  Wilco  <wdijkstr@arm.com>
45226         * math/test-fenv-return.c: New file.
45227         * math/Makefile: Add new test test-fenv-return.
45229 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45231         [BZ #17042]
45232         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45233         when x - 1 is zero.
45234         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45235         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45236         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45237         0.0L for an argument of 1.0L.
45238         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45239         Likewise.
45240         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45241         value when x - 1 is zero.
45242         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45243         * sysdeps/i386/fpu/libm-test-ulps: Update.
45244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45246 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45248         [BZ #15119]
45249         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45251 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45253         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45254         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45256 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45258         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45259         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45261         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45262         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45264         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45265         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45267         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45268         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45270         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45271         if not already defined.
45272         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45273         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45274         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45275         (TLS_INIT_TP): Use it.
45276         (TLS_DEFINE_INIT_TP): New macro.
45277         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45279 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45281         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45282         constant.
45283         [POSIX] (IXANY): Likewise.
45284         [POSIX] (OLCUC): Likewise.
45285         [POSIX || POSIX2008] (CBAUD): Do not allow.
45286         [POSIX || POSIX2008] (DEFECHO): Likewise.
45287         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45288         [POSIX || POSIX2008] (ECHOKE): Likewise.
45289         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45290         [POSIX || POSIX2008] (EXTA): Likewise.
45291         [POSIX || POSIX2008] (EXTB): Likewise.
45292         [POSIX || POSIX2008] (FLUSHO): Likewise.
45293         [POSIX || POSIX2008] (LOBLK): Likewise.
45294         [POSIX || POSIX2008] (PENDIN): Likewise.
45295         [POSIX || POSIX2008] (SWTCH): Likewise.
45296         [POSIX || POSIX2008] (VDISCARD): Likewise.
45297         [POSIX || POSIX2008] (VDSUSP): Likewise.
45298         [POSIX || POSIX2008] (VLNEXT): Likewise.
45299         [POSIX || POSIX2008] (VREPRINT): Likewise.
45300         [POSIX || POSIX2008] (VSTATUS): Likewise.
45301         [POSIX || POSIX2008] (VWERASE): Likewise.
45302         (B*): Change to B[0123456789]*.
45303         * conform/data/time.h-data [POSIX || UNIX98]
45304         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45305         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45306         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45307         [POSIX] (tm_*): Do not allow.
45309 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45311         * Makefile (install): Don't set LANGUAGE.
45312         * Makefile.in (install): Likewise.
45313         * assert/Makefile (test-assert-ENV): Remove variable.
45314         (test-assert-perr-ENV): Likewise.
45315         * elf/Makefile (neededtest4-ENV): Likewise.
45316         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45317         [$(cross-compiling) = no]: Don't set LANGUAGE.
45318         * io/ftwtest-sh (LANG): Remove variable.
45319         * libio/Makefile (tst-widetext-ENV): Likewise.
45320         * manual/install.texi (Running make install): Don't refer to
45321         environment settings for make install.
45322         * INSTALL: Regenerated.
45323         * nptl/tst-tls6.sh: Don't set LANG.
45324         * posix/globtest.sh (LANG): Remove variable.
45325         * string/Makefile (tester-ENV): Likewise.
45326         (inl-tester-ENV): Likewise.
45327         (noinl-tester-ENV): Likewise.
45328         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45329         [$(cross-compiling) = no]: Don't set LANGUAGE.
45330         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45331         without explicit environment settings.
45333 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45335         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45336         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45337         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45338         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45340 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45342         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45343         other files in the crypt directory.
45344         * crypt/crypt.c: Remove duplicate includes.
45345         * crypt/crypt-entry.c: Likewise.
45346         * crypt/crypt_util.c: Likewise.
45348 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45350         * Makeconfig (run-program-env): New variable.
45351         (run-program-prefix-before-env): Likewise.
45352         (run-program-prefix-after-env): Likewise.
45353         (run-program-prefix): Define in terms of new variables.
45354         (built-program-cmd-before-env): New variable.
45355         (built-program-cmd-after-env): Likewise.
45356         (built-program-cmd): Define in terms of new variables.
45357         (test-program-prefix-before-env): New variable.
45358         (test-program-prefix-after-env): Likewise.
45359         (test-program-prefix): Define in terms of new variables.
45360         (test-program-cmd-before-env): New variable.
45361         (test-program-cmd-after-env): Likewise.
45362         (test-program-cmd): Define in terms of new variables.
45363         * Rules (make-test-out): Use $(run-program-env).
45364         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45365         (help): Do not mention environment variables.  Mention
45366         --timeoutfactor option.
45367         (timeoutfactor): New variable.
45368         (blacklist_exports): Remove function.
45369         (exports): Remove variable.
45370         (command): Do not include ${exports}.
45371         * manual/install.texi (Configuring and compiling): Do not mention
45372         test wrappers preserving environment variables.  Mention that last
45373         assignment to a variable must take precedence.
45374         * INSTALL: Regenerated.
45375         * benchtests/Makefile (run-bench): Use $(run-program-env).
45376         * catgets/Makefile ($(objpfx)test1.cat): Use
45377         $(built-program-cmd-before-env), $(run-program-env) and
45378         $(built-program-cmd-after-env).
45379         ($(objpfx)test2.cat): Do not specify environment variables
45380         explicitly.
45381         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45382         $(run-program-env) and $(built-program-cmd-after-env).
45383         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45384         $(run-program-env) and $(test-program-cmd-after-env).
45385         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45386         explicitly.
45387         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45388         run_program_env and test_program_cmd_after_env arguments.
45389         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45390         * elf/tst-pathopt.sh: Use run_program_env argument.
45391         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45392         $(test-wrapper-env) and $(run-program-env).
45393         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45394         run_program_env arguments.
45395         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45396         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45397         $(test-program-prefix-before-env), $(run-program-env) and
45398         $(test-program-prefix-after-env).
45399         ($(objpfx)tst-gettext2.out): Likewise.
45400         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45401         run_program_env and test_program_prefix_after_env arguments.
45402         * intl/tst-gettext2.sh: Likewise.
45403         * intl/tst-gettext4.sh: Do not set environment variables
45404         explicitly.
45405         * intl/tst-gettext6.sh: Likewise.
45406         * intl/tst-translit.sh: Likewise.
45407         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45408         $(test-program-prefix-before-env), $(run-program-env) and
45409         $(test-program-prefix-after-env).
45410         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45411         run_program_env and test_program_prefix_after_env arguments.
45412         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45413         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45414         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45415         explicitly with each use of ${test_wrapper_env}.
45416         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45417         $(test-program-prefix-before-env), $(run-program-env) and
45418         $(test-program-prefix-after-env).
45419         * posix/tst-getconf.sh: Do not set environment variables
45420         explicitly.
45421         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45422         run_program_env and test_program_prefix_after_env arguments.
45423         * stdio-common/tst-printf.sh: Do not set environment variables
45424         explicitly.
45425         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45426         $(test-program-prefix-before-env), $(run-program-env) and
45427         $(test-program-prefix-after-env).
45428         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45429         run_program_env and test_program_prefix_after_env arguments.
45430         Split $test calls into $test_pre and $test.
45431         * timezone/Makefile (build-testdata): Use
45432         $(built-program-cmd-before-env), $(run-program-env) and
45433         $(built-program-cmd-after-env).
45435 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45437         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45438         strlen for non SHARED builds.
45440 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45442         * nptl/allocatestack.c (check_list): Inlined function...
45443         (__reclaim_stacks): ... here.
45445 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45447         [BZ #15698]
45448         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45449         memory overrun.
45451 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45453         * Rules (make-test-out): Include
45454         LOCPATH=$(common-objpfx)localedata in default environment.
45455         * debug/Makefile (tst-chk1-ENV): Remove variable.
45456         (tst-chk2-ENV): Likewise.
45457         (tst-chk3-ENV): Likewise.
45458         (tst-chk4-ENV): Likewise.
45459         (tst-chk5-ENV): Likewise.
45460         (tst-chk6-ENV): Likewise.
45461         (tst-lfschk1-ENV): Likewise.
45462         (tst-lfschk2-ENV): Likewise.
45463         (tst-lfschk3-ENV): Likewise.
45464         (tst-lfschk4-ENV): Likewise.
45465         (tst-lfschk5-ENV): Likewise.
45466         (tst-lfschk6-ENV): Likewise.
45467         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45468         (tst-iconv7-ENV): Likewise.
45469         * intl/Makefile (LOCPATH-ENV): Likewise.
45470         (tst-codeset-ENV): Likewise.
45471         (tst-gettext3-ENV): Likewise.
45472         (tst-gettext5-ENV): Likewise.
45473         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45474         (tst-fopenloc-ENV): Likewise.
45475         (tst-fgetws-ENV): Remove variable.
45476         (tst-ungetwc1-ENV): Likewise.
45477         (tst-ungetwc2-ENV): Likewise.
45478         (bug-ungetwc2-ENV): Likewise.
45479         (tst-swscanf-ENV): Likewise.
45480         (bug-ftell-ENV): Likewise.
45481         (tst-fgetwc-ENV): Likewise.
45482         (tst-fseek-ENV): Likewise.
45483         (tst-ftell-partial-wide-ENV): Likewise.
45484         (tst-ftell-active-handler-ENV): Likewise.
45485         (tst-ftell-append-ENV): Likewise.
45486         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45487         (tst-regexloc-ENV): Likewise.
45488         (bug-regex1-ENV): Likewise.
45489         (tst-regex-ENV): Likewise.
45490         (tst-regex2-ENV): Likewise.
45491         (bug-regex5-ENV): Likewise.
45492         (bug-regex6-ENV): Likewise.
45493         (bug-regex17-ENV): Likewise.
45494         (bug-regex18-ENV): Likewise.
45495         (bug-regex19-ENV): Likewise.
45496         (bug-regex20-ENV): Likewise.
45497         (bug-regex22-ENV): Likewise.
45498         (bug-regex23-ENV): Likewise.
45499         (bug-regex25-ENV): Likewise.
45500         (bug-regex26-ENV): Likewise.
45501         (bug-regex30-ENV): Likewise.
45502         (bug-regex32-ENV): Likewise.
45503         (bug-regex33-ENV): Likewise.
45504         (bug-regex34-ENV): Likewise.
45505         (bug-regex35-ENV): Likewise.
45506         (tst-rxspencer-ENV): Likewise.
45507         (tst-rxspencer-no-utf8-ENV): Likewise.
45508         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45509         (tst-sscanf-ENV): Likewise.
45510         (tst-swprintf-ENV): Likewise.
45511         (tst-swscanf-ENV): Likewise.
45512         (test-vfprintf-ENV): Likewise.
45513         (scanf13-ENV): Likewise.
45514         (bug14-ENV): Likewise.
45515         (tst-grouping-ENV): Likewise.
45516         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45517         (tst-strtod3-ENV): Likewise.
45518         (tst-strtod4-ENV): Likewise.
45519         (tst-strtod5-ENV): Likewise.
45520         (testmb2-ENV): Likewise./
45521         * string/Makefile (tst-strxfrm-ENV): Likewise.
45522         (tst-strxfrm2-ENV): Likewise.
45523         (bug-strcoll1-ENV): Likewise.
45524         (test-strcasecmp-ENV): Likewise.
45525         (test-strncasecmp-ENV): Likewise.
45526         * time/Makefile (tst-strptime-ENV): Likewise.
45527         (tst-ftime_l-ENV): Likewise.
45528         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45529         (tst-mbrtowc-ENV): Likewise.
45530         (tst-wcrtomb-ENV): Likewise.
45531         (tst-mbrtowc2-ENV): Likewise.
45532         (tst-c16c32-1-ENV): Likewise.
45533         (tst-mbsnrtowcs-ENV): Likewise.
45535 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45537         * manual/resource.texi (How to get information about the memory
45538         subsystem?): Fix typo.
45539         Reported by Peon de la Parra Ivan <peon@keba.com>
45541 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45543         [BZ #16882]
45544         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45545         (pthread_spin_lock): Branch out of spin loop to proper location.
45546         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45547         (pthread_spin_lock): Likewise.
45549         * nptl/tst-spin4.c: New test.
45550         * nptl/Makefile (tests): Add tst-spin4.
45552 2014-06-03  Andreas Schwab  <schwab@suse.de>
45554         [BZ #15946]
45555         * resolv/res_send.c (send_dg): Reload file descriptor after
45556         calling reopen.
45558 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45562 2014-06-03  Richard Henderson  <rth@redhat.com>
45564         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45565         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45566         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45567         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45568         in the SAVE_PID block.
45569         (__libc_vfork): New alias.
45570         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45572         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45573         child in registers, not on the stack.  Remove RESET_PID conditionals.
45574         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45576 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45578         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45580 2014-06-03  Wilco  <wdijkstr@arm.com>
45582         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45583         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45584         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45585         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45586         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45587         Likewise.
45589 2014-06-03  Wilco  <wdijkstr@arm.com>
45591         * sysdeps/aarch64/fpu/math_private.h
45592         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45593         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45594         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45595         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45596         Fix declarations.
45598 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45600         * crypt/crypt-private.h: Include ufc-crypt.h.
45601         (__b64_from_24bit): Declare extern.
45602         * crypt/crypt_util.c(__b64_from_24bit): New function.
45603         (b64t): New static const variable.
45604         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45605         (b64t): Remove variable.
45606         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45607         * crypt/sha256-crypt.c: Include crypt-private.h.
45608         (b64t): Remove variable.
45609         (__sha256_crypt_r): Remove b64_from_24bit and replace
45610         with __b64_from_24bit.
45611         * crypt/sha512-crypt.c: Likewise.
45613 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45615         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45616         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45617         Label the code __libc_vfork rather than __vfork.
45618         [!NOT_IN_libc] (vfork): Define as weak alias.
45619         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45620         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45621         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45623 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45625         * malloc/malloc.c (malloc_info): Fix format specifier for
45626         n_mmaps.
45628 2014-06-02  Wilco  <wdijkstr@arm.com>
45630         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45631         FPCR write.
45633 2014-06-02  Wilco  <wdijkstr@arm.com>
45635         [BZ #17009]
45636         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45637         Rewrite to reduce FPCR/FPSR accesses.
45639 2014-06-01  David S. Miller  <davem@davemloft.net>
45641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45643 2014-05-31  David S. Miller  <davem@davemloft.net>
45645         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45646         to occur in round to nearest mode when |x| >= 2.0
45648 2014-05-30  Richard Henderson  <rth@twiddle.net>
45650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45651         (PSEUDO_RET_NOERRNO): Remove.
45652         (ret): Don't redefine.
45653         (ret_NOERRNO): Define in terms of ret.
45654         (ret_ERRVAL): Likewise.
45656         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45657         use of PSEUDO_RET; perform the error check directly.
45659 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45661         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45662         with __int128_t.
45664 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45666         * malloc/malloc (malloc_info): Fix formatting.
45668 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45669             Roland McGrath  <roland@hack.frob.com>
45671         * malloc/malloc (malloc_info): Also print mmapped statistics.
45673 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45675         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45676         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45678 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45680         * malloc/malloc.c (malloc_info): Inline mi_arena.
45682 2014-05-29  Richard Henderson  <rth@twiddle.net>
45684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45685         Remove comma before expanding ASM_ARGS_##nr.
45686         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45687         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45688         of ASM_ARGS_##nr.
45689         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45690         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45691         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45692         (ASM_ARGS_1): Add leading comma.
45694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45695         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45696         to __errno_location.
45697         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45698         Remove the expected plt for __errno_location.
45700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45701         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45702         call to __read_tp.
45704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45705         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45706         it and break it down.
45707         (DOCARGS_0, DOCARGS_1): Do nothing.
45708         (DOCARGS_2): Update to store into the new stack frame.
45709         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45710         (UNDOCARGS_1): Update to restore from the new stack frame.
45711         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45712         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45715         (SINGLE_THREAD_P): New parameter for result regno.
45716         (PSEUDO): Update to match; use cbz instead of beq.
45718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45719         Use ENTRY to define the _nocancel entry point.  Share the syscall
45720         and syscall error check paths with the cancel path.
45721         (PSEUDO_END): New.
45723         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45724         whitespace; tabs before and after asm mnemonics.
45726 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45728         [BZ #15132]
45729         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45730         Call fstat64 or stat64 internally, depending on arguments passed.
45731         Replace stat buffer argument with file descriptor argument.
45732         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45733         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45734         Pass fd to __internal_statvfs instead of calling fstat64.
45735         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45736         Pass fd to __internal_statvfs64 instead of calling fstat64.
45737         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45738         Pass -1 to __internal_statvfs instead of calling stat64.
45739         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45740         Pass -1 to __internal_statvfs64 instead of calling stat64.
45742 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45744         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45745         that was previously under [RESET_PID].
45746         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45748         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45749         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45751 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45753         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45755         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45756         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45758 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45760         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45762 2014-05-27  Andreas Schwab  <schwab@suse.de>
45764         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45765         TLS_INIT_TP macro.
45766         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45767         * elf/rtld.c (init_tls, dl_main): Likewise.
45768         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45769         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45770         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45771         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45772         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45773         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45774         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45775         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45776         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45777         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45778         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45779         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45780         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45781         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45782         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45783         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45784         * sysdeps/generic/tls.h: Update description.
45786 2014-05-27  Will Newton  <will.newton@linaro.org>
45788         [BZ #16990]
45789         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45790         and restore r2 rather than just restoring.
45792 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45794         [BZ #16724]
45795         * libio/tst-ftell-append.c: New test case.
45796         * libio/Makefile (tests): Add test case.
45797         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45798         append mode.
45799         * libio/wfileops.c (do_ftell_wide): Likewise.
45801 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45805         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45806         ...
45807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45809         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45810         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45812         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45813         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45814         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45816         Moved ...
45817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45818         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45819         Moved ...
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45821         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45822         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45823         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45824         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45825         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45826         ...
45827         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45828         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45829         Moved ...
45830         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45831         here.
45832         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45833         ...
45834         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45835         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45836         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45838         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45839         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45841         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45844         merge into ...
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45847         ...
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45850         ...
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45853         Moved ...
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45855         here.
45856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45857         Moved ...
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45860         Moved ...
45861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45864         conditional [RESET_PID].
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45867         removed.
45868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45869         removed.
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45872         <tcb-offsets.h>.
45873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45874         (__libc_vfork): New strong alias.
45875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45876         removed.
45877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45878         Removed.
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45881         <tcb-offsets.h>.
45882         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45883         (__libc_vfork): New strong alias.
45884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45885         removed.
45886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45887         removed.
45889 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45891         * malloc/malloc.c (mi_arena): New function.
45892         (malloc_info): Remove nested function mi_arena. Call non-nosted
45893         function mi_arena.
45895 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45897         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45898         by insrwi.
45899         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45900         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45901         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45902         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45904         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45907 2014-05-26  Andreas Schwab  <schwab@suse.de>
45909         [BZ #16984]
45910         * locale/programs/repertoire.c (repertoire_read): Add slash
45911         between I18NPATH element and file name.
45912         * locale/programs/locfile.c (locfile_read): Likewise.
45914 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45916         * nptl/pthread_mutexattr_settype.c
45917         (__pthread_mutexattr_settype):
45918         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45920 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45922         * nptl/tst-mutex5 (do_test):
45923         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45925 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45927         * benchtests/README: Document 'init' directive.
45928         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45929         BENCH_INIT.
45930         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45931         (parse_file): Recognize 'init' directive.
45933 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45935         [BZ #16796]
45936         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45937         alignment of struct pthread.
45939 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45941         [BZ #16878]
45942         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45943         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45944         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45945         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45947 2014-05-25  Richard Henderson  <rth@twiddle.net>
45949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45950         (SINGLE_THREAD_P_PIC): Remove.
45951         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45952         (SINGLE_THREAD_P_PIC): Remove.
45954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45955         branch to syscall error ...
45956         (PSEUDO): ... here.
45957         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45958         from __local_syscall_error to .Lsyscall_error.
45959         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45960         (SYSCALL_ERROR): Update label name.
45962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45963         Do not use DOARGS/UNDOARGS.
45964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45965         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45966         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45967         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45968         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45971         block comment.
45973         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45974         define if !NOT_IN_libc.
45975         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45976         define with non-default symbol versions.
45978 2014-05-23  Richard Henderson  <rth@twiddle.net>
45980         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45981         (vfork, __vfork): Define via compat_symbol.
45983         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45984         [!HAVE_IFUNC] (vfork_compat): Remove.
45985         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45987 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45989         [BZ #16978]
45990         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45991         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45992         variable.
45994 2014-05-23  Richard Henderson  <rth@twiddle.net>
45996         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45997         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45998         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45999         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46001         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46002         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46003         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46004         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46005         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46006         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46007         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46008         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46009         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46010         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46011         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46012         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46013         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46014         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46015         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46016         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46018         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46019         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46020         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46021         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46022         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46023         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46024         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46030         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46031         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46032         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46033         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46034         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46035         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46036         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46037         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46038         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46039         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46040         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46041         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46042         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46043         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46044         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46045         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46046         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46047         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46048         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46049         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46050         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46052         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46054         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46056         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46058         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46059         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46060         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46061         before exiting on error.
46062         (__libc_vfork): New strong alias.
46063         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46064         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46066         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46067         that was previously under [RESET_PID].
46068         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46070         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46072 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46074         [BZ #16977]
46075         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46076         value when x - 1 is zero.
46077         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46078         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46079         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46080         0.0L for an argument of 1.0L.
46081         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46082         Likewise.
46083         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46084         value when x - 1 is zero.
46085         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46086         * sysdeps/i386/fpu/libm-test-ulps: Update.
46087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46089 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46091         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46092         alphasort and versionsort.
46094 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46096         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46097         macro.
46098         [copysignf]: Likewise.
46100 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46102         * crypt/md5-crypt.c: Fix formatting.
46104 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46106         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46107         (b64_from_24bit): New function.
46109 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46112         libc_hidden_builtin_def to ifunc.
46113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46114         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46116 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46118         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46119         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46121 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46123         * nscd/Depend (linuxthreads): Remove.
46124         (nptl): Add.
46125         * resolv/Depend (linuxthreads): Remove.
46126         * rt/Depend (linuxthreads): Remove.
46128         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46129         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46130         $(common-objpfx)elf/.
46131         (link-libc-before-gnulib): Likewise.
46132         (elfobjdir): Remove variable.
46133         * Makefile (install): Use $(elf-objpfx) instead of
46134         $(common-objpfx)elf/.
46135         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46136         $(elfobjdir)/.
46137         (link-libc-deps): Likewise.
46138         ($(common-objpfx)libc.so): Likewise.
46139         ($(common-objpfx)linkobj/libc.so): Likewise.
46140         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46141         instead of $(common-objpfx)elf/.
46142         (symbolic-link-list): Likewise.
46143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46144         [$(cross-compiling) = no]: Likewise.
46145         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46146         $(elfobjdir)/.
46147         (static-gnulib-arch): Likewise.
46148         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46149         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46150         $(common-objpfx)elf/.
46152 2014-05-21  Richard Henderson  <rth@redhat.com>
46154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46155         (SINGLE_THREAD_P): Use the correct width load.  Fold
46156         into the ldr offset.
46158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46159         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46161 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46163         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46164         (libgcc_s_resume): Use __attribute_used__.
46165         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46166         Likewise.
46168 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46170         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46171         optimization when used with float constants.
46173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46175 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46177         [BZ #16915]
46178         * locale/nl_langinfo_l.c: Make direct reference to every
46179         _nl_current_CATEGORY symbol.
46180         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46181         (tests-static): Add tst-langinfo-static.
46182         (tests-special): Add tst-langinfo-static.out.
46183         ($(objpfx)tst-langinfo.out): Redirect output.
46184         ($(objpfx)tst-langinfo-static.out): New.
46185         * localedata/tst-langinfo.sh: Send output to stdout.
46186         * localedata/tst-langinfo-static.c: New file.
46188         [BZ #16965]
46189         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46190         when the shift amount is modulo the limb size.
46192 2014-05-20  Richard Henderson  <rth@redhat.com>
46194         [BZ #16967]
46195         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46196         Change type of sa_flags from unsigned int to int.
46198         [BZ #16966]
46199         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46201         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46203 2014-05-20  Will Newton  <will.newton@linaro.org>
46205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46206         Test the return value of the system call in the nocancel case.
46208 2014-05-20  Will Newton  <will.newton@linaro.org>
46209             Yvan Roux  <yvan.roux@linaro.org>
46211         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46212         #include of asm/ptrace.h.
46213         (PTRACE_GET_THREAD_AREA): Remove #undef.
46214         (PTRACE_GETHBPREGS): Likewise.
46215         (PTRACE_SETHBPREGS): Likewise.
46216         (struct user_regs_struct): New structure.
46217         (struct user_fpsimd_struct): New structure.
46218         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46219         #include of asm/ptrace.h and second #include of sys/user.h.
46220         (PTRACE_GET_THREAD_AREA): Remove #undef.
46221         (PTRACE_GETHBPREGS): Likewise.
46222         (PTRACE_SETHBPREGS): Likewise.
46223         (ELF_NGREG): Use new struct user_regs_struct.
46224         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46226 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46231 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46233         [BZ #16958]
46234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46235         membar to avoid block loads/stores to overlap previous stores.
46237 2014-05-17  Richard Henderson  <rth@redhat.com>
46239         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46240         Create the __##syscall_name##_nocancel entry point.
46241         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46242         Remove; let the sysdep-cancel.h code create it.
46244 2014-05-17  David S. Miller  <davem@davemloft.net>
46246         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46247         Protect with __USE_GNU.
46248         (TIOCSET_TEMPT): Likewise.
46249         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46250         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46251         these are already provided in bits/ioctl-types.h
46253 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46255         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46256         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46258         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46259         Use wait4 regardless of [__NR_waitpid].
46261 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46263         PR libgcc/60166
46264         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46265         (_FP_NANSIGN_Q): Set the quiet bit.
46267 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46269         * benchtests/Makefile
46270         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46271         not $(common-objpfx)math/libm.so.
46272         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46273         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46274         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46275         $(common-objpfx)dlfcn/libdl.so.
46276         ($(objpfx)tst-audit8): Depend on $(libm), not
46277         $(common-objpfx)math/libm.so.
46278         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46279         not $(common-objpfx)dlfcn/libdl.so.
46280         * math/Makefile
46281         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46282         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46283         [$(build-shared) = yes].
46284         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46285         $(common-objpfx)nptl/libpthread.so.
46286         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46287         $(common-objpfx)math/libm.so$(libm.so-version) or
46288         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46289         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46290         $(common-objpfx)dlfcn/libdl.so.
46291         * setjmp/Makefile (link-libm): Remove variable.
46292         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46293         * stdio-common/Makefile (link-libm): Remove variable.
46294         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46295         * stdlib/Makefile (link-libm): Remove variable.
46296         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46297         ($(objpfx)tst-strtod-round): Likewise.
46298         ($(objpfx)tst-tininess): Likewise.
46299         ($(objpfx)tst-strtod-underflow): Likewise.
46300         ($(objpfx)tst-strtod6): Likewise.
46301         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46302         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46303         $(common-objpfx)dlfcn/libdl.so.
46305 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46307         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46308         BSD terminal modes definitions.
46310 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46312         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46313         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46315         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46316         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46317         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46318         Don't do #include_next.
46319         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46320         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46321         Don't do #include_next.
46322         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46323         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46324         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46325         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46327 2014-05-16  Allan McRae  <allan@archlinux.org>
46329         * po/sv.po: Update Swedish translation from translation project.
46331         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46332         in sed expression.
46334 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46336         [BZ #16917]
46337         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46338         errno if the TIOCGPTN ioctl fails with an error different than
46339         EINVAL.
46340         * login/tst-ptsname.c: New file.
46341         * login/Makefile (tests): Add tst-ptsname.
46343         [BZ #16943]
46344         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46345         and prlimit64.
46347 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         [BZ #16849]
46350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46351         herrno to return EAI_AGAIN.
46353 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46355         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46356         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46357         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46358         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46359         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46360         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46361         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46362         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46363         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46364         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46365         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46366         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46367         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46368         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46369         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46370         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46371         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46372         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46373         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46374         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46375         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46376         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46377         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46378         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46379         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46380         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46381         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46382         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46383         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46384         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46386         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46388         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46390         Moved ...
46391         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46393         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46395         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46397         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46399         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46403         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46405         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46407         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46409         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46411         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46413         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46415         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46417         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46419         Moved ...
46420         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46422         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46424         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46426         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46428         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46430         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46432         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46434         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46436         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46438         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46440         Moved ...
46441         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46443         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46446         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46447         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46448         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46449         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46450         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46451         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46452         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46453         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46454         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46455         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46456         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46457         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46458         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46459         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46460         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46461         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46462         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46463         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46464         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46465         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46466         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46467         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46468         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46469         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46470         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46471         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46472         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46473         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46474         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46475         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46477         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46478         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46480         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46481         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46482         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46483         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46484         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46486         Moved ...
46487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46489         Moved ...
46490         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46492         Moved ...
46493         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46494         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46495         Moved ...
46496         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46497         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46498         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46499         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46500         Moved ...
46501         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46502         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46503         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46504         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46505         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46506         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46507         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46509         Moved ...
46510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46512         Moved ...
46513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46514         ... here.
46515         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46516         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46517         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46518         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46520         Moved ...
46521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46522         ... here.
46523         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46524         Moved ...
46525         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46526         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46527         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46528         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46529         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46531         Moved ...
46532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46534         Moved ...
46535         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46537         Moved ...
46538         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46539         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46540         Moved ...
46541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46542         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46543         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46544         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46545         Moved ...
46546         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46547         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46548         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46549         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46550         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46551         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46552         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46554         Moved ...
46555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46557         Moved ...
46558         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46559         ... here.
46560         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46561         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46562         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46563         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46565         Moved ...
46566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46567         ... here.
46568         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46569         Moved ...
46570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46571         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46572         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46573         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46574         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46575         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46577         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46578         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46580         Moved ...
46581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46583         Moved ...
46584         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46585         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46586         Moved ...
46587         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46589         Moved ...
46590         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46591         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46592         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46593         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46594         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46596         Moved ...
46597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46598         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46599         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46600         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46601         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46602         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46603         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46605         Moved ...
46606         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46607         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46608         Moved ...
46609         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46610         ... here.
46611         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46612         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46613         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46614         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46616         Moved ...
46617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46618         ... here.
46619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46620         Moved ...
46621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46622         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46623         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46624         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46625         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46626         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46627         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46628         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46629         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46630         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46631         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46633         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46634         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46636         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46637         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46639         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46640         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46641         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46642         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46643         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46644         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46645         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46646         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46647         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46648         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46650         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46651         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46652         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46653         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46655         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46656         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46657         Moved ...
46658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46659         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46660         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46662         Moved ...
46663         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46667         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46669         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46671         Moved ...
46672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46674         Moved ...
46675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46677         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46678         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46679         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46681         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46682         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46683         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46684         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46685         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46686         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46687         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46688         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46689         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46690         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46693         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46694         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46695         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46696         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46697         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46699         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46700         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46701         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46702         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46703         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46704         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46705         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46706         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46707         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46708         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46713         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46714         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46715         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46716         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46717         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46718         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46719         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46720         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46721         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46722         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46723         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46724         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46725         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46726         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46728         Update #include.
46729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46730         Likewise.
46731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46732         Likewise.
46733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46734         Likewise.
46735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46736         Likewise.
46737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46738         Likewise.
46739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46740         Likewise.
46741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46742         Likewise.
46743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46744         Likewise.
46745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46746         Likewise.
46747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46753         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46754         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46755         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46756         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46758         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46759         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46760         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46763         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46764         that was previously under [RESET_PID].
46765         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46766         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46767         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46769         * sysdeps/i386/nptl/Implies: New file.
46770         * sysdeps/x86_64/nptl/Implies: New file.
46771         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46772         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46773         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46774         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46776         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46777         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46778         (__libc_vfork): New strong alias.
46779         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46780         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46782         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46783         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46784         (__libc_vfork): New strong alias.
46785         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46786         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46788         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46789         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46790         (__libc_vfork): New strong alias.
46791         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46792         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46793         * nptl/pt-vfork.c: New file.
46794         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46795         (libpthread: GLIBC_2.20): New version set (empty).
46797 2014-05-14  Will Newton  <will.newton@linaro.org>
46799         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46800         rather than #if.
46802 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46804         [BZ #16564]
46805         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46806         arguments with exponent 65 or above.
46807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46808         arguments 0x1p113L or above.
46809         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46810         to arguments 0x1p107L or above.
46811         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46812         positive arguments with exponent 65 or above.
46813         * math/auto-libm-test-in: Add more tests of log1p.
46814         * math/auto-libm-test-out: Regenerated.
46816         [BZ #16928]
46817         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46818         non-finite arguments is +0.
46819         * math/s_cacosf.c (__cacosf): Likewise.
46820         * math/s_cacosl.c (__cacosl): Likewise.
46821         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46822         * sysdeps/i386/fpu/libm-test-ulps: Update.
46823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46825         [BZ #16927]
46826         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46827         value.
46828         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46829         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46830         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46831         for explicit high bit of mantissa when testing for argument equal
46832         to 1.
46833         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46834         * sysdeps/i386/fpu/libm-test-ulps: Update.
46835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46837         [BZ #16516]
46838         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46839         (__erf): Scale by 16 instead of 8 in potentially underflowing
46840         case.  Ensure exception if result actually underflows.
46841         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46842         (__erff): Scale by 16 instead of 8 in potentially underflowing
46843         case.  Ensure exception if result actually underflows.
46844         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46845         (efx8): Remove variable.
46846         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46847         case.  Ensure exception if result actually underflows.
46848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46849         (efx8): Remove variable.
46850         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46851         case.  Ensure exception if result actually underflows.
46852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46853         (efx8): Remove variable.
46854         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46855         case.  Ensure exception if result actually underflows.
46856         * math/auto-libm-test-in: Add more tests of erf.
46857         * math/auto-libm-test-out: Regenerated.
46859 2014-05-14  Andreas Schwab  <schwab@suse.de>
46861         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46862         Remove code conditionalized on USE___THREAD.
46864         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46865         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46866         not definedness.
46868 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46871         Define unconditionally.
46872         (__ASSUME_O_CLOEXEC): Likewise.
46873         (__ASSUME_SOCK_CLOEXEC): Likewise.
46874         (__ASSUME_IN_NONBLOCK): Likewise.
46875         (__ASSUME_PIPE2): Likewise.
46876         (__ASSUME_EVENTFD2): Likewise.
46877         (__ASSUME_SIGNALFD4): Likewise.
46878         (__ASSUME_DUP3): Likewise.
46879         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46880         (__ASSUME_DUP3): Do not define.
46881         (__ASSUME_EVENTFD2): Likewise.
46882         (__ASSUME_IN_NONBLOCK): Likewise.
46883         (__ASSUME_O_CLOEXEC): Likewise.
46884         (__ASSUME_PIPE2): Likewise.
46885         (__ASSUME_SIGNALFD4): Likewise.
46886         (__ASSUME_SOCK_CLOEXEC): Likewise.
46887         (__ASSUME_UTIMES): Undefine.
46888         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46889         (__ASSUME_UTIMES): Do not define.
46890         (__ASSUME_O_CLOEXEC): Likewise.
46891         (__ASSUME_SOCK_CLOEXEC): Likewise.
46892         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46893         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46894         0x020621].
46895         (__ASSUME_PIPE2): Likewise.
46896         (__ASSUME_EVENTFD2): Likewise.
46897         (__ASSUME_SIGNALFD4): Likewise.
46898         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46899         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46900         Do not define.
46901         (__ASSUME_EVENTFD2): Likewise.
46902         (__ASSUME_SIGNALFD4): Likewise.
46903         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46904         (__ASSUME_32BITUIDS): Likewise.
46905         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46906         (__ASSUME_IPC64): Likewise.
46907         (__ASSUME_ST_INO_64_BIT): Likewise.
46908         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46909         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46910         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46911         (__ASSUME_UTIMES): Do not define.
46912         (__ASSUME_PSELECT): Likewise.
46913         (__ASSUME_PPOLL): Likewise.
46914         (__ASSUME_O_CLOEXEC): Likewise.
46915         (__ASSUME_SOCK_CLOEXEC): Likewise.
46916         (__ASSUME_IN_NONBLOCK): Likewise.
46917         (__ASSUME_PIPE2): Likewise.
46918         (__ASSUME_EVENTFD2): Likewise.
46919         (__ASSUME_SIGNALFD4): Likewise.
46920         (__ASSUME_DUP3): Likewise.
46921         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46922         (__ASSUME_UTIMES): Likewise.
46923         (__ASSUME_O_CLOEXEC): Likewise.
46924         (__ASSUME_SOCK_CLOEXEC): Likewise.
46925         (__ASSUME_IN_NONBLOCK): Likewise.
46926         (__ASSUME_PIPE2): Likewise.
46927         (__ASSUME_EVENTFD2): Likewise.
46928         (__ASSUME_SIGNALFD4): Likewise.
46929         (__ASSUME_DUP3): Likewise.
46930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46931         (__ASSUME_UTIMES): Likewise.
46932         (__ASSUME_O_CLOEXEC): Likewise.
46933         (__ASSUME_SOCK_CLOEXEC): Likewise.
46934         (__ASSUME_IN_NONBLOCK): Likewise.
46935         (__ASSUME_PIPE2): Likewise.
46936         (__ASSUME_EVENTFD2): Likewise.
46937         (__ASSUME_SIGNALFD4): Likewise.
46938         (__ASSUME_DUP3): Likewise.
46939         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46940         Likewise.
46941         (__ASSUME_UTIMES): Likewise.
46942         (__ASSUME_EVENTFD2): Likewise.
46943         (__ASSUME_SIGNALFD4): Likewise.
46944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46945         (__ASSUME_O_CLOEXEC): Likewise.
46946         (__ASSUME_SOCK_CLOEXEC): Likewise.
46947         (__ASSUME_IN_NONBLOCK): Likewise.
46948         (__ASSUME_PIPE2): Likewise.
46949         (__ASSUME_EVENTFD2): Likewise.
46950         (__ASSUME_SIGNALFD4): Likewise.
46951         (__ASSUME_DUP3): Likewise.
46952         (__ASSUME_UTIMES): Undefine.
46954         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46955         feclearexcept.  Remove symbol versioning code.
46956         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46957         symbol versioning code.
46958         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46959         symbol versioning code.
46960         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46961         feupdateenv.  Remove symbol versioning code.
46962         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46963         fegetexceptflag.  Remove symbol versioning code.
46964         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46965         fesetexceptflag.  Remove symbol versioning code.
46966         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46967         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46968         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46969         (__posix_fadvise64_l32): Remove prototype.
46970         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46971         code.
46973 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46975         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46976         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46977         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46978         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46980 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46982         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46983         current working directory
46985 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46987         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46988         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46989         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46990         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46991         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46992         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46993         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46994         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46995         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46996         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46997         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46998         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46999         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47000         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47001         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47002         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47003         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47004         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47005         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47006         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47007         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47008         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47009         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47010         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47011         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47012         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47013         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47014         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47015         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47016         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47017         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47018         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47019         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47020         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47021         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47022         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47023         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47024         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47025         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47026         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47027         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47028         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47030         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47031         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47033         * sysdeps/unix/sysv/linux/arm/Makefile
47034         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47035         Add rt-aeabi_unwind_cpp_pr1.
47036         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47037         Add nptl-aeabi_unwind_cpp_pr1.
47038         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47039         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47040         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47041         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47042         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47043         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47045         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47046         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47047         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47048         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47050         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47051         Deconditionalize the code that was previously under [RESET_PID].
47052         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47054         * sysdeps/generic/exit-thread.h: New file.
47055         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47056         * include/unistd.h (__exit_thread): Remove declaration.
47057         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47058         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47059         * csu/libc-start.c: Include <exit-thread.h>.
47060         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47061         * nptl/pthread_create.c: Include <exit-thread.h>.
47062         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47063         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47064         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47065         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47066         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47067         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47068         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47069         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47070         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47071         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47072         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47073         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47074         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47075         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47076         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47077         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47078         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47080 2014-05-13  Andreas Schwab  <schwab@suse.de>
47082         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47084 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47086         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47087         (__ASSUME_UTIMES): Do not condition on kernel version.
47088         (__ASSUME_PSELECT): Define unconditionally.
47089         (__ASSUME_PPOLL): Likewise.
47090         (__ASSUME_ATFCTS): Likewise.
47091         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47092         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47093         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47094         (__ASSUME_UTIMENSAT): Define unconditionally.
47095         (__ASSUME_PRIVATE_FUTEX): Likewise.
47096         (__ASSUME_FALLOCATE): Likewise.
47097         (__ASSUME_O_CLOEXEC): Likewise.
47098         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47099         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47100         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47101         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47102         (__ASSUME_IN_NONBLOCK): Likewise.
47103         (__ASSUME_PIPE2): Likewise.
47104         (__ASSUME_EVENTFD2): Likewise.
47105         (__ASSUME_SIGNALFD4): Likewise.
47106         (__ASSUME_DUP3): Likewise.
47107         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47108         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47109         (__ASSUME_AT_RANDOM): Likewise.
47110         (__ASSUME_PREADV): Likewise.
47111         (__ASSUME_PWRITEV): Likewise.
47112         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47113         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47114         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47115         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47116         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47117         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47118         (__ASSUME_O_CLOEXEC): Define unconditionally.
47119         (__ASSUME_PSELECT): Do not undefine conditionally.
47120         (__ASSUME_PPOLL): Likewise.
47121         (__ASSUME_ATFCTS): Likewise.
47122         (__ASSUME_SET_ROBUST_LIST): Likewise.
47123         (__ASSUME_UTIMENSAT): Likewise.
47124         (__ASSUME_FDATASYNC): Define unconditionally.
47125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47126         (__ASSUME_SIGFRAME_V2): Likewise.
47127         )__ASSUME_EVENTFD2): Likewise.
47128         (__ASSUME_SIGNALFD4): Likewise.
47129         (__ASSUME_PSELECT): Do not undefine conditionally.
47130         (__ASSUME_PPOLL): Likewise.
47131         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47132         (__ASSUME_PSELECT): Define unconditionally.
47133         (__ASSUME_PPOLL): Likewise.
47134         (__ASSUME_O_CLOEXEC): Likewise.
47135         (__ASSUME_SOCK_CLOEXEC): Likewise.
47136         (__ASSUME_IN_NONBLOCK): Likewise.
47137         (__ASSUME_PIPE2): Likewise.
47138         (__ASSUME_EVENTFD2): Likewise.
47139         (__ASSUME_SIGNALFD4): Likewise.
47140         (__ASSUME_DUP3): Likewise.
47141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47142         (__ASSUME_O_CLOEXEC): Likewise.
47143         (__ASSUME_SOCK_CLOEXEC): Likewise.
47144         (__ASSUME_IN_NONBLOCK): Likewise.
47145         (__ASSUME_PIPE2): Likewise.
47146         (__ASSUME_EVENTFD2): Likewise.
47147         (__ASSUME_SIGNALFD4): Likewise.
47148         (__ASSUME_DUP3): Likewise.
47149         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47150         (__ASSUME_EVENTFD2): Likewise.
47151         (__ASSUME_SIGNALFD4): Likewise.
47152         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47154 2014-05-12  Andreas Schwab  <schwab@suse.de>
47156         [BZ #16932]
47157         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47158         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47159         than maximum RPC packet size.
47160         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47161         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47162         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47163         (_nss_nis_getservbyport_r): Likewise.
47165 2014-05-12  Will Newton  <will.newton@linaro.org>
47167         * malloc/Makefile (tests): Add tst-mallopt.
47168         * malloc/tst-mallopt.c: New file.
47170 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47172         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47173         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47175 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47177         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47178         (tst-tlsmod6.so): Likewise.
47180 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47182         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47184 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47186         [BZ #16064]
47187         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47188         and <dl-procinfo.h>.
47189         (__fegetenv): Save SSE state in envp->__eip if supported.
47190         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47191         envp->__eip if supported.
47192         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47193         and <dl-procinfo.h>.
47194         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47195         __data_offset and __data_selector in environment to 0.  Set SSE
47196         state if supported.
47197         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47198         test-fenv-sse.
47199         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47200         -mfpmath=sse.
47201         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47203 2014-05-09  Will Newton  <will.newton@linaro.org>
47205         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47206         and libc_relro_required for ARM.
47207         * sysdeps/arm/preconfigure: Regenerate.
47209 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47210             Stefan Liebler  <stli@linux.vnet.ibm.com>
47212         * config.make.in (enable-lock-elision): New Makefile variable.
47213         * configure.ac: Likewise.
47214         * configure: Regenerate.
47215         * sysdeps/s390/configure.ac:
47216         Add check for gcc transactions support.
47217         * sysdeps/s390/configure: Regenerate.
47218         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47219         Build elision files if enabled.
47220         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47221         Add lock elision support for s390.
47222         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47223         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47224         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47225         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47226         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47227         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47228         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47229         Likewise.
47230         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47231         Likewise.
47232         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47233         Likewise.
47234         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47235         Likewise.
47236         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47237         (__lll_timedlock_elision, __lll_lock_elision)
47238         (__lll_unlock_elision, __lll_trylock_elision)
47239         (lll_timedlock_elision, lll_lock_elision)
47240         (lll_unlock_elision, lll_trylock_elision): Add.
47241         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47242         (pthread_mutex_t): Add lock elision support for s390.
47244 2014-05-14  Wilco  <wdijkstr@arm.com>
47246         * sysdeps/arm/fclrexcpt.c: Cleanup.
47247         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47248         * sysdeps/arm/feenablxcpt.c: Cleanup.
47249         * sysdeps/arm/fegetenv.c: Cleanup.
47250         * sysdeps/arm/fegetexcept.c: Cleanup.
47251         * sysdeps/arm/fegetround.c: Cleanup.
47252         * sysdeps/arm/feholdexcpt.c: Cleanup.
47253         * sysdeps/arm/fesetenv.c: Cleanup.
47254         * sysdeps/arm/fesetround.c: Cleanup.
47255         * sysdeps/arm/feupdateenv.c: Cleanup.
47256         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47257         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47258         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47259         * sysdeps/arm/ftestexcept.c: Cleanup.
47260         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47261         * sysdeps/arm/setfpucw.c: Cleanup.
47263 2014-05-09  Will Newton  <will.newton@linaro.org>
47265         * sysdeps/arm/armv7/strcmp.S: New file.
47266         * NEWS: Mention addition of ARMv7 optimized strcmp.
47268 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47270         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47271         look for %.ac rather than %.in.
47273         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47274         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47275         * sysdeps/mach/hurd/configure: Regenerated.
47276         * sysdeps/unix/sysv/linux/configure: Regenerated.
47278         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47280 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47282         [BZ #16922]
47283         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47284         (LONG_SUB): Ditto.
47285         (PTR_SUB): Ditto.
47287 2014-05-07  Andreas Schwab  <schwab@suse.de>
47289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47290         when skipping over non-matching result from nscd.
47292 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47294         [BZ #16876]
47295         * nptl/sockperf.c (client): Check socket return value.
47297         [BZ #16877]
47298         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47299         nscd security class.
47301 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47303         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47304         * sysdeps/arm/unwind.h: ... here.
47306 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47308         [BZ #16916]
47309         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47310         Define.
47312 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47314         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47315         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47316         multiarch strncpy for PPC64.
47317         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47318         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47320         multiarch optimizations.
47321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47322         (__libc_ifunc_impl_list): Likewise.
47323         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47324         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47325         multiarch stpncpy for PPC64.
47326         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47327         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47329 2014-05-06  Andreas Schwab  <schwab@suse.de>
47331         [BZ #16912]
47332         * gmon/mcount.c (_MCOUNT_DECL): Use
47333         atomic_compare_and_exchange_bool_acq instead of
47334         catomic_compare_and_exchange_bool_acq.
47336 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47338         * elf/Makefile (others, install-bin): Remove pldd.
47339         (pldd-modules): Variable removed.
47340         ($(objpfx)pldd): Target removed.
47341         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47342         (others, install-bin): Append pldd here.
47343         ($(objpfx)pldd): New target.
47345         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47346         to 0, so the first #if test emitted later doesn't see it undefined.
47347         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47348         * sysdeps/gnu/errlist.c: Regenerated.
47350 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47353         [libc_hidden_builtin_def]: Define to empty value.
47354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47355         [libc_hidden_builtin_def]: Likewise.
47356         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47357         [libc_hidden_builtin_def]: Likewise.
47358         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47359         [libc_hidden_builtin_def]: Likewise.
47360         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47361         __redirect_memcpy and define ifunc as default hidden symbol.
47362         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47363         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47365 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47367         * locale/iso-4217.def: Reintroduce XDR currency.
47369 2014-05-04  Allan McRae  <allan@archlinux.org>
47371         * po/eo.po: Update Esperanto translation from translation project.
47373 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47375         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47376         and FEATURE_INDEX_MAX to 1.
47377         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47379 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47381         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47382         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47383         * iconvdata/big5.c (ONE_DIRECTION): Define.
47384         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47385         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47386         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47387         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47388         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47389         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47390         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47391         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47392         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47393         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47394         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47395         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47396         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47397         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47398         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47399         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47400         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47401         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47402         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47403         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47404         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47405         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47406         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47407         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47408         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47409         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47410         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47411         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47412         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47413         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47414         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47415         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47416         * iconvdata/johab.c (ONE_DIRECTION): Define.
47417         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47418         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47419         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47420         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47421         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47422         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47423         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47424         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47425         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47426         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47428 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47430         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47431         (_IO_JUMPS_OFFSET): Define to 0.
47433         * nptl/sysdeps/pthread/bits/libc-lock.h
47434         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47435         (__libc_lock_define_initialized_recursive): Always define using
47436         initializer.  Modern compilers treat uninitialized (implicit zero) and
47437         explicit zero initializers the same (i.e. put the datum in bss).
47439 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47441         * nscd/nscd-client.h: Include <string.h>.
47443 2014-05-01  David S. Miller  <davem@davemloft.net>
47445         [BZ #16885]
47446         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47447         multiple zero bytes exist at the end of a string.
47448         Reported by Aurelien Jarno <aurelien@aurel32.net>
47450         * string/test-strcmp.c (check): Add explicit test for situations where
47451         there are multiple zero bytes after the first.
47453 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47455         [BZ #16890]
47456         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47457         when compiling wprintf.
47458         * stdio-common/tstdiomisc.c (t3): New function.
47459         (main): Call it.
47461 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47463         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47464         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47465         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47466         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47468 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47470         * stdlib/longlong.h: Updated from GCC.
47472 2014-05-01  Will Newton  <will.newton@linaro.org>
47473             Bernard Ogden  <bernie.ogden@linaro.org>
47475         * NEWS: Update fixed bug list.
47477         [BZ #15119]
47478         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47480 2014-04-30  David S. Miller  <davem@davemloft.net>
47482         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47483         (libc_feholdexcept_setround_sparc_ctx): New function.
47484         (libc_fesetenv_sparc_ctx): Likewise.
47485         (libc_feupdateenv_sparc_ctx): Likewise.
47486         (libc_feholdsetround_sparc_ctx): Likewise.
47487         (libc_feholdexcept_setround_ctx): Define.
47488         (libc_feholdexcept_setroundf_ctx): Likewise.
47489         (libc_feholdexcept_setroundl_ctx): Likewise.
47490         (libc_fesetenv_ctx): Likewise.
47491         (libc_fesetenvf_ctx): Likewise.
47492         (libc_fesetenvl_ctx): Likewise.
47493         (libc_feupdateenv_ctx): Likewise.
47494         (libc_feupdateenvf_ctx): Likewise.
47495         (libc_feupdateenvl_ctx): Likewise.
47496         (libc_feresetround_ctx): Likewise.
47497         (libc_feresetroundf_ctx): Likewise.
47498         (libc_feresetroundl_ctx): Likewise.
47499         (libc_feholdsetround_ctx): Likewise.
47500         (libc_feholdsetroundf_ctx): Likewise.
47501         (libc_feholdsetroundl_ctx): Likewise.
47503         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47504         with __USE_GNU instead of XOPEN cpp guards.
47506         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47507         0.
47509         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47510         with XOPEN cpp guards.
47512 2014-04-30  Julian Brown  <julian@codesourcery.com>
47514         [BZ #16888]
47515         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47516         handling.
47518 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47520         [BZ #9894]
47521         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47522         Change to 2.6.32.
47523         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47524         * sysdeps/unix/sysv/linux/configure: Regenerated.
47525         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47526         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47527         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47528         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47529         * README: Update reference to required Linux kernel version.
47530         * manual/install.texi (Linux): Update reference to required Linux
47531         kernel headers version.
47532         * INSTALL: Regenerated.
47534         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47535         header inclusion.
47536         [POSIX] (limits.h): Likewise.
47537         [POSIX] (math.h): Likewise.
47538         [POSIX] (sys/wait.h): Likewise.
47539         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47540         function.
47541         [POSIX] (stddef.h): Do not allow header inclusion.
47543 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47545         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47547 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47549         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47550         Return immediately after lll_futex_wake.
47552 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47554         [BZ #16791]
47555         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47556         structure.
47557         (datahead_init_pos): Call datahead_init_common early.
47558         (datahead_init_neg): Likewise.
47560         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47561         datahead_init_neg): New functions.
47562         * nscd/aicache.c (addhstaiX): Use them.
47563         * nscd/grpcache.c (cache_addgr): Likewise.
47564         * nscd/hstcache.c (cache_addhst): Likewise.
47565         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47566         * nscd/netgroupcache.c (do_notfound): Likewise.
47567         (addgetnetgrentX): Likewise.
47568         (addinnetgrX): Likewise.
47569         * nscd/pwdcache.c (cache_addpw): Likewise.
47570         * nscd/servicescache.c (cache_addserv): Likewise.
47572 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47573             Atsushi Onoe  <atsushi@onoe.org>
47575         [BZ #14308]
47576         [BZ #12994]
47577         [BZ #13651]
47578         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47579         one response is valid.
47580         * resolv/res_send.c (send_dg): Check for validity of other
47581         response if the current response is a referral.
47583 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47585         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47587 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47589         [BZ #16823]
47590         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47591         Always divide by positive zero when computing -Inf result.
47592         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47593         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47595 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47597         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47598         FPSCR if value do not change.
47599         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47600         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47601         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47602         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47603         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47604         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47605         function.
47607 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47609         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47610         * sysdeps/unix/sysv/linux/hppa: Move directory from
47611         ports/systeps/unix/sysv/linux/hppa.
47612         * README: Update listing for hppa-*-linux-gnu.
47614 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47616         [BZ #16754]
47617         * manual/stdio.texi (Hook functions): Fix types of stream hook
47618         functions.
47619         [BZ #16854]
47620         * socket/sys/socket.h: Fix typo in comment.
47622 2014-04-28  Wilco  <wdijkstr@arm.com>
47624         * sysdeps/arm/fenv_private.h: New file.
47625         * sysdeps/arm/math_private.h: New file.
47626         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47628 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47630         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47631         with __int128_t.
47632         (La_x86_64_retval): Likewise.
47634 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47636         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47637         fpsr if value didn't change.
47638         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47639         to fpcr if value didn't change.
47640         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47641         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47642         fpsr or fpcr if value didn't change.
47643         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47644         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47645         fpcr if value didn't change.
47646         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47647         to fpsr if value didn't change.
47649 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47651         * nptl/tst-sem3.c: Use test-skeleton.c
47652         (main): Rename to do_test.  Use return instead of
47653         exit.
47654         * nptl/tst-sem4.c: Use test-skeleton.c
47655         (main): Rename to do_test.
47657 2014-04-22  David S. Miller  <davem@davemloft.net>
47659         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47660         (struct sigaction): New struct member __glibc_reserved0, change
47661         type of sa_flags to int.
47663 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47665         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47666         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47668 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47670         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47671         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47673 2014-04-22  Will Newton  <will.newton@linaro.org>
47674             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47676         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47677         (__longjmp): Add longjmp and longjmp_target SystemTap
47678         probes.
47679         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47680         (__sigsetjmp): Add setjmp SystemTap probe.
47682 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47684         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47685         match manual order.
47687 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47689         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47691         * sysdeps/powerpc/fpu/fenv_private.h
47692         (libc_feholdexcept_setroundl_ctx): Define to
47693         libc_feholdexcept_setround_ppc_ctx.
47694         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47695         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47696         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47697         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47699 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47701         * sysdeps/aarch64/math-tests.h: New file.
47703 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47705         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47706         New.
47707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47708         Check and set bit_AVX2_Usable.
47709         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47710         macro.
47711         (bit_AVX2): Likewise.
47712         (index_AVX2_Usable): Likewise.
47713         (CPUID_AVX2): Likewise.
47714         (HAS_AVX2): Likewise.
47716 2014-04-17  Will Newton  <will.newton@linaro.org>
47718         * manual/setjmp.texi (System V contexts): Add note that
47719         calling setcontext on a context created by a call to a
47720         signal handler is undefined.  Update text to note that
47721         setcontext from a signal handler is possible but not
47722         recommended.
47724         [BZ #16629]
47725         * stdlib/tst-setcontext.c: Include signal.h.
47726         (main): Check that the signal stack before and
47727         after swapcontext is the same.
47729         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47730         Re-implement to restore registers in user code and avoid
47731         rt_sigreturn system call.
47733 2014-04-17  Wilco  <wdijkstr@arm.com>
47735         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47736         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47737         * math/test-fenv.c: Skip exception trap tests on targets which only
47738         support non-stop mode.
47740 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47741             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47743         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47744         (libc_feholdsetround_aarch64_ctx)
47745         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47746         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47747         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47748         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47749         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47750         (libc_feresetround_noexl_ctx): Define.
47752 2014-04-16  Richard Henderson  <rth@redhat.com>
47754         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47756         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47757         unwind tables.
47759         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47760         const from the non-libc, non-ldso copy.
47762         * sysdeps/alpha/libm-test-ulps: Regenerate.
47764 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47765             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47767         * sysdeps/aarch64/fpu/math_private.h: New file.
47769 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47771         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47773 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47775         [BZ #16275]
47776         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47777         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47779         Intel MPX bound registers before _dl_profile_fixup.
47780         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47781         registers after _dl_profile_fixup.  Save and restore bound
47782         registers bnd0/bnd1 when calling _dl_call_pltexit.
47783         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47784         (LR_BND_OFFSET): Likewise.
47785         (LRV_BND0_OFFSET): Likewise.
47786         (LRV_BND1_OFFSET): Likewise.
47788 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47790         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47791         to...
47792         * sysdeps/mach/hurd/i386/tls.h: ... here.
47793         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47794         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47795         fields.
47797 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47799         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47801 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47803         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47805 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47807         [BZ #14770]
47808         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47809         * sysdeps/s390/configure: Regenerate.
47811         [BZ #16824]
47812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47813         Set round-to-nearest internally to reduce error accumulation.
47815 2014-04-16  Alan Modra  <amodra@gmail.com>
47817         [BZ #16740]
47818         [BZ #16619]
47819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47820         * math/libm-test.inc (frexp_test_data): Add tests.
47821         * NEWS: Update fixed bug list.
47823 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47825         * benchtests/Makefile: Depend on libraries in build directory.
47826         (bench-math): Separate out math tests.
47827         (bench-pthread): Separate out pthread tests.
47828         (bench): Include math and pthread tests.
47830 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47832         [BZ #16831]
47833         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47834         _dl_debug_initialize.
47836         * configure.ac: Remove SELinux header check.
47837         * configure: Regenerate.
47838         * nscd/selinux.c (perms): Array of const char* to permission names.
47839         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47840         default policy. Call string_to_security_class and string_to_av_perm to
47841         translate strings. Enforce default policy and call avs_has_perm with
47842         results of translated strings.
47844 2014-04-13  David S. Miller  <davem@davemloft.net>
47846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47848 2014-04-12  Allan McRae  <allan@archlinux.org>
47850         [BZ #16838]
47851         * manual/string.texi (Collation Functions): Fix qsort argument
47852         order in example.
47853         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47855 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47857         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47858         Make the test a no-op if there are no exceptions defined.
47860 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47862         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47863         enable-hardcoded-path-in-tests
47865 2014-04-11  Will Newton  <will.newton@linaro.org>
47867         * benchtests/Makefile (extra-objs): Add json-lib.o.
47868         (bench-func): Tidy up JSON output.
47869         * benchtests/bench-skeleton.c: Include json-lib.h.
47870         (main): Use JSON library functions to do output of
47871         benchmark results.
47872         * benchtests/bench-timing-type.c (main): Output the
47873         timing type simply, leaving formatting to the user.
47874         * benchtests/json-lib.c: New file.
47875         * benchtests/json-lib.h: Likewise.
47877 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47879         [BZ #15215]
47880         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47881         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47882         memory barriers.  Add comments.
47883         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47884         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47885         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47886         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47887         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47888         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47890 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47892         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47893         * sysdeps/s390/s390-64/configure.ac: ... this ...
47894         * sysdeps/s390/configure.ac: ... to here.
47895         * sysdeps/s390/s390-32/configure: Delete file.
47896         * sysdeps/s390/s390-64/configure: Delete file.
47897         * sysdeps/s390/configure: Regenerate.
47899 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47901         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47903 2014-04-11  Will Newton  <will.newton@linaro.org>
47905         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47906         to zero if it is not defined elsewhere.  (mtrim): Test
47907         the value of MALLOC_DEBUG with #if rather than #ifdef.
47909 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47911         * benchtests/pthread_once-inputs: New file.
47912         * benchtests/pthread_once-source.c: New file.
47913         * benchtests/README: Update documentation.
47915 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47916             H.J. Lu  <hongjiu.lu@intel.com>
47918         [BZ #16275]
47919         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47920         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47921         * sysdeps/x86_64/configure: Regenerated.
47922         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47923         macro.
47924         (REGISTER_SAVE_RAX): Likewise.
47925         (REGISTER_SAVE_RCX): Likewise.
47926         (REGISTER_SAVE_RDX): Likewise.
47927         (REGISTER_SAVE_RSI): Likewise.
47928         (REGISTER_SAVE_RDI): Likewise.
47929         (REGISTER_SAVE_R8): Likewise.
47930         (REGISTER_SAVE_R9): Likewise.
47931         (REGISTER_SAVE_BND0): Likewise.
47932         (REGISTER_SAVE_BND1): Likewise.
47933         (REGISTER_SAVE_BND2): Likewise.
47934         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47935         bound registers when calling _dl_fixup.
47937 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47939         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47940         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47941         of its definition.
47942         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47943         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47944         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47945         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47946         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47947         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47948         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47950 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47952         [BZ #15514]
47953         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47954         pathconf(_PC_NAME_MAX).
47956 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47958         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47959         Remove macro usage.
47960         (__PTHREAD_SPINS): Move definition to ...
47961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47962         (__PTHREAD_SPINS): ... here.
47963         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47964         (__PTHREAD_SPIN): Likewise.
47965         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47966         (__PTHREAD_SPIN): Likewise.
47967         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47968         (__PTHREAD_SPIN): Likewise.
47969         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47970         (__PTHREAD_SPIN): Likewise.
47971         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47972         (__PTHREAD_SPIN): Likewise.
47973         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47974         (__PTHREAD_SPIN): Likewise.
47975         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47976         (__PTHREAD_SPIN): Likewise.
47977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47978         (__PTHREAD_SPIN): Likewise.
47979         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47980         (__PTHREAD_SPIN): Likewise.
47981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47982         (__PTHREAD_SPIN): Likewise.
47983         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47984         (__PTHREAD_SPIN): Likewise.
47985         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47986         (__PTHREAD_SPIN): Likewise.
47988         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47989         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47990         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47991         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47992         imply folder.
47993         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47994         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47995         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47996         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47997         correct imply path.
47998         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47999         strlen symbol for non multi-arch builds.
48000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48001         missing hidden_def and weak_alias.
48003 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48005         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48007 2014-04-07  Will Newton  <will.newton@linaro.org>
48009         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48010         and contents.  [!_LIBC] Remove #ifndef and contents.
48011         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48012         * string/memccpy.c (__memccpy): Use ANSI prototype.
48013         * string/memfrob.c (memfrob): Likewise.
48014         * string/strcoll.c (STRCOLL): Likewise.
48015         * string/strlen.c (strlen): Likewise.
48016         * string/strtok.c (STRTOK): Likewise.
48017         * string/strcat.c: Remove unused #include of memcopy.h.
48018         (strcat): Use ANSI prototype.
48019         * string/strchr.c: Remove unused #include of memcopy.h.
48020         (strchr): Use ANSI prototype.
48021         * string/strcmp.c: Remove unused #include of memcopy.h.
48022         (strcmp): Use ANSI prototype.
48023         * string/strcpy.c: Remove unused #include of memcopy.h.
48024         (strcpy): Use ANSI prototype.
48026 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48028         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48029         * config.make.in (config-extra-cppflags): Set it from
48030         libc_extra_cppflags.
48031         * configure.ac (libc_extra_cflags): Make it accumulate over
48032         configure fragments.
48033         (libc_extra_cppflags): New flag.
48034         * configure. Regenerate.
48035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48036         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48037         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48040         [BZ #16815]
48041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48042         result for FE_DOWNWARD rounding mode.
48043         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48044         Likewise.
48045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48047 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48049         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48050         in function argument name.
48052 2014-04-03  David Svoboda  <svoboda@cert.org>
48054         [BZ #5666]
48055         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48056         explicitly.
48058 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48060         * elf/dl-unmap-segments.h: New file.
48061         * sysdeps/generic/ldsodefs.h
48062         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48063         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48064         * elf/dl-fptr.c: Likewise.
48065         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48066         * sysdeps/aarch64/tlsdesc.c: Likewise.
48067         * sysdeps/arm/tlsdesc.c: Likewise.
48068         * sysdeps/i386/tlsdesc.c: Likewise.
48069         * sysdeps/tile/dl-runtime.c: Likewise.
48070         * sysdeps/x86_64/tlsdesc.c: Likewise.
48071         * elf/dl-load.h: New file.
48072         * elf/dl-load.c: Include it.
48073         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48074         Macros moved to dl-load.h.
48075         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48076         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48077         Use _dl_unmap_segments in place of __munmap.
48078         Break out segment-mapping loop into ...
48079         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48081 2014-04-03  Will Newton  <will.newton@linaro.org>
48083         * elf/dl-lookup.c (do_lookup_x): Remove comment
48084         referring to nested function and move variable
48085         declarations down to before first use.
48087 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48089         [BZ #16799]
48090         [BZ #16800]
48091         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48092         with 0 numerator.
48093         * math/s_catanf.c (__catanf): Likewise.
48094         * math/s_catanh.c (__catanh): Likewise.
48095         * math/s_catanhf.c (__catanhf): Likewise.
48096         * math/s_catanhl.c (__catanhl): Likewise.
48097         * math/s_catanl.c (__catanl): Likewise.
48098         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48099         by positive zero when computing -Inf result.
48100         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48101         (catanh_test): Likewise.
48102         * sysdeps/i386/fpu/libm-test-ulps: Update.
48103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48105         [BZ #16789]
48106         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48107         instead of using underflowing value in computing result.
48108         * math/s_clog10.c (__clog10): Likewise.
48109         * math/s_clog10f.c (__clog10f): Likewise.
48110         * math/s_clog10l.c (__clog10l): Likewise.
48111         * math/s_clogf.c (__clogf): Likewise.
48112         * math/s_clogl.c (__clogl): Likewise.
48113         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48114         (clog10_test): Likewise.
48115         * sysdeps/i386/fpu/libm-test-ulps: Update.
48116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48118 2014-04-02  Alan Modra  <amodra@gmail.com>
48120         [BZ #16739]
48121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48122         output when value is near a power of two.  Use int64_t for lx and
48123         remove casts.  Use decimal rather than hex exponent constants.
48124         Don't use long double multiplication when double will suffice.
48125         * math/libm-test.inc (nextafter_test_data): Add tests.
48126         * NEWS: Add 16739 and 16786 to bug list.
48128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48130         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48132 2014-04-01  Will Newton  <will.newton@linaro.org>
48134         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48135         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48137 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48139         [BZ #13347]
48140         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48141         * nptl/tst-setuid2.c: New file.
48142         * nptl/Makefile (xtests): Add tst-setuid2.
48144 2014-04-01  Alan Modra  <amodra@gmail.com>
48146         [BZ #16786]
48147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48149 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48151         [BZ #6803]
48152         [BZ #6804]
48153         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48154         set errno as appropriate.
48155         * math/w_scalbf.c (__scalbf): Likewise.
48156         * math/w_scalbl.c (__scalbl): Likewise.
48157         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48158         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48159         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48160         Add more NaN tests.
48162         [BZ #16349]
48163         * math/w_atan2.c: Include <errno.h>.
48164         (__atan2): Set errno for result underflowing to zero.
48165         * math/w_atan2f.c: Include <errno.h>.
48166         (__atan2f): Set errno for result underflowing to zero.
48167         * math/w_atan2l.c: Include <errno.h>.
48168         (__atan2l): Set errno for result underflowing to zero.
48169         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48170         tests.
48171         * math/auto-libm-test-out: Regenerated.
48173 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48175         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48176         Encode instruction correctly in little endian.
48177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48178         Likewise.
48179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48180         Likewise.
48181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48182         Likewise.
48183         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48184         Likewise.
48186 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48188         [BZ #9894]
48189         * sysdeps/unix/sysv/linux/kernel-features.h
48190         [__sparc__ && !__arch64__ && !__sparc_v9__]
48191         (__ASSUME_SET_ROBUST_LIST): Do not define.
48192         [__sparc__ && !__arch64__ && !__sparc_v9__]
48193         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48194         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48195         Likewise.
48196         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48197         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48198         (__ASSUME_REQUEUE_PI): Likewise.
48199         (__ASSUME_SET_ROBUST_LIST): Likewise.
48200         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48201         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48202         Undefine.
48203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48204         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48205         Likewise.
48206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48207         Likewise.
48208         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48209         Likewise.
48210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48211         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48212         Undefine.
48213         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48214         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48215         Likewise.
48217         [BZ #16648]
48218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48220         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48222 2014-03-31  Will Newton  <will.newton@linaro.org>
48224         * benchtests/Makefile (bench): Add ffs and ffsll to list
48225         of tests.
48226         * benchtests/ffs-inputs: New file.
48227         * benchtests/ffsll-inputs: Likewise.
48229 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48231         [BZ #16770]
48232         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48233         too large before casting to int.
48234         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48235         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48236         * math/libm-test.inc (scalb_test_data): Add more tests.
48238 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48240         * benchtests/Makefile (DETAILED_OPT): New make option.
48241         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48242         set.
48243         * benchtests/bench-skeleton.c: Include stdbool.h.
48244         (main): Store and print timings per input.
48245         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48246         member to each argument value.
48247         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48248         (_print_arg_data): Initialize per-input timing to 0.
48250         * benchtests/Makefile (timing-type): New binary.
48251         (bench-clean): Also remove bench-timing-type.
48252         (bench): New target for timing-type.
48253         (bench-func): Print output in JSON format.
48254         * benchtests/bench-skeleton.c (main): Print output in JSON
48255         format.
48256         * benchtests/bench-timing-type.c: New file.
48257         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48258         (TIMING_PRINT_STATS): Remove.
48259         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48260         name separately.
48262         * benchtests/bench-modf.c: Remove.
48263         * benchtests/modf-inputs: New inputs file.
48265 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #16362]
48268         * math/s_clog10.c (M_PI_LOG10E): New macro.
48269         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48270         imaginary parts are 0.
48271         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48272         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48273         imaginary parts are 0.
48274         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48275         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48276         imaginary parts are 0.
48277         * math/libm-test.inc (clog10_test_data): Update expected results
48278         for when real and imaginary parts are 0.
48280 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48282         * elf/dl-load.c: Finish conversion of __builtin_expect into
48283         __glibc_{un}likely.
48285 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48287         [BZ #16348]
48288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48289         1+x for argument with exponent below -67.
48290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48291         Likewise.
48292         * math/auto-libm-test-in: Add more tests of exp.
48293         * math/auto-libm-test-out: Regenerated.
48295 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48297         [BZ #16759]
48298         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48299         (nscd_getnetgrent): Use it.
48301         [BZ #16760]
48302         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48303         of stpcpy.
48305 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48307         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48308         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48309         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48310         (lll_robust_unlock): Remove out of line section. Use cfi
48311         intrinsics.
48312         (LLL_STUB_UNWIND_INFO*): Remove.
48313         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48314         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48315         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48316         (lll_robust_unlock): Remove out of line section. Use cfi
48317         intrinsics.
48318         (LLL_STUB_UNWIND_INFO*): Remove.
48320 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48322         [BZ #16758]
48323         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48324         blank values.
48326 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48328         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48330 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48332         [BZ #16198]
48333         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48334         fnstenv.
48335         * math/test-fenv-preserve.c: New file.
48336         * math/Makefile (tests): Add test-fenv-preserve.
48338 2014-03-26  Will Newton <will.newton@linaro.org>
48340         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48342 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48344         * scripts/versionlist.awk: Partition the version sets and emit all
48345         GLIBC_* (sorted) before all others (sorted).
48347 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48349         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48350         GLIBC_2.2.5 version.
48352 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48354         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48355         calls.
48357         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48358         previous change.
48360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48362 2014-03-25  Andreas Schwab  <schwab@suse.de>
48364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48365         label to be used after in6ailist is initialized.
48367 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48370         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48372 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48374         [BZ #16357]
48375         [BZ #16599]
48376         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48377         min_plus_half.
48378         (fp_formats): Update initializers.
48379         (init_fp_formats): Initialize new field.
48380         (output_for_one_input_case): Allow underflow for results up to
48381         min_plus_half.
48382         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48383         * math/auto-libm-test-in: Don't mark some underflows from asin and
48384         atanh as spurious.
48385         * math/auto-libm-test-out: Regenerated.
48386         * sysdeps/i386/fpu/libm-test-ulps: Update.
48387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48389 2014-03-25  Andreas Schwab  <schwab@suse.de>
48391         * libio/Makefile (tst-ftell-partial-wide-ENV)
48392         (tst-ftell-active-handler-ENV): Define.
48394 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48396         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48398 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48400         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48402 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48405         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48406         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48408 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48410         [BZ #16634]
48411         * elf/dl-load.c (open_verify): Add mode parameter.
48412         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48413         (open_path): Change from boolean 'secure' to complete flag 'mode'
48414         (_dl_map_object): Adjust.
48415         * elf/Makefile (tests): Add tst-dlopen-aout.
48416         * elf/tst-dlopen-aout.c: New test.
48418 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48420         [BZ #16714]
48421         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48422         (struct stat): Rename member pad0 to __glibc_reserved0.
48424         [BZ #16712]
48425         * sysdeps/s390/s390-32/bits/wordsize.h
48426         (__WORDSIZE32_SIZE_ULONG): New define.
48427         * sysdeps/s390/s390-64/bits/wordsize.h
48428         (__WORDSIZE32_SIZE_ULONG): Likewise.
48429         * sysdeps/generic/stdint.h (SIZE_MAX):
48430         Define as UL if __WORDSIZE32_SIZE_ULONG.
48432         [BZ #16713]
48433         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48434         (__glibc_reserved0): New variable.
48435         (sa_flags): Change type to int.
48437         * posix/Makefile (before-compile): Use += before-compile instead
48438         of a :=.
48440         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48441         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48443 2014-03-20  Andreas Schwab  <schwab@suse.de>
48445         [BZ #16743]
48446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48447         non-matching result from nscd.
48449 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48451         * scripts/bench.py: Moved to ...
48452         * benchtests/scripts/bench.py: ... here.
48453         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48455 2014-03-24  Andreas Schwab  <schwab@suse.de>
48457         [BZ #16002]
48458         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48459         alloca_account and account alloca use for struct in6ailist.
48461 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48463         [BZ #16284]
48464         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48465         rounding mode to recompute results that overflow to infinity or
48466         underflow to zero.
48467         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48468         bug 16284.
48469         * math/auto-libm-test-out: Regenerated.
48470         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48471         (ccosh_test): Likewise.
48472         (csin_test_data): Use plus_oflow.
48473         (csin_test): Use ALL_RM_TEST.
48474         (csinh_test_data): Use plus_oflow.
48475         (csinh_test): Use ALL_RM_TEST.
48476         * sysdeps/i386/fpu/libm-test-ulps: Update.
48477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48479 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48481         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48482         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48483         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48485         [BZ #16731]
48486         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48487         when x - 1 is zero.
48488         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48489         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48490         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48491         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48492         argument is 1.
48493         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48494         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48495         zero.
48496         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48497         * sysdeps/i386/fpu/libm-test-ulps: Update.
48498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48500 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48502         * scripts/bench.pl: Remove file.
48503         * scripts/bench.py: New benchmark script.
48504         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48505         * benchtests/README: Mention python dependency.
48506         * scripts/pylintrc: New file.
48507         * scripts/pylint: New file.
48509         * bits/mathdef.h: Use #ifdef instead of #if.
48510         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48511         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48512         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48513         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48514         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48515         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48517 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48518             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48520         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48522         and strpbrk-ppc64 objects.
48523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48524         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48525         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48526         multiarch strpbrk for POWER7.
48527         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48528         multiarch strpbrk for PPC64.
48529         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48530         ifunc selector.
48531         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48532         strpbrk for POWER7.
48534 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48536         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48537         (atan_test): Likewise.
48538         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48539         (atanh_test): Use ALL_RM_TEST.
48540         (atan2_test_data): Likewise.
48541         (cabs_test): Likewise.
48542         (cacosh_test): Likewise.
48543         (carg_test): Likewise.
48544         (casin_test): Likewise.
48545         (casinh_test): Likewise.
48546         (cbrt_test): Likewise.
48547         (csqrt_test): Likewise.
48548         (erf_test): Likewise.
48549         (erfc_test): Likewise.
48550         (pow10_test): Likewise.
48551         (exp2_test): Likewise.
48552         (hypot_test): Likewise.
48553         (j0_test): Likewise.
48554         (j1_test): Likewise.
48555         (lgamma_test): Likewise.
48556         (gamma_test): Likewise.
48557         (sincos_test): Likewise.
48558         (tanh_test): Likewise.
48559         (y0_test): Likewise.
48560         (y1_test): Likewise.
48561         * sysdeps/i386/fpu/libm-test-ulps: Update.
48562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48564 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48566         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48568         and strcspn-ppc64 objects.
48569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48570         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48571         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48572         multiarch strcspn for POWER7.
48573         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48574         multiarch strcspn for PPC64.
48575         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48576         ifunc selector.
48577         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48578         strcspn for POWER7.
48580 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48582         * math/gen-libm-test.pl (generate_testfile): Expect only function
48583         name as argument to AUTO_TESTS_* and pass results for all rounding
48584         modes to parse_args.
48585         (parse_auto_input): Separate inputs of automatic tests from
48586         outputs before storing in %auto_tests.
48587         * math/libm-test.inc (acos_test_data): Update call to
48588         AUTO_TESTS_f_f.
48589         (acos_test): Use ALL_RM_TEST.
48590         (acos_tonearest_test_data): Remove.
48591         (acos_test_tonearest): Likewise.
48592         (acos_towardzero_test_data): Likewise.
48593         (acos_test_towardzero): Likewise.
48594         (acos_downward_test_data): Likewise.
48595         (acos_test_downward): Likewise.
48596         (acos_upward_test_data): Likewise.
48597         (acos_test_upward): Likewise.
48598         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48599         (asin_test_data): Likewise.
48600         (asin_test): Use ALL_RM_TEST.
48601         (asin_tonearest_test_data): Remove.
48602         (asin_test_tonearest): Likewise.
48603         (asin_towardzero_test_data): Likewise.
48604         (asin_test_towardzero): Likewise.
48605         (asin_downward_test_data): Likewise.
48606         (asin_test_downward): Likewise.
48607         (asin_upward_test_data): Likewise.
48608         (asin_test_upward): Likewise.
48609         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48610         (atan_test_data): Likewise.
48611         (atanh_test_data): Likewise.
48612         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48613         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48614         (carg_test_data): Likewise.
48615         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48616         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48617         (ccosh_test_data): Likewise.
48618         (cexp_test_data): Likewise.
48619         (clog_test_data): Likewise.
48620         (clog10_test_data): Likewise.
48621         (cos_test_data): Update call to AUTO_TESTS_f_f.
48622         (cos_test): Use ALL_RM_TEST.
48623         (cos_tonearest_test_data): Remove.
48624         (cos_test_tonearest): Likewise.
48625         (cos_towardzero_test_data): Likewise.
48626         (cos_test_towardzero): Likewise.
48627         (cos_downward_test_data): Likewise.
48628         (cos_test_downward): Likewise.
48629         (cos_upward_test_data): Likewise.
48630         (cos_test_upward): Likewise.
48631         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48632         (cosh_test): Use ALL_RM_TEST.
48633         (cosh_tonearest_test_data): Remove.
48634         (cosh_test_tonearest): Likewise.
48635         (cosh_towardzero_test_data): Likewise.
48636         (cosh_test_towardzero): Likewise.
48637         (cosh_downward_test_data): Likewise.
48638         (cosh_test_downward): Likewise.
48639         (cosh_upward_test_data): Likewise.
48640         (cosh_test_upward): Likewise.
48641         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48642         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48643         (ctan_test_data): Likewise.
48644         (ctan_test): Use ALL_RM_TEST.
48645         (ctan_tonearest_test_data): Remove.
48646         (ctan_test_tonearest): Likewise.
48647         (ctan_towardzero_test_data): Likewise.
48648         (ctan_test_towardzero): Likewise.
48649         (ctan_downward_test_data): Likewise.
48650         (ctan_test_downward): Likewise.
48651         (ctan_upward_test_data): Likewise.
48652         (ctan_test_upward): Likewise.
48653         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48654         (ctanh_test): Use ALL_RM_TEST.
48655         (ctanh_tonearest_test_data): Remove.
48656         (ctanh_test_tonearest): Likewise.
48657         (ctanh_towardzero_test_data): Likewise.
48658         (ctanh_test_towardzero): Likewise.
48659         (ctanh_downward_test_data): Likewise.
48660         (ctanh_test_downward): Likewise.
48661         (ctanh_upward_test_data): Likewise.
48662         (ctanh_test_upward): Likewise.
48663         (erf_test_data): Update call to AUTO_TESTS_f_f.
48664         (erfc_test_data): Likewise.
48665         (exp_test_data): Likewise.
48666         (exp_test): Use ALL_RM_TEST.
48667         (exp_tonearest_test_data): Remove.
48668         (exp_test_tonearest): Likewise.
48669         (exp_towardzero_test_data): Likewise.
48670         (exp_test_towardzero): Likewise.
48671         (exp_downward_test_data): Likewise.
48672         (exp_test_downward): Likewise.
48673         (exp_upward_test_data): Likewise.
48674         (exp_test_upward): Likewise.
48675         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48676         (exp10_test): Use ALL_RM_TEST.
48677         (exp10_tonearest_test_data): Remove.
48678         (exp10_test_tonearest): Likewise.
48679         (exp10_towardzero_test_data): Likewise.
48680         (exp10_test_towardzero): Likewise.
48681         (exp10_downward_test_data): Likewise.
48682         (exp10_test_downward): Likewise.
48683         (exp10_upward_test_data): Likewise.
48684         (exp10_test_upward): Likewise.
48685         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48686         (expm1_test_data): Likewise.
48687         (expm1_test): Use ALL_RM_TEST.
48688         (expm1_tonearest_test_data): Remove.
48689         (expm1_test_tonearest): Likewise.
48690         (expm1_towardzero_test_data): Likewise.
48691         (expm1_test_towardzero): Likewise.
48692         (expm1_downward_test_data): Likewise.
48693         (expm1_test_downward): Likewise.
48694         (expm1_upward_test_data): Likewise.
48695         (expm1_test_upward): Likewise.
48696         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48697         (fma_test): Use ALL_RM_TEST.
48698         (fma_towardzero_test_data): Remove.
48699         (fma_test_towardzero): Likewise.
48700         (fma_downward_test_data): Likewise.
48701         (fma_test_downward): Likewise.
48702         (fma_upward_test_data): Likewise.
48703         (fma_test_upward): Likewise.
48704         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48705         (j0_test_data): Update call to AUTO_TESTS_f_f.
48706         (j1_test_data): Likewise.
48707         (jn_test_data): Update call to AUTO_TESTS_if_f.
48708         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48709         (log_test_data): Update call to AUTO_TESTS_f_f.
48710         (log10_test_data): Likewise.
48711         (log1p_test_data): Likewise.
48712         (log2_test_data): Likewise.
48713         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48714         (pow_tonearest_test_data): Likewise.
48715         (sin_test_data): Update call to AUTO_TESTS_f_f.
48716         (sin_test): Use ALL_RM_TEST.
48717         (sin_tonearest_test_data): Remove.
48718         (sin_test_tonearest): Likewise.
48719         (sin_towardzero_test_data): Likewise.
48720         (sin_test_towardzero): Likewise.
48721         (sin_downward_test_data): Likewise.
48722         (sin_test_downward): Likewise.
48723         (sin_upward_test_data): Likewise.
48724         (sin_test_upward): Likewise.
48725         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48726         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48727         (sinh_test): Use ALL_RM_TEST.
48728         (sinh_tonearest_test_data): Remove.
48729         (sinh_test_tonearest): Likewise.
48730         (sinh_towardzero_test_data): Likewise.
48731         (sinh_test_towardzero): Likewise.
48732         (sinh_downward_test_data): Likewise.
48733         (sinh_test_downward): Likewise.
48734         (sinh_upward_test_data): Likewise.
48735         (sinh_test_upward): Likewise.
48736         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48737         (sqrt_test): Use ALL_RM_TEST.
48738         (sqrt_tonearest_test_data): Remove.
48739         (sqrt_test_tonearest): Likewise.
48740         (sqrt_towardzero_test_data): Likewise.
48741         (sqrt_test_towardzero): Likewise.
48742         (sqrt_downward_test_data): Likewise.
48743         (sqrt_test_downward): Likewise.
48744         (sqrt_upward_test_data): Likewise.
48745         (sqrt_test_upward): Likewise.
48746         (tan_test_data): Update call to AUTO_TESTS_f_f.
48747         (tan_test): Use ALL_RM_TEST.
48748         (tan_tonearest_test_data): Remove.
48749         (tan_test_tonearest): Likewise.
48750         (tan_towardzero_test_data): Likewise.
48751         (tan_test_towardzero): Likewise.
48752         (tan_downward_test_data): Likewise.
48753         (tan_test_downward): Likewise.
48754         (tan_upward_test_data): Likewise.
48755         (tan_test_upward): Likewise.
48756         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48757         (tgamma_test_data): Likewise.
48758         (y0_test_data): Likewise.
48759         (y1_test_data): Likewise.
48760         (yn_test_data): Update call to AUTO_TESTS_if_f.
48761         (main): Do not call removed functions.
48763 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48765         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48766         (ldexp_test_data): Remove.
48767         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48768         scalbn_test_data.
48769         (scalb_test): Use ALL_RM_TEST.
48771 2014-03-19  Andreas Schwab  <schwab@suse.de>
48773         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48775 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48777         [BZ #16649]
48778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48779         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48780         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48782         (__ASSUME_PREADV): Undefine.
48783         (__ASSUME_PWRITEV): Likewise.
48785 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48787         * bits/mman-linux.h: Add comment about non-Linux use.
48788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48789         bits/mman-linux.h resting place.
48791         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48792         * bits/mman-linux.h: ... here.
48794 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48796         * conform/conformtest.pl: Add standard definition when calling C
48797         preprocessor on data files.
48798         (checknamespace): Remove unused variable.
48800 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48802         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48803         minus_oflow, plus_uflow and minus_uflow in expected results.
48804         * math/libm-test.inc (scalbn_test_data): Add more tests of
48805         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48806         minus_uflow.
48807         (scalbn_test): Use ALL_RM_TEST.
48808         (scalbln_test_data): Add more tests of negative arguments.  Use
48809         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48810         (scalbln_test): Use ALL_RM_TEST.
48812 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48814         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48816 2014-03-18  Will Newton  <will.newton@linaro.org>
48818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48819         inaccurate comment.
48821 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48823         * Makerules [!subdir] (check-abi): Exit with error status if a
48824         test failed.
48826 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48828         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48829         for rint.  Include results for all rounding modes.
48830         (nearbyint_test): Use ALL_RM_TEST.
48831         (rint_test_data): Include all tests used for nearbyint.
48833 2014-03-17  Will Newton  <will.newton@linaro.org>
48835         * nptl/sysdeps/pthread/pthread.h: Revert previous
48836         change.
48838         * sysdeps/generic/ldsodefs.h: Revert previous
48839         change.
48841         * libio/genops.c: Revert previous change.
48842         * libio/libioP.h: Likewise.
48843         * stdio-common/vfprintf.c: Likewise.
48845         * sysdeps/generic/math_private.h: Revert previous
48846         change.
48848         * sysdeps/generic/math_private.h: Check whether
48849         HAVE_RM_CTX is defined with #ifdef rather
48850         than #if.
48852         * argp/argp-fmtstream.h: Check whether
48853         __STRICT_ANSI__ is defined with #ifdef rather
48854         than #if.
48855         * argp/argp.h: Likewise.
48857         * libio/genops.c: Check whether
48858         _IO_JUMPS_OFFSET is defined with #ifdef rather
48859         than #if.
48860         * libio/libioP.h: Likewise.
48861         * stdio-common/vfprintf.c: Likewise.
48863         * sysdeps/generic/ldsodefs.h: Check whether
48864         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48865         than #if.
48867         * nptl/sysdeps/pthread/pthread.h: Check
48868         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48869         its value.
48871 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48873         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48874         setting O_APPEND.
48875         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48876         test case.
48878         [BZ #16680]
48879         * libio/fileops.c (_IO_file_open): Seek to end of file but
48880         don't cache the offset.
48881         (get_file_offset): Remove function.
48882         (do_ftell): Use cached offset when available.
48883         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48884         don't cache the offset.
48885         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48886         case.
48887         (do_one_test): Call it.
48888         (do_ftell_test): Fix up expected old offset for a+ mode.
48889         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48890         available.
48892         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48893         up test status with function return status.
48894         (do_write_test): Likewise.
48895         (do_append_test): Likewise.
48897         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48898         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48899         Remove.
48901 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48903         * math/gen-libm-test.pl (parse_args): Handle results specified for
48904         each rounding mode separately.
48905         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48906         tests and results from lrint_tonearest_test_data,
48907         lrint_towardzero_test_data, lrint_downward_test_data and
48908         lrint_upward_test_data.
48909         (lrint_test): Use ALL_RM_TEST.
48910         (lrint_tonearest_test_data): Remove.
48911         (lrint_test_tonearest): Likewise.
48912         (lrint_towardzero_test_data): Likewise.
48913         (lrint_test_towardzero): Likewise.
48914         (lrint_downward_test_data): Likewise.
48915         (lrint_test_downward): Likewise.
48916         (lrint_upward_test_data): Likewise.
48917         (lrint_test_upward): Likewise.
48918         (llrint_test_data): Merge in per-rounding-mode tests and results
48919         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48920         llrint_downward_test_data and llrint_upward_test_data.
48921         (llrint_test): Use ALL_RM_TEST.
48922         (llrint_tonearest_test_data): Remove.
48923         (llrint_test_tonearest): Likewise.
48924         (llrint_towardzero_test_data): Likewise.
48925         (llrint_test_towardzero): Likewise.
48926         (llrint_downward_test_data): Likewise.
48927         (llrint_test_downward): Likewise.
48928         (llrint_upward_test_data): Likewise.
48929         (llrint_test_upward): Likewise.
48930         (rint_test_data): Merge in per-rounding-mode tests and results
48931         from rint_tonearest_test_data, rint_towardzero_test_data,
48932         rint_downward_test_data and rint_upward_test_data.  Add
48933         per-rounding-mode results for tests not in those arrays.
48934         (rint_test): Use ALL_RM_TEST.
48935         (rint_tonearest_test_data): Remove.
48936         (rint_test_tonearest): Likewise.
48937         (rint_towardzero_test_data): Likewise.
48938         (rint_test_towardzero): Likewise.
48939         (rint_downward_test_data): Likewise.
48940         (rint_test_downward): Likewise.
48941         (rint_upward_test_data): Likewise.
48942         (rint_test_upward): Likewise.
48943         (main): Don't call removed functions.
48945 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48947         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48948         "Compiled on ..." crapola.  It is anti-useful.
48950 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48952         * scripts/evaluate-test.sh: Handle fourth argument to determine
48953         whether test run should stop on failure.
48954         * Makeconfig (stop-on-test-failure): New variable.
48955         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48956         $(stop-on-test-failure).
48957         * Makefile (tests): Give a summary of results from testing and
48958         exit with failure status if they include an ERROR or FAIL.
48959         (xtests): Likewise.
48960         * manual/install.texi (Configuring and compiling): Mention
48961         stop-on-test-failure=y.
48962         * INSTALL: Regenerated.
48964 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48966         * scripts/versionlist.awk: New file.
48967         * Makerules [$(build-shared) = yes]
48968         (postclean-generated): Add Versions.def, not Versions.def.v and
48969         Versions.def.v.i.
48970         ($(common-objpfx)Versions.def.v.i): Target removed.
48971         ($(common-objpfx)Versions.def): New target.
48972         ($(common-objpfx)Versions.all): Depend on that rather that
48973         $(common-objpfx)Versions.def.v.
48974         * Versions.def: File removed.
48976         * Makeconfig (+gccwarn): Add -Wundef.
48977         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48978         a dl-sysdep.h breaking its contract.
48979         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48980         * include/stackinfo.h: New file.
48981         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48982         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48983         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48984         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48985         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48986         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48987         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48988         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48989         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48990         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48991         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48992         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48993         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48994         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48995         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48997 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48999         [BZ #16707]
49000         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49001         implementation.
49002         * math/libm-test.inc (round_test_data): Add more tests.
49004         [BZ #16706]
49005         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49006         implementation.
49007         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49009         [BZ #16701]
49010         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49011         implementation.
49012         * math/libm-test.inc (ceil_test_data): Add more tests.
49014         * math/libm-test.inc (trunc_test_data): Add more tests related to
49015         BZ#16414.
49017 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49019         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49020         with #if rather than #ifdef.
49021         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49023 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49025         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49026         first.  Disable AVX-512 GCC support if assembler doesn't support
49027         it.
49028         * sysdeps/x86_64/configure: Regenerated.
49030 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49032         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49033         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49034         (__old_pthread_attr_setstack): Likewise.
49035         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49036         [!_STACK_GROWS_DOWN]: Likewise.
49038 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49040         * config.make.in (have-bash2): Delete.
49041         * configure.ac (libc_cv_have_bash2): Delete.
49042         * configure: Regenerate.
49043         * elf/Makefile (common-ldd-rewrite): Rename to ...
49044         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49045         (sh-ldd-rewrite): Delete.
49046         (bash-ldd-rewrite): Delete.
49047         (have-bash2): Delete checks.
49048         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49049         ldd-rewrite.
49051         * config.make.in (have-ksh): Delete.
49052         (KSH): Delete.
49053         * configure.ac (libc_cv_have_ksh): Delete.
49054         * configure: Regenerate.
49056         * elf/Makefile: Delete $(have-ksh) check.
49057         ($(objpfx)sotruss): Change KSH to BASH.
49058         * elf/sotruss.ksh: Rename to ...
49059         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49060         function style to match POSIX.  Drop ksh vim mode setting.
49062         * manual/time.texi (Specifying the Time Zone with TZ): Change
49063         Tuesday to Thursday.
49065         * debug/tst-longjmp_chk2.c: Update header comment.
49066         (stackoverflow_handler): Add comment.  Call assert on pass value.
49068 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49070         [BZ #16194]
49071         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49072         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49073         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49074         (La_x86_64_vector): Add zmm.
49075         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49076         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49077         ($(objpfx)tst-audit10): New target.
49078         ($(objpfx)tst-audit10.out): Likewise.
49079         (tst-audit10-ENV): New.
49080         (AVX512-CFLAGS): Likewise.
49081         (CFLAGS-tst-audit10.c): Likewise.
49082         (CFLAGS-tst-auditmod10a.c): Likewise.
49083         (CFLAGS-tst-auditmod10b.c): Likewise.
49084         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49085         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49086         * sysdeps/x86_64/configure: Regenerated.
49087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49088         AVX-512 zmm register support.
49089         (_dl_x86_64_save_sse): Likewise.
49090         (_dl_x86_64_restore_sse): Likewise.
49091         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49092         size vector registers.
49093         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49094         (ZMM_SIZE): Likewise.
49095         * sysdeps/x86_64/tst-audit10.c: New file.
49096         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49097         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49099 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49101         * configure.ac (HAVE_EHDR_START): New check.
49102         * configure: Regenerated.
49103         * config.h.in (HAVE_EHDR_START): New #undef.
49104         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49105         assuming the lowest-addressed segment maps the start of the file.
49107 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49109         * INSTALL: Regenerated.
49111 2014-03-13  Will Newton  <will.newton@linaro.org>
49113         * manual/setjmp.texi (System V contexts): Improve
49114         clarity and grammar of documentation.
49116 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49118         [BZ #16381]
49119         * elf/Makefile (tests): Add tst-pie2.
49120         (tests-pie): Add tst-pie2.
49121         * elf/tst-pie2.c: New file.
49122         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49123         for ET_EXEC.
49124         * elf/rtld.c (map_doit): Load executable as lt_executable.
49125         (dl_main): Likewise.
49127 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49129         [BZ #16642]
49130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49131         (__ASSUME_PSELECT): Undefine.
49133 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49135         [BZ #16689]
49136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49137         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49138         static build.
49139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49140         selector for static builds.
49142 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49144         [BZ #16695]
49145         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49146         key in the buffer.
49148 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49150         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49151         IFUNC selector for static builds.
49153 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49155         * sysdeps/mips/math_private.h [__mips_hard_float]
49156         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49157         libc_feresetround_mips_ctx.
49158         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49159         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49160         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49162         [BZ #16677]
49163         * math/s_nextafter.c (__nextafter): Do not return value from
49164         overflowing computation.
49165         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49166         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49167         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49168         Likewise.
49169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49170         Likewise.
49171         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49172         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49174 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49176         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49177         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49178         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49179         the new mov targetting sp.
49181 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49183         [BZ #16683]
49184         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49185         Define it for static builds as well.
49186         (NO_BZERO_IMPL): Likewise.
49188 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49190         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49191         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49192         multiarch strspn for PPC64.
49193         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49194         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49196         (__libc_ifunc_impl_list): Likewise.
49197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49198         multiarch optimizations
49199         * string/strspn.c (strspn): Using macro to redefine symbol name.
49201 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49204         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49205         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49206         multiarch strncat for PPC64.
49207         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49208         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49210         (__libc_ifunc_impl_list): Likewise.
49211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49212         multiarch optimizations
49214 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49216         [BZ #16639]
49217         * nscd/nscd.service: Make service type forking.
49219 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49221         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49222         sign in non default rounding modes.
49223         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49225 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49227         * math/libm-test.inc (ALL_RM_TEST): New macro.
49228         (ceil_test): Use ALL_RM_TEST.
49229         (cimag_test): Likewise.
49230         (conj_test): Likewise.
49231         (copysign_test): Likewise.
49232         (cproj_test): Likewise.
49233         (creal_test): Likewise.
49234         (fabs_test): Likewise.
49235         (floor_test): Likewise.
49236         (fmax_test): Likewise.
49237         (fmin_test): Likewise.
49238         (fmod_test): Likewise.
49239         (fpclassify_test): Likewise.
49240         (frexp_test): Likewise.
49241         (ilogb_test): Likewise.
49242         (isfinite_test): Likewise.
49243         (finite_test): Likewise.
49244         (isgreater_test): Likewise.
49245         (isgreaterequal_test): Likewise.
49246         (isinf_test): Likewise.
49247         (isless_test): Likewise.
49248         (islessequal_test): Likewise.
49249         (islessgreater_test): Likewise.
49250         (isnan_test): Likewise.
49251         (isnormal_test): Likewise.
49252         (issignaling_test): Likewise.
49253         (isunordered_test): Likewise.
49254         (logb_test): Likewise.
49255         (logb_downward_test_data): Remove.
49256         (logb_test_downward): Likewise.
49257         (lround_test): Use ALL_RM_TEST.
49258         (llround_test): Likewise.
49259         (modf_test): Likewise.
49260         (nexttoward_test): Likewise.
49261         (remainder_test): Likewise.
49262         (drem_test): Likewise.
49263         (remainder_tonearest_test_data): Likewise.
49264         (remainder_test_tonearest): Likewise.
49265         (drem_test_tonearest): Likewise.
49266         (remainder_towardzero_test_data): Likewise.
49267         (remainder_test_towardzero): Likewise.
49268         (drem_test_towardzero): Likewise.
49269         (remainder_downward_test_data): Likewise.
49270         (remainder_test_downward): Likewise.
49271         (drem_test_downward): Likewise.
49272         (remainder_upward_test_data): Likewise.
49273         (remainder_test_upward): Likewise.
49274         (drem_test_upward): Likewise.
49275         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49276         (round_test): Use ALL_RM_TEST.
49277         (signbit_test): Likewise.
49278         (trunc_test): Likewise.
49279         (significand_test): Likewise.
49280         (main): Don't call removed functions.
49282 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49284         [BZ #16674]
49285         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49286         || __USE_XOPEN2K8].
49287         (ILL_ILLOPN): Likewise.
49288         (ILL_ILLADR): Likewise.
49289         (ILL_ILLTRP): Likewise.
49290         (ILL_PRVOPC): Likewise.
49291         (ILL_PRVREG): Likewise.
49292         (ILL_COPROC): Likewise.
49293         (ILL_BADSTK): Likewise.
49294         (FPE_INTDIV): Likewise.
49295         (FPE_INTOVF): Likewise.
49296         (FPE_FLTDIV): Likewise.
49297         (FPE_FLTOVF): Likewise.
49298         (FPE_FLTUND): Likewise.
49299         (FPE_FLTRES): Likewise.
49300         (FPE_FLTINV): Likewise.
49301         (FPE_FLTSUB): Likewise.
49302         (SEGV_MAPERR): Likewise.
49303         (SEGV_ACCERR): Likewise.
49304         (BUS_ADRALN): Likewise.
49305         (BUS_ADRERR): Likewise.
49306         (BUS_OBJERR): Likewise.
49307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49308         (TRAP_TRACE): Likewise.
49309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49310         __USE_XOPEN2K8].
49311         (CLD_KILLED): Likewise.
49312         (CLD_DUMPED): Likewise.
49313         (CLD_TRAPPED): Likewise.
49314         (CLD_STOPPED): Likewise.
49315         (CLD_CONTINUED): Likewise.
49316         (POLL_IN): Likewise.
49317         (POLL_OUT): Likewise.
49318         (POLL_MSG): Likewise.
49319         (POLL_ERR): Likewise.
49320         (POLL_PRI): Likewise.
49321         (POLL_HUP): Likewise.
49322         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49323         Likewise.
49324         (ILL_ILLOPN): Likewise.
49325         (ILL_ILLADR): Likewise.
49326         (ILL_ILLTRP): Likewise.
49327         (ILL_PRVOPC): Likewise.
49328         (ILL_PRVREG): Likewise.
49329         (ILL_COPROC): Likewise.
49330         (ILL_BADSTK): Likewise.
49331         (FPE_INTDIV): Likewise.
49332         (FPE_INTOVF): Likewise.
49333         (FPE_FLTDIV): Likewise.
49334         (FPE_FLTOVF): Likewise.
49335         (FPE_FLTUND): Likewise.
49336         (FPE_FLTRES): Likewise.
49337         (FPE_FLTINV): Likewise.
49338         (FPE_FLTSUB): Likewise.
49339         (SEGV_MAPERR): Likewise.
49340         (SEGV_ACCERR): Likewise.
49341         (BUS_ADRALN): Likewise.
49342         (BUS_ADRERR): Likewise.
49343         (BUS_OBJERR): Likewise.
49344         (BUS_MCEERR_AR): Likewise.
49345         (BUS_MCEERR_AO): Likewise.
49346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49347         (TRAP_TRACE): Likewise.
49348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49349         __USE_XOPEN2K8].
49350         (CLD_KILLED): Likewise.
49351         (CLD_DUMPED): Likewise.
49352         (CLD_TRAPPED): Likewise.
49353         (CLD_STOPPED): Likewise.
49354         (CLD_CONTINUED): Likewise.
49355         (POLL_IN): Likewise.
49356         (POLL_OUT): Likewise.
49357         (POLL_MSG): Likewise.
49358         (POLL_ERR): Likewise.
49359         (POLL_PRI): Likewise.
49360         (POLL_HUP): Likewise.
49361         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49362         (ILL_ILLOPN): Likewise.
49363         (ILL_ILLADR): Likewise.
49364         (ILL_ILLTRP): Likewise.
49365         (ILL_PRVOPC): Likewise.
49366         (ILL_PRVREG): Likewise.
49367         (ILL_COPROC): Likewise.
49368         (ILL_BADSTK): Likewise.
49369         (FPE_INTDIV): Likewise.
49370         (FPE_INTOVF): Likewise.
49371         (FPE_FLTDIV): Likewise.
49372         (FPE_FLTOVF): Likewise.
49373         (FPE_FLTUND): Likewise.
49374         (FPE_FLTRES): Likewise.
49375         (FPE_FLTINV): Likewise.
49376         (FPE_FLTSUB): Likewise.
49377         (SEGV_MAPERR): Likewise.
49378         (SEGV_ACCERR): Likewise.
49379         (BUS_ADRALN): Likewise.
49380         (BUS_ADRERR): Likewise.
49381         (BUS_OBJERR): Likewise.
49382         (BUS_MCEERR_AR): Likewise.
49383         (BUS_MCEERR_AO): Likewise.
49384         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49385         (TRAP_TRACE): Likewise.
49386         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49387         __USE_XOPEN2K8].
49388         (CLD_KILLED): Likewise.
49389         (CLD_DUMPED): Likewise.
49390         (CLD_TRAPPED): Likewise.
49391         (CLD_STOPPED): Likewise.
49392         (CLD_CONTINUED): Likewise.
49393         (POLL_IN): Likewise.
49394         (POLL_OUT): Likewise.
49395         (POLL_MSG): Likewise.
49396         (POLL_ERR): Likewise.
49397         (POLL_PRI): Likewise.
49398         (POLL_HUP): Likewise.
49399         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49400         Likewise.
49401         (ILL_ILLOPN): Likewise.
49402         (ILL_ILLADR): Likewise.
49403         (ILL_ILLTRP): Likewise.
49404         (ILL_PRVOPC): Likewise.
49405         (ILL_PRVREG): Likewise.
49406         (ILL_COPROC): Likewise.
49407         (ILL_BADSTK): Likewise.
49408         (ILL_BADIADDR): Likewise.
49409         (ILL_BREAK): Likewise.
49410         (FPE_INTDIV): Likewise.
49411         (FPE_INTOVF): Likewise.
49412         (FPE_FLTDIV): Likewise.
49413         (FPE_FLTOVF): Likewise.
49414         (FPE_FLTUND): Likewise.
49415         (FPE_FLTRES): Likewise.
49416         (FPE_FLTINV): Likewise.
49417         (FPE_FLTSUB): Likewise.
49418         (FPE_DECOVF): Likewise.
49419         (FPE_DECDIV): Likewise.
49420         (FPE_DECERR): Likewise.
49421         (FPE_INVASC): Likewise.
49422         (FPE_INVDEC): Likewise.
49423         (SEGV_MAPERR): Likewise.
49424         (SEGV_ACCERR): Likewise.
49425         (SEGV_PSTKOVF): Likewise.
49426         (BUS_ADRALN): Likewise.
49427         (BUS_ADRERR): Likewise.
49428         (BUS_OBJERR): Likewise.
49429         (BUS_MCEERR_AR): Likewise.
49430         (BUS_MCEERR_AO): Likewise.
49431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49432         (TRAP_TRACE): Likewise.
49433         (TRAP_BRANCH): Likewise.
49434         (TRAP_HWBKPT): Likewise.
49435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49436         __USE_XOPEN2K8].
49437         (CLD_KILLED): Likewise.
49438         (CLD_DUMPED): Likewise.
49439         (CLD_TRAPPED): Likewise.
49440         (CLD_STOPPED): Likewise.
49441         (CLD_CONTINUED): Likewise.
49442         (POLL_IN): Likewise.
49443         (POLL_OUT): Likewise.
49444         (POLL_MSG): Likewise.
49445         (POLL_ERR): Likewise.
49446         (POLL_PRI): Likewise.
49447         (POLL_HUP): Likewise.
49448         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49449         (ILL_ILLOPN): Likewise.
49450         (ILL_ILLADR): Likewise.
49451         (ILL_ILLTRP): Likewise.
49452         (ILL_PRVOPC): Likewise.
49453         (ILL_PRVREG): Likewise.
49454         (ILL_COPROC): Likewise.
49455         (ILL_BADSTK): Likewise.
49456         (FPE_INTDIV): Likewise.
49457         (FPE_INTOVF): Likewise.
49458         (FPE_FLTDIV): Likewise.
49459         (FPE_FLTOVF): Likewise.
49460         (FPE_FLTUND): Likewise.
49461         (FPE_FLTRES): Likewise.
49462         (FPE_FLTINV): Likewise.
49463         (FPE_FLTSUB): Likewise.
49464         (SEGV_MAPERR): Likewise.
49465         (SEGV_ACCERR): Likewise.
49466         (BUS_ADRALN): Likewise.
49467         (BUS_ADRERR): Likewise.
49468         (BUS_OBJERR): Likewise.
49469         (BUS_MCEERR_AR): Likewise.
49470         (BUS_MCEERR_AO): Likewise.
49471         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49472         (TRAP_TRACE): Likewise.
49473         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49474         __USE_XOPEN2K8].
49475         (CLD_KILLED): Likewise.
49476         (CLD_DUMPED): Likewise.
49477         (CLD_TRAPPED): Likewise.
49478         (CLD_STOPPED): Likewise.
49479         (CLD_CONTINUED): Likewise.
49480         (POLL_IN): Likewise.
49481         (POLL_OUT): Likewise.
49482         (POLL_MSG): Likewise.
49483         (POLL_ERR): Likewise.
49484         (POLL_PRI): Likewise.
49485         (POLL_HUP): Likewise.
49486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49487         (ILL_ILLOPN): Likewise.
49488         (ILL_ILLADR): Likewise.
49489         (ILL_ILLTRP): Likewise.
49490         (ILL_PRVOPC): Likewise.
49491         (ILL_PRVREG): Likewise.
49492         (ILL_COPROC): Likewise.
49493         (ILL_BADSTK): Likewise.
49494         (FPE_INTDIV): Likewise.
49495         (FPE_INTOVF): Likewise.
49496         (FPE_FLTDIV): Likewise.
49497         (FPE_FLTOVF): Likewise.
49498         (FPE_FLTUND): Likewise.
49499         (FPE_FLTRES): Likewise.
49500         (FPE_FLTINV): Likewise.
49501         (FPE_FLTSUB): Likewise.
49502         (SEGV_MAPERR): Likewise.
49503         (SEGV_ACCERR): Likewise.
49504         (BUS_ADRALN): Likewise.
49505         (BUS_ADRERR): Likewise.
49506         (BUS_OBJERR): Likewise.
49507         (BUS_MCEERR_AR): Likewise.
49508         (BUS_MCEERR_AO): Likewise.
49509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49510         (TRAP_TRACE): Likewise.
49511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49512         __USE_XOPEN2K8].
49513         (CLD_KILLED): Likewise.
49514         (CLD_DUMPED): Likewise.
49515         (CLD_TRAPPED): Likewise.
49516         (CLD_STOPPED): Likewise.
49517         (CLD_CONTINUED): Likewise.
49518         (POLL_IN): Likewise.
49519         (POLL_OUT): Likewise.
49520         (POLL_MSG): Likewise.
49521         (POLL_ERR): Likewise.
49522         (POLL_PRI): Likewise.
49523         (POLL_HUP): Likewise.
49524         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49525         (ILL_ILLOPN): Likewise.
49526         (ILL_ILLADR): Likewise.
49527         (ILL_ILLTRP): Likewise.
49528         (ILL_PRVOPC): Likewise.
49529         (ILL_PRVREG): Likewise.
49530         (ILL_COPROC): Likewise.
49531         (ILL_BADSTK): Likewise.
49532         (FPE_INTDIV): Likewise.
49533         (FPE_INTOVF): Likewise.
49534         (FPE_FLTDIV): Likewise.
49535         (FPE_FLTOVF): Likewise.
49536         (FPE_FLTUND): Likewise.
49537         (FPE_FLTRES): Likewise.
49538         (FPE_FLTINV): Likewise.
49539         (FPE_FLTSUB): Likewise.
49540         (SEGV_MAPERR): Likewise.
49541         (SEGV_ACCERR): Likewise.
49542         (BUS_ADRALN): Likewise.
49543         (BUS_ADRERR): Likewise.
49544         (BUS_OBJERR): Likewise.
49545         (BUS_MCEERR_AR): Likewise.
49546         (BUS_MCEERR_AO): Likewise.
49547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49548         (TRAP_TRACE): Likewise.
49549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49550         __USE_XOPEN2K8].
49551         (CLD_KILLED): Likewise.
49552         (CLD_DUMPED): Likewise.
49553         (CLD_TRAPPED): Likewise.
49554         (CLD_STOPPED): Likewise.
49555         (CLD_CONTINUED): Likewise.
49556         (POLL_IN): Likewise.
49557         (POLL_OUT): Likewise.
49558         (POLL_MSG): Likewise.
49559         (POLL_ERR): Likewise.
49560         (POLL_PRI): Likewise.
49561         (POLL_HUP): Likewise.
49562         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49563         (ILL_ILLOPN): Likewise.
49564         (ILL_ILLADR): Likewise.
49565         (ILL_ILLTRP): Likewise.
49566         (ILL_PRVOPC): Likewise.
49567         (ILL_PRVREG): Likewise.
49568         (ILL_COPROC): Likewise.
49569         (ILL_BADSTK): Likewise.
49570         (ILL_DBLFLT): Likewise.
49571         (ILL_HARDWALL): Likewise.
49572         (FPE_INTDIV): Likewise.
49573         (FPE_INTOVF): Likewise.
49574         (FPE_FLTDIV): Likewise.
49575         (FPE_FLTOVF): Likewise.
49576         (FPE_FLTUND): Likewise.
49577         (FPE_FLTRES): Likewise.
49578         (FPE_FLTINV): Likewise.
49579         (FPE_FLTSUB): Likewise.
49580         (SEGV_MAPERR): Likewise.
49581         (SEGV_ACCERR): Likewise.
49582         (BUS_ADRALN): Likewise.
49583         (BUS_ADRERR): Likewise.
49584         (BUS_OBJERR): Likewise.
49585         (BUS_MCEERR_AR): Likewise.
49586         (BUS_MCEERR_AO): Likewise.
49587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49588         (TRAP_TRACE): Likewise.
49589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49590         __USE_XOPEN2K8].
49591         (CLD_KILLED): Likewise.
49592         (CLD_DUMPED): Likewise.
49593         (CLD_TRAPPED): Likewise.
49594         (CLD_STOPPED): Likewise.
49595         (CLD_CONTINUED): Likewise.
49596         (POLL_IN): Likewise.
49597         (POLL_OUT): Likewise.
49598         (POLL_MSG): Likewise.
49599         (POLL_ERR): Likewise.
49600         (POLL_PRI): Likewise.
49601         (POLL_HUP): Likewise.
49602         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49603         (ILL_ILLOPN): Likewise.
49604         (ILL_ILLADR): Likewise.
49605         (ILL_ILLTRP): Likewise.
49606         (ILL_PRVOPC): Likewise.
49607         (ILL_PRVREG): Likewise.
49608         (ILL_COPROC): Likewise.
49609         (ILL_BADSTK): Likewise.
49610         (FPE_INTDIV): Likewise.
49611         (FPE_INTOVF): Likewise.
49612         (FPE_FLTDIV): Likewise.
49613         (FPE_FLTOVF): Likewise.
49614         (FPE_FLTUND): Likewise.
49615         (FPE_FLTRES): Likewise.
49616         (FPE_FLTINV): Likewise.
49617         (FPE_FLTSUB): Likewise.
49618         (SEGV_MAPERR): Likewise.
49619         (SEGV_ACCERR): Likewise.
49620         (BUS_ADRALN): Likewise.
49621         (BUS_ADRERR): Likewise.
49622         (BUS_OBJERR): Likewise.
49623         (BUS_MCEERR_AR): Likewise.
49624         (BUS_MCEERR_AO): Likewise.
49625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49626         (TRAP_TRACE): Likewise.
49627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49628         __USE_XOPEN2K8].
49629         (CLD_KILLED): Likewise.
49630         (CLD_DUMPED): Likewise.
49631         (CLD_TRAPPED): Likewise.
49632         (CLD_STOPPED): Likewise.
49633         (CLD_CONTINUED): Likewise.
49634         (POLL_IN): Likewise.
49635         (POLL_OUT): Likewise.
49636         (POLL_MSG): Likewise.
49637         (POLL_ERR): Likewise.
49638         (POLL_PRI): Likewise.
49639         (POLL_HUP): Likewise.
49640         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49641         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49643         [BZ #16670]
49644         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49645         before #include of <time.h>.
49646         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49647         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49648         (test-xfail-UNIX98/sched.h/conform): Likewise.
49650 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49652         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49653         error absence of trapping exception support.
49654         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49656 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49658         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49659         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49660         * timezone/Makefile (testdata): Move definition above include of
49661         Rules.
49662         (test-zones): New variable.
49663         (tests-special): Add zone files.
49664         (build-testdata): Use $(evaluate-test).
49666         * elf/Makefile (tests-special): Rename tests to end with .out.
49667         ($(objpfx)noload-mem): Likewise.
49668         ($(objpfx)tst-leaks1-mem): Likewise.
49669         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49670         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49671         $(objpfx)test-iconvconfig.out.
49672         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49673         set -e inside subshell and redirect output to file.
49674         * iconvdata/Makefile (generated): Rename tests to end with .out.
49675         Correct type.
49676         (tests-special): Rename tests to end with .out.
49677         ($(objpfx)mtrace-tst-loading): Likewise.
49678         * intl/Makefile (generated): Likewise.
49679         (tests-special): Likewise.
49680         ($(objpfx)mtrace-tst-gettext): Likewise.
49681         * misc/Makefile (generated): Likewise.
49682         (tests-special): Likewise.
49683         ($(objpfx)tst-error1-mem): Likewise.
49684         * nptl/Makefile (tests-special): Likewise.
49685         ($(objpfx)tst-stack3-mem): Likewise.
49686         (generated): Likewise.
49687         * posix/Makefile (generated): Likewise.
49688         (tests-special): Likewise.
49689         (xtests-special): Likewise.
49690         ($(objpfx)tst-fnmatch-mem): Likewise.
49691         ($(objpfx)bug-regex2-mem): Likewise.
49692         ($(objpfx)bug-regex14-mem): Likewise.
49693         ($(objpfx)bug-regex21-mem): Likewise.
49694         ($(objpfx)bug-regex31-mem): Likewise.
49695         ($(objpfx)tst-vfork3-mem): Likewise.
49696         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49697         ($(objpfx)tst-pcre-mem): Likewise.
49698         ($(objpfx)tst-boost-mem): Likewise.
49699         ($(objpfx)bug-ga2-mem): Likewise.
49700         ($(objpfx)bug-glob2-mem): Likewise.
49701         * resolv/Makefile (generate): Likewise.
49702         (tests-special): Likewise.
49703         (xtests-special): Likewise.
49704         (generated): Likewise.
49705         ($(objpfx)mtrace-tst-leaks): Likewise.
49706         ($(objpfx)mtrace-tst-leaks2): Likewise.
49708         * scripts/merge-test-results.sh: New file.
49709         * Makefile (tests-special-notdir): New variable.
49710         (tests): Run merge-test-results.sh.
49711         (xtests): Likewise.
49712         * Rules (tests-special-notdir): New variable.
49713         (xtests-special-notdir): Likewise.
49714         (tests): Run merge-test-results.sh
49715         (xtests): Likewise.
49717         * Makeconfig (test-xfail-name): New variable.
49718         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49719         compute variable name for expected failures.
49720         * conform/Makefile (conformtest-headers-data): New variable.
49721         (conformtest-standards): Likewise.
49722         (conformtest-headers-ISO): Likewise.
49723         (conformtest-headers-ISO99): Likewise.
49724         (conformtest-headers-ISO11): Likewise.
49725         (conformtest-headers-POSIX): Likewise.
49726         (conformtest-headers-XPG3): Likewise.
49727         (conformtest-headers-XPG4): Likewise.
49728         (conformtest-headers-UNIX98): Likewise.
49729         (conformtest-headers-XOPEN2K): Likewise.
49730         (conformtest-headers-POSIX2008): Likewise.
49731         (conformtest-headers-XOPEN2K8): Likewise.
49732         (conformtest-header-list-base): Likewise.
49733         (conformtest-header-list-tests): Likewise.
49734         (conformtest-header-base): Likewise.
49735         (conformtest-header-tests): Likewise.
49736         (tests-special): Add $(conformtest-header-list-tests).  If
49737         [$(fast-check) && !$(cross-compiling)], add
49738         $(conformtest-header-tests) instead of
49739         $(objpfx)run-conformtest.out.
49740         (generated): Add $(conformtest-header-list-base).  If
49741         [$(fast-check) && !$(cross-compiling)], add
49742         $(conformtest-header-base).  Remove previous setting.
49743         ($(conformtest-header-list-tests)): New target.
49744         (test-xfail-run-conformtest): Remove variable.
49745         ($(objpfx)run-conformtest.out): Remove target.
49746         (test-xfail-ISO11/complex.h/conform): New variable.
49747         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49748         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49749         (test-xfail-XPG3/varargs.h/conform): Likewise.
49750         (test-xfail-XPG4/varargs.h/conform): Likewise.
49751         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49752         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49753         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49754         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49755         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49756         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49757         (test-xfail-XPG3/ftw.h/conform): Likewise.
49758         (test-xfail-XPG3/grp.h/conform): Likewise.
49759         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49760         (test-xfail-XPG3/limits.h/conform): Likewise.
49761         (test-xfail-XPG3/pwd.h/conform): Likewise.
49762         (test-xfail-XPG3/search.h/conform): Likewise.
49763         (test-xfail-XPG3/signal.h/conform): Likewise.
49764         (test-xfail-XPG3/stdio.h/conform): Likewise.
49765         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49766         (test-xfail-XPG3/string.h/conform): Likewise.
49767         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49768         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49769         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49770         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49771         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49772         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49773         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49774         (test-xfail-XPG3/termios.h/conform): Likewise.
49775         (test-xfail-XPG3/time.h/conform): Likewise.
49776         (test-xfail-XPG3/unistd.h/conform): Likewise.
49777         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49778         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49779         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49780         (test-xfail-XPG4/netdb.h/conform): Likewise.
49781         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49782         (test-xfail-XPG4/signal.h/conform): Likewise.
49783         (test-xfail-XPG4/stdio.h/conform): Likewise.
49784         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49785         (test-xfail-XPG4/stropts.h/conform): Likewise.
49786         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49787         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49788         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49789         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49790         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49791         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49792         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49793         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49794         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49795         (test-xfail-XPG4/termios.h/conform): Likewise.
49796         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49797         (test-xfail-XPG4/unistd.h/conform): Likewise.
49798         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49799         (test-xfail-POSIX/sched.h/conform): Likewise.
49800         (test-xfail-POSIX/signal.h/conform): Likewise.
49801         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49802         (test-xfail-POSIX/tar.h/conform): Likewise.
49803         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49804         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49805         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49806         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49807         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49808         (test-xfail-UNIX98/sched.h/conform): Likewise.
49809         (test-xfail-UNIX98/signal.h/conform): Likewise.
49810         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49811         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49812         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49813         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49814         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49815         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49816         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49817         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49818         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49819         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49820         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49821         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49822         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49823         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49824         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49825         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49826         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49827         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49828         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49829         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49830         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49831         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49832         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49833         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49834         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49835         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49836         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49837         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49838         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49839         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49840         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49841         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49842         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49843         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49844         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49845         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49846         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49847         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49848         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49849         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49850         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49851         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49852         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49853         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49854         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49855         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49856         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49857         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49858         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49859         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49860         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49861         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49862         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49863         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49864         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49865         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49866         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49867         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49868         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49869         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49870         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49871         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49872         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49873         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49874         (conformtest-cc-flags): Likewise.
49875         ($(conformtest-header-tests): New target.
49876         * conform/check-header-lists.sh: New file.
49877         * conform/run-conformtest.sh: Remove.
49879         * conform/conformtest.pl: Allow ' and \ in values given for
49880         constants.
49881         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49882         inclusion.
49883         [POSIX] (sys/types.h): Likewise.
49884         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49885         inclusion.
49886         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49887         inclusion.
49888         * conform/data/signal.h-data (SIGIO): Remove expectation.
49889         [XPG3] (SIGBUS): Do not expect.
49890         [POSIX || XPG3] (SIGPOLL): Likewise.
49891         [POSIX || XPG3] (SIGPROF): Likewise.
49892         [POSIX || XPG3] (SIGSYS): Likewise.
49893         [XPG3] (SIGTRAP): Likewise.
49894         [POSIX || XPG3] (SIGURG): Likewise.
49895         [POSIX || XPG3] (SIGVTALRM): Likewise.
49896         [POSIX || XPG3] (SIGXCPU): Likewise.
49897         [POSIX || XPG3] (SIGXFSZ): Likewise.
49898         [POSIX] (SA_SIGINFO): Expect.
49899         [XPG3] (siginfo_t): Do not expect type or contents.
49900         [POSIX] (si_pid): Do not expect element.
49901         [POSIX] (si_uid): Likewise.
49902         [POSIX] (si_addr): Likewise.
49903         [POSIX] (si_status): Likewise.
49904         [POSIX] (si_band): Likewise.
49905         [XPG4] (si_value): Likewise.
49906         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49907         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49908         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49909         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49910         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49911         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49912         [POSIX || XPG3] (ILL_COPROC): Likewise.
49913         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49914         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49915         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49916         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49917         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49918         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49919         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49920         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49921         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49922         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49923         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49924         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49925         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49926         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49927         [POSIX || XPG3] (CLD_EXITED): Likewise.
49928         [POSIX || XPG3] (CLD_KILLED): Likewise.
49929         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49930         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49931         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49932         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49933         [POSIX || XPG3] (POLL_IN): Likewise.
49934         [POSIX || XPG3] (POLL_OUT): Likewise.
49935         [POSIX || XPG3] (POLL_MSG): Likewise.
49936         [POSIX || XPG3] (POLL_ERR): Likewise.
49937         [POSIX || XPG3] (POLL_PRI): Likewise.
49938         [POSIX || XPG3] (POLL_HUP): Likewise.
49939         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49940         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49941         (SIG*): Do not allow.
49942         [XPG3] (si_*): Likewise.
49943         [XPG3] (SI_*): Likewise.
49944         [XPG3 || XPG4] (sigev_*): Likewise.
49945         [XPG3 || XPG4] (SIGEV_*): Likewise.
49946         [XPG3 || XPG4] (sival_*): Likewise.
49947         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49948         [POSIX || XPG3] (BUS_*): Likewise.
49949         [POSIX || XPG3] (CLD_*): Likewise.
49950         [POSIX || XPG3] (FPE_*): Likewise.
49951         [POSIX || XPG3] (ILL_*): Likewise.
49952         [POSIX || XPG3] (POLL_*): Likewise.
49953         [POSIX || XPG3] (SEGV_*): Likewise.
49954         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49955         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49956         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49957         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49958         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49959         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49960         Specify type and value.
49961         (TVERSLEN): Likewise.
49962         (REGTYPE): Likewise.
49963         (AREGTYPE): Likewise.
49964         (LNKTYPE): Likewise.
49965         (SYMTYPE): Likewise.
49966         (CHRTYPE): Likewise.
49967         (BLKTYPE): Likewise.
49968         (DIRTYPE): Likewise.
49969         (FIFOTYPE): Likewise.
49970         (CONTTYPE): Likewise.
49971         (TSUID): Likewise.
49972         (TSGID): Likewise.
49973         (TSVTX): Likewise.
49974         (TUREAD): Likewise.
49975         (TUWRITE): Likewise.
49976         (TUEXEC): Likewise.
49977         (TGREAD): Likewise.
49978         (TGWRITE): Likewise.
49979         (TGEXEC): Likewise.
49980         (TOREAD): Likewise.
49981         (TOWRITE): Likewise.
49982         (TOEXEC): Likewise.
49983         [POSIX] (TSVTX): Expect constant.
49985 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49987         * Makefile (tests): Change dependencies to ....
49988         (tests-special): ... additions to this variable.
49989         (tests): Depend on $(tests-special).
49990         * Makerules (check-abi-list): New variable.
49991         (check-abi): Depend on $(check-abi-list).
49992         [$(subdir) = elf] (tests-special): Add
49993         $(objpfx)check-abi-libc.out.
49994         [$(build-shared) = yes && subdir] (tests-special): Add
49995         $(check-abi-list).
49996         [$(build-shared) = yes && subdir] (tests): Do not depend on
49997         check-abi.
49998         * Rules (tests): Depend on $(tests-special).
49999         (xtests): Depend on $(xtests-special).
50000         * catgets/Makefile (tests): Change dependencies to ....
50001         (tests-special): ... additions to this variable.
50002         * conform/Makefile (tests): Change dependencies to ....
50003         (tests-special): ... additions to this variable.
50004         * elf/Makefile (tests): Change dependencies to ....
50005         (tests-special): ... additions to this variable.
50006         * grp/Makefile (tests): Change dependencies to ....
50007         (tests-special): ... additions to this variable.
50008         * iconv/Makefile (xtests): Change dependencies to ....
50009         (xtests-special): ... additions to this variable.
50010         * iconvdata/Makefile (tests): Change dependencies to ....
50011         (tests-special): ... additions to this variable.
50012         * intl/Makefile (tests): Change dependencies to ....
50013         (tests-special): ... additions to this variable.  Also add
50014         $(objpfx)tst-gettext.out.
50015         * io/Makefile (tests): Change dependencies to ....
50016         (tests-special): ... additions to this variable.
50017         * libio/Makefile (tests): Change dependencies to ....
50018         (tests-special): ... additions to this variable.
50019         * malloc/Makefile (tests): Change dependencies to ....
50020         (tests-special): ... additions to this variable.
50021         * misc/Makefile (tests): Change dependencies to ....
50022         (tests-special): ... additions to this variable.
50023         * nptl/Makefile (tests): Change dependencies to ....
50024         (tests-special): ... additions to this variable.
50025         * nptl_db/Makefile (tests): Change dependencies to ....
50026         (tests-special): ... additions to this variable.
50027         * posix/Makefile (tests): Change dependencies to ....
50028         (tests-special): ... additions to this variable.
50029         (xtests): Change dependencies to ....
50030         (xtests-special): ... additions to this variable.
50031         * resolv/Makefile (tests): Change dependencies to ....
50032         (tests-special): ... additions to this variable.
50033         (xtests): Change dependencies to ....
50034         (xtests-special): ... additions to this variable.
50035         * stdio-common/Makefile (tests): Change dependencies to ....
50036         (tests-special): ... additions to this variable.
50037         (do-tst-unbputc): Remove target.
50038         (do-tst-printf): Likewise.
50039         * stdlib/Makefile (tests): Change dependencies to ....
50040         (tests-special): ... additions to this variable.
50041         * string/Makefile (tests): Change dependencies to ....
50042         (tests-special): ... additions to this variable.
50043         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50044         (tests-special): ... additions to this variable.
50046         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50047         whole file.
50048         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50049         whole file.
50050         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50051         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50053         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50054         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50055         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50056         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50057         * conform/data/libgen.h-data [XPG3]: Likewise.
50058         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50059         * conform/data/ndbm.h-data [XPG3]: Likewise.
50060         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50061         * conform/data/netdb.h-data [XPG3]: Likewise.
50062         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50063         * conform/data/poll.h-data [XPG3]: Likewise.
50064         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50065         * conform/data/strings.h-data [XPG3]: Likewise.
50066         * conform/data/stropts.h-data [XPG3]: Likewise.
50067         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50068         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50069         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50070         Likewise.
50071         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50072         * conform/data/sys/time.h-data [XPG3]: Likewise.
50073         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50074         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50075         * conform/data/sys/un.h-data [XPG3]: Likewise.
50076         * conform/data/syslog.h-data [XPG3]: Likewise.
50077         * conform/data/ucontext.h-data [XPG3]: Likewise.
50078         * conform/data/utmpx.h-data [XPG3]: Likewise.
50079         * conform/data/varargs.h-data [UNIX98]: Enable file.
50081         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50083         * math/libm-test.inc (struct test_f_f_data): Move expected results
50084         into structure for each rounding mode.
50085         (struct test_ff_f_data): Likewise.
50086         (struct test_ff_f_data_nexttoward): Likewise.
50087         (struct test_fi_f_data): Likewise.
50088         (struct test_fl_f_data): Likewise.
50089         (struct test_if_f_data): Likewise.
50090         (struct test_fff_f_data): Likewise.
50091         (struct test_c_f_data): Likewise.
50092         (struct test_f_f1_data): Likewise.
50093         (struct test_fF_f1_data): Likewise.
50094         (struct test_ffI_f1_data): Likewise.
50095         (struct test_c_c_data): Likewise.
50096         (struct test_cc_c_data): Likewise.
50097         (struct test_f_i_data): Likewise.
50098         (struct test_ff_i_data): Likewise.
50099         (struct test_f_l_data): Likewise.
50100         (struct test_f_L_data): Likewise.
50101         (struct test_fFF_11_data): Likewise.
50102         (RM_): New macro.
50103         (RM_FE_DOWNWARD): Likewise.
50104         (RM_FE_TONEAREST): Likewise.
50105         (RM_FE_TOWARDZERO): Likewise.
50106         (RM_FE_UPWARD): Likewise.
50107         (RUN_TEST_LOOP_f_f): Update references to expected results.
50108         (RUN_TEST_LOOP_2_f): Likewise.
50109         (RUN_TEST_LOOP_fff_f): Likewise.
50110         (RUN_TEST_LOOP_c_f): Likewise.
50111         (RUN_TEST_LOOP_f_f1): Likewise.
50112         (RUN_TEST_LOOP_fF_f1): Likewise.
50113         (RUN_TEST_LOOP_fI_f1): Likewise.
50114         (RUN_TEST_LOOP_ffI_f1): Likewise.
50115         (RUN_TEST_LOOP_c_c): Likewise.
50116         (RUN_TEST_LOOP_cc_c): Likewise.
50117         (RUN_TEST_LOOP_f_i): Likewise.
50118         (RUN_TEST_LOOP_f_i_tg): Likewise.
50119         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50120         (RUN_TEST_LOOP_f_b): Likewise.
50121         (RUN_TEST_LOOP_f_b_tg): Likewise.
50122         (RUN_TEST_LOOP_f_l): Likewise.
50123         (RUN_TEST_LOOP_f_L): Likewise.
50124         (RUN_TEST_LOOP_fFF_11): Likewise.
50125         * math/gen-libm-test.pl (parse_args): Output four copies of
50126         expected results for each test.
50128         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50129         (__ASSUME_UTIMES): Remove.
50130         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50131         (__ASSUME_UTIMES): Likewise.
50133         * math/gen-auto-libm-tests.c: Update comment on output format.
50134         (output_for_one_input_case): Generate before-rounding and
50135         after-rounding information as conditions on output flags not
50136         floating-point format.
50137         * math/auto-libm-test-out: Regenerated.
50138         * math/gen-libm-test.pl (cond_value): New function.
50139         (or_cond_value): Use cond_value.
50140         (generate_testfile): Handle conditional exceptions.
50142 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50144         * math/libm-test.inc (max_valid_error): New variable.
50145         (init_max_error): Take new argument specifying whether function
50146         results are exactly determined.  Set max_valid_error and bound
50147         other variables for errors based on this argument.
50148         (set_max_error): Do not record results above max_valid_error.
50149         (check_float_internal): Only accept errors of up to 0.5ulps if
50150         also at most max_valid_error.
50151         (START): Take new argument EXACT and pass it to init_max_error.
50152         (acos_test): Update call to START.
50153         (acos_test_tonearest): Likewise.
50154         (acos_test_towardzero): Likewise.
50155         (acos_test_downward): Likewise.
50156         (acos_test_upward): Likewise.
50157         (acosh_test): Likewise.
50158         (asin_test): Likewise.
50159         (asin_test_tonearest): Likewise.
50160         (asin_test_towardzero): Likewise.
50161         (asin_test_downward): Likewise.
50162         (asin_test_upward): Likewise.
50163         (asinh_test): Likewise.
50164         (atan_test): Likewise.
50165         (atanh_test): Likewise.
50166         (atan2_test): Likewise.
50167         (cabs_test): Likewise.
50168         (cacos_test): Likewise.
50169         (cacosh_test): Likewise.
50170         (carg_test): Likewise.
50171         (casin_test): Likewise.
50172         (casinh_test): Likewise.
50173         (catan_test): Likewise.
50174         (catanh_test): Likewise.
50175         (cbrt_test): Likewise.
50176         (ccos_test): Likewise.
50177         (ccosh_test): Likewise.
50178         (ceil_test): Likewise.
50179         (cexp_test): Likewise.
50180         (cimag_test): Likewise.
50181         (clog_test): Likewise.
50182         (clog10_test): Likewise.
50183         (conj_test): Likewise.
50184         (copysign_test): Likewise.
50185         (cos_test): Likewise.
50186         (cos_test_tonearest): Likewise.
50187         (cos_test_towardzero): Likewise.
50188         (cos_test_downward): Likewise.
50189         (cos_test_upward): Likewise.
50190         (cosh_test): Likewise.
50191         (cosh_test_tonearest): Likewise.
50192         (cosh_test_towardzero): Likewise.
50193         (cosh_test_downward): Likewise.
50194         (cosh_test_upward): Likewise.
50195         (cpow_test): Likewise.
50196         (cproj_test): Likewise.
50197         (creal_test): Likewise.
50198         (csin_test): Likewise.
50199         (csinh_test): Likewise.
50200         (csqrt_test): Likewise.
50201         (ctan_test): Likewise.
50202         (ctan_test_tonearest): Likewise.
50203         (ctan_test_towardzero): Likewise.
50204         (ctan_test_downward): Likewise.
50205         (ctan_test_upward): Likewise.
50206         (ctanh_test): Likewise.
50207         (ctanh_test_tonearest): Likewise.
50208         (ctanh_test_towardzero): Likewise.
50209         (ctanh_test_downward): Likewise.
50210         (ctanh_test_upward): Likewise.
50211         (erf_test): Likewise.
50212         (erfc_test): Likewise.
50213         (exp_test): Likewise.
50214         (exp_test_tonearest): Likewise.
50215         (exp_test_towardzero): Likewise.
50216         (exp_test_downward): Likewise.
50217         (exp_test_upward): Likewise.
50218         (exp10_test): Likewise.
50219         (exp10_test_tonearest): Likewise.
50220         (exp10_test_towardzero): Likewise.
50221         (exp10_test_downward): Likewise.
50222         (exp10_test_upward): Likewise.
50223         (pow10_test): Likewise.
50224         (exp2_test): Likewise.
50225         (expm1_test): Likewise.
50226         (expm1_test_tonearest): Likewise.
50227         (expm1_test_towardzero): Likewise.
50228         (expm1_test_downward): Likewise.
50229         (expm1_test_upward): Likewise.
50230         (fabs_test): Likewise.
50231         (fdim_test): Likewise.
50232         (floor_test): Likewise.
50233         (fma_test): Likewise.
50234         (fma_test_towardzero): Likewise.
50235         (fma_test_downward): Likewise.
50236         (fma_test_upward): Likewise.
50237         (fmax_test): Likewise.
50238         (fmin_test): Likewise.
50239         (fmod_test): Likewise.
50240         (fpclassify_test): Likewise.
50241         (frexp_test): Likewise.
50242         (hypot_test): Likewise.
50243         (ilogb_test): Likewise.
50244         (isfinite_test): Likewise.
50245         (finite_test): Likewise.
50246         (isgreater_test): Likewise.
50247         (isgreaterequal_test): Likewise.
50248         (isinf_test): Likewise.
50249         (isless_test): Likewise.
50250         (islessequal_test): Likewise.
50251         (islessgreater_test): Likewise.
50252         (isnan_test): Likewise.
50253         (isnormal_test): Likewise.
50254         (issignaling_test): Likewise.
50255         (isunordered_test): Likewise.
50256         (j0_test): Likewise.
50257         (j1_test): Likewise.
50258         (jn_test): Likewise.
50259         (ldexp_test): Likewise.
50260         (lgamma_test): Likewise.
50261         (gamma_test): Likewise.
50262         (lrint_test): Likewise.
50263         (lrint_test_tonearest): Likewise.
50264         (lrint_test_towardzero): Likewise.
50265         (lrint_test_downward): Likewise.
50266         (lrint_test_upward): Likewise.
50267         (llrint_test): Likewise.
50268         (llrint_test_tonearest): Likewise.
50269         (llrint_test_towardzero): Likewise.
50270         (llrint_test_downward): Likewise.
50271         (llrint_test_upward): Likewise.
50272         (log_test): Likewise.
50273         (log10_test): Likewise.
50274         (log1p_test): Likewise.
50275         (log2_test): Likewise.
50276         (logb_test): Likewise.
50277         (logb_test_downward): Likewise.
50278         (lround_test): Likewise.
50279         (llround_test): Likewise.
50280         (modf_test): Likewise.
50281         (nearbyint_test): Likewise.
50282         (nextafter_test): Likewise.
50283         (nexttoward_test): Likewise.
50284         (pow_test): Likewise.
50285         (pow_test_tonearest): Likewise.
50286         (pow_test_towardzero): Likewise.
50287         (pow_test_downward): Likewise.
50288         (pow_test_upward): Likewise.
50289         (remainder_test): Likewise.
50290         (drem_test): Likewise.
50291         (remainder_test_tonearest): Likewise.
50292         (drem_test_tonearest): Likewise.
50293         (remainder_test_towardzero): Likewise.
50294         (drem_test_towardzero): Likewise.
50295         (remainder_test_downward): Likewise.
50296         (drem_test_downward): Likewise.
50297         (remainder_test_upward): Likewise.
50298         (drem_test_upward): Likewise.
50299         (remquo_test): Likewise.
50300         (rint_test): Likewise.
50301         (rint_test_tonearest): Likewise.
50302         (rint_test_towardzero): Likewise.
50303         (rint_test_downward): Likewise.
50304         (rint_test_upward): Likewise.
50305         (round_test): Likewise.
50306         (scalb_test): Likewise.
50307         (scalbn_test): Likewise.
50308         (scalbln_test): Likewise.
50309         (signbit_test): Likewise.
50310         (sin_test): Likewise.
50311         (sin_test_tonearest): Likewise.
50312         (sin_test_towardzero): Likewise.
50313         (sin_test_downward): Likewise.
50314         (sin_test_upward): Likewise.
50315         (sincos_test): Likewise.
50316         (sinh_test): Likewise.
50317         (sinh_test_tonearest): Likewise.
50318         (sinh_test_towardzero): Likewise.
50319         (sinh_test_downward): Likewise.
50320         (sinh_test_upward): Likewise.
50321         (sqrt_test): Likewise.
50322         (sqrt_test_tonearest): Likewise.
50323         (sqrt_test_towardzero): Likewise.
50324         (sqrt_test_downward): Likewise.
50325         (sqrt_test_upward): Likewise.
50326         (tan_test): Likewise.
50327         (tan_test_tonearest): Likewise.
50328         (tan_test_towardzero): Likewise.
50329         (tan_test_downward): Likewise.
50330         (tan_test_upward): Likewise.
50331         (tanh_test): Likewise.
50332         (tgamma_test): Likewise.
50333         (trunc_test): Likewise.
50334         (y0_test): Likewise.
50335         (y1_test): Likewise.
50336         (yn_test): Likewise.
50337         (significand_test): Likewise.
50339         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50340         individual tests in comment.
50341         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50342         (prev_max_error): New variable.
50343         (prev_real_max_error): Likewise.
50344         (prev_imag_max_error): Likewise.
50345         (compare_ulp_data): Don't refer to test names in comment.
50346         (find_test_ulps): Remove function.
50347         (find_function_ulps): Likewise.
50348         (find_complex_function_ulps): Likewise.
50349         (init_max_error): Take function name as argument.  Look up ulps
50350         for that function.
50351         (print_ulps): Remove function.
50352         (print_max_error): Use prev_max_error instead of calling
50353         find_function_ulps.
50354         (print_complex_max_error): Use prev_real_max_error and
50355         prev_imag_max_error instead of calling find_complex_function_ulps.
50356         (check_float_internal): Take max_ulp parameter instead of calling
50357         find_test_ulps.  Don't call print_ulps.
50358         (check_float): Update call to check_float_internal.
50359         (check_complex): Update calls to check_float_internal.
50360         (START): Pass argument to init_max_error.
50361         * math/gen-libm-test.pl (%results): Don't include "kind"
50362         information.
50363         (parse_ulps): Don't handle ulps of individual tests.
50364         (print_ulps_file): Likewise.
50365         (output_ulps): Likewise.
50366         * math/README.libm-test: Update.
50367         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50368         individual tests.
50369         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50370         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50371         * sysdeps/arm/libm-test-ulps: Likewise.
50372         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50373         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50374         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50375         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50376         * sysdeps/microblaze/libm-test-ulps: Likewise.
50377         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50378         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50380         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50381         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50382         * sysdeps/sh/libm-test-ulps: Likewise.
50383         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50384         * sysdeps/tile/libm-test-ulps: Likewise.
50385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50387 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50389         * math/libm-test.inc (print_complex_max_error): Check separately
50390         whether real and imaginary errors are within allowed range and
50391         pass 0 to print_complex_function_ulps instead of value within
50392         allowed range.
50394 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50396         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50397         formatting.
50398         (get_handles_fopen): Likewise.
50399         (do_write_test): Likewise.
50401         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50403         * libio/fileops.c (do_ftell): Use cached offset when
50404         available.
50405         * libio/iofwide.c (do_ftell_wide): Likewise.
50406         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50407         _IO_file_attach.
50408         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50410         [BZ #16532]
50411         * libio/libioP.h (get_file_offset): New function.
50412         * libio/fileops.c (get_file_offset): Likewise.
50413         (do_ftell): Likewise.
50414         (_IO_new_file_seekoff): Split out ftell logic.
50415         * libio/wfileops.c (do_ftell_wide): Likewise.
50416         (_IO_wfile_seekoff): Split out ftell logic.
50417         * libio/tst-ftell-active-handler.c: New test case.
50418         * libio/Makefile (tests): Add it.
50420 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50422         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50423         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50425 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50427         [BZ #16639]
50428         * nscd/connections.c (nscd_init): Call do_exit.
50429         (start_threads): Call do_exit and notify_parent.
50430         (begin_drop_privileges): Call do_exit.
50431         (finish_drop_privileges): Likewise.
50432         * nscd/selinux.c (preserve_capabilities): Likewise.
50433         (install_real_capabilities): Likewise.
50434         (nscd_selinux_enabled): Likewise.
50435         (avc_create_thread): Likewise.
50436         (avc_alloc_lock): Likewise.
50437         (nscd_avc_init): Likewise.
50438         * nscd/nscd.c (parent_fd): New static variable.
50439         (main): Create a pipe between parent and child processes.
50440         Skip closing parent_fd.
50441         (monitor_child): New function.
50442         (do_exit): Likewise.
50443         (notify_parent): Likewise.
50444         * nscd/nscd.h (notify_parent): Likewise.
50445         (do_exit): Likewise.
50447 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50449         * malloc/malloc.c (__libc_calloc): Revert last change.
50451 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50455 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50457         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50459         implementation.
50460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50461         (__libc_ifunc_impl_list): Likewise.
50462         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50463         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50464         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50465         * string/strrchr.c: Define STRRCHR.
50467 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50469         * benchtest/bench-strtok.c (simple_strtok): Delete.
50470         (strtok_string): Use as benchmark.
50471         * string/strtok (STRTOK): New macro.
50473 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50475         * manual/threads.texi: Add header and standard comments to all
50476         functions.
50478         * elf/dl-lookup.c (check_match): New function.
50479         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50480         (do_lookup_x): Remove nested function check_match. Use non-nested
50481         function check_match.
50483 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50485         * csu/Makefile (generated, before-compile): Use += rather than =.
50486         * catgets/Makefile (generated, generated-dirs): Likewise.
50487         * debug/Makefile (generated): Likewise.
50488         * dlfcn/Makefile (generated): Likewise.
50489         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50490         * iconvdata/Makefile (before-compile, generated): Likewise.
50491         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50492         * libio/Makefile (generated): Likewise.
50493         * malloc/Makefile (generated): Likewise.
50494         * manual/Makefile (generated, generated-dirs): Likewise.
50495         * misc/Makefile (generated): Likewise.
50496         * posix/Makefile (generated): Likewise.
50497         * resolv/Makefile (generated): Likewise.
50498         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50499         * timezone/Makefile (generated, generated-dirs): Likewise.
50501         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50503 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50506         power8 implementation.
50507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50508         file: POWER8 llround ifunc implementation.
50509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50510         (__lllround): Add POWER8 implementation.
50511         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50512         POWER8 llround implementation.
50514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50515         power8 implementation.
50516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50517         file: POWER8 llrint ifunc implementation.
50518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50519         Add POWER8 implementation.
50520         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50521         POWER8 llrint implementation.
50523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50524         power8 implementation.
50525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50526         file: POWER8 finite ifunc implementation.
50527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50528         Add POWER8 implementation.
50529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50530         Likewise.
50531         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50532         POWER8 finite implementation.
50533         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50536         power8 implementation.
50537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50538         file: POWER8 isinf ifunc implementation.
50539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50540         POWER8 implementation.
50541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50542         Likewise.
50543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50544         isinf implementation.
50545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50547         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50548         (INIT_ARCH): Add hwcap2 initialization.
50549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50550         power8 implementation.
50551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50552         file: POWER8 isnan ifunc implementation.
50553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50554         POWER8 implementation.
50555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50556         Likewise.
50557         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50558         isnan implementation.
50559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50561 2014-02-27  Joey Ye  <joey.ye@arm.com>
50563         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50564         (_FP_NANFRAC_Q): Set to zero.
50566 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50568         [BZ #16623]
50569         * math/auto-libm-test-in: New test inputs.
50570         * math/auto-libm-test-out: Regenerate.
50571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50572         and DA.
50573         (__cos): Likewise.
50574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50576 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50578         * scripts/evaluate-test.sh: Take new argument indicating whether
50579         failure is expected.
50580         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50581         indicating whether failure is expected.
50582         * conform/Makefile (test-xfail-run-conformtest): New variable.
50583         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50584         level.
50585         * posix/Makefile (test-xfail-annexc): New variable.
50586         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50588 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50590         * argp/Makefile: Include Makeconfig immediately after defining
50591         subdir.
50592         * assert/Makefile: Likewise.
50593         * benchtests/Makefile: Likewise.
50594         * catgets/Makefile: Likewise.
50595         * conform/Makefile: Likewise.
50596         * crypt/Makefile: Likewise.
50597         * csu/Makefile: Likewise.
50598         (all): Remove target.
50599         * ctype/Makefile: Include Makeconfig immediately after defining
50600         subdir.
50601         * debug/Makefile: Likewise.
50602         * dirent/Makefile: Likewise.
50603         * dlfcn/Makefile: Likewise.
50604         * gmon/Makefile: Likewise.
50605         * gnulib/Makefile: Likewise.
50606         * grp/Makefile: Likewise.
50607         * gshadow/Makefile: Likewise.
50608         * hesiod/Makefile: Likewise.
50609         * hurd/Makefile: Likewise.
50610         (all): Remove target.
50611         * iconvdata/Makefile: Include Makeconfig immediately after
50612         defining subdir.
50613         * inet/Makefile: Likewise.
50614         * intl/Makefile: Likewise.
50615         * io/Makefile: Likewise.
50616         * libio/Makefile: Likewise.
50617         (all): Remove target.
50618         * locale/Makefile: Include Makeconfig immediately after defining
50619         subdir.
50620         * login/Makefile: Likewise.
50621         * mach/Makefile: Likewise.
50622         (all): Remove target.
50623         * malloc/Makefile: Include Makeconfig immediately after defining
50624         subdir.
50625         (all): Remove target.
50626         * manual/Makefile: Include Makeconfig immediately after defining
50627         subdir.
50628         * math/Makefile: Likewise.
50629         * misc/Makefile: Likewise.
50630         * nis/Makefile: Likewise.
50631         * nss/Makefile: Likewise.
50632         * po/Makefile: Likewise.
50633         (all): Remove target.
50634         * posix/Makefile: Include Makeconfig immediately after defining
50635         subdir.
50636         * pwd/Makefile: Likewise.
50637         * resolv/Makefile: Likewise.
50638         * resource/Makefile: Likewise.
50639         * rt/Makefile: Likewise.
50640         * setjmp/Makefile: Likewise.
50641         * shadow/Makefile: Likewise.
50642         * signal/Makefile: Likewise.
50643         * socket/Makefile: Likewise.
50644         * soft-fp/Makefile: Likewise.
50645         * stdio-common/Makefile: Likewise.
50646         * stdlib/Makefile: Likewise.
50647         * streams/Makefile: Likewise.
50648         * string/Makefile: Likewise.
50649         * sunrpc/Makefile: Likewise.
50650         (all): Remove target.
50651         * sysvipc/Makefile: Include Makeconfig immediately after defining
50652         subdir.
50653         * termios/Makefile: Likewise.
50654         * time/Makefile: Likewise.
50655         * timezone/Makefile: Likewise.
50656         (all): Remove target.
50657         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50658         subdir.
50659         * wctype/Makefile: Likewise.
50661 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50663         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50664         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50665         (libc_feholdexcept_setround_mips): Ditto.
50666         (libc_feholdsetround): New.
50667         (libc_feholdsetroundf): New.
50668         (libc_feholdsetroundl): New.
50669         (libc_feupdateenv_test_mips): New.
50670         (libc_feupdateenv_test): New.
50671         (libc_feupdateenv_testf): New.
50672         (libc_feupdateenv_testl): New.
50673         (libc_feresetround): New.
50674         (libc_feresetroundf): New.
50675         (libc_feresetroundl): New.
50676         (libc_fetestexcept_mips): New.
50677         (libc_fetestexcept): New.
50678         (libc_fetestexceptf): New.
50679         (libc_fetestexceptl): New.
50680         (HAVE_RM_CTX): New.
50681         (libc_feholdexcept_setround_mips_ctx): New.
50682         (libc_feholdexcept_setround_ctx): New.
50683         (libc_feholdexcept_setroundf_ctx): New.
50684         (libc_feholdexcept_setroundl_ctx): New.
50685         (libc_fesetenv_mips_ctx): New.
50686         (libc_fesetenv_ctx): New.
50687         (libc_fesetenv_ctxf): New.
50688         (libc_fesetenv_ctxl): New.
50689         (libc_feupdateenv_mips_ctx): New.
50690         (libc_feupdateenv_ctx): New.
50691         (libc_feupdateenvf_ctx): New.
50692         (libc_feupdateenvl_ctx): New.
50693         (libc_feholdsetround_mips_ctx): New.
50694         (libc_feholdsetround_ctx): New.
50695         (libc_feholdsetroundf_ctx): New.
50696         (libc_feholdsetroundl_ctx): New.
50697         (libc_feresetround_mips_ctx): New.
50698         (libc_feresetround_ctx): New.
50699         (libc_feresetroundf_ctx): New.
50700         (libc_feresetroundl_ctx): New.
50702 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50704         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50706         * manual/ipc.texi: New file.
50707         * manual/Makefile (chapters): Add ipc.
50708         * manual/job.texi: Add "Inter-Process Communication" to next.
50709         * manual/process.texi: Add "Inter-Process Communication" to prev.
50711 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50715 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50717         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50719         * manual/arith.texi: Fix spaces after sentences.
50720         * manual/charset.texi: Likewise.
50721         * manual/errno.texi: Likewise.
50722         * manual/install.texi: Likewise.
50723         * manual/llio.texi: Likewise.
50724         * manual/locale.texi: Likewise.
50725         * manual/maint.texi: Likewise.
50726         * manual/math.texi: Likewise.
50727         * manual/memory.texi: Likewise.
50728         * manual/message.texi: Likewise.
50729         * manual/probes.texi: Likewise.
50730         * manual/resource.texi: Likewise.
50731         * manual/signal.texi: Likewise.
50732         * manual/socket.texi: Likewise.
50733         * manual/stdio.texi: Likewise.
50734         * manual/string.texi: Likewise.
50735         * manual/time.texi: Likewise.
50736         * manual/users.texi: Likewise.
50738 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50740         [BZ #16632]
50741         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50742         _DEFAULT_SOURCE is defined.
50744 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50745             Carlos O'Donell  <carlos@redhat.com>
50747         [BZ #16613]
50748         * elf/dl-tls.c (_dl_count_modids): New function.
50749         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50750         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50751         audit library and increment generation counter.
50752         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50753         * elf/tst-audit9.c: New file.
50754         * elf/tst-auditmod9a.c: New file.
50755         * elf/tst-auditmod9b.c: New file.
50756         * elf/Makefile: Add rules to build and run tst-audit9.
50758 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50760         [BZ #15347]
50761         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50763 2014-02-25  Will Newton  <will.newton@linaro.org>
50765         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50766         (__longjmp): Restore sp and lr before restoring callee
50767         saved registers.  Add longjmp and longjmp_target
50768         SystemTap probe point.
50769         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50770         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50771         Define to zero to match jmpbuf layout.
50772         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50773         (__sigsetjmp): Save sp and lr before saving callee
50774         saved registers.  Add setjmp SystemTap probe point.
50776 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50780 2014-02-24  Andreas Schwab  <schwab@suse.de>
50782         [BZ #15804]
50783         * elf/pldd.c (wait_for_ptrace_stop): New function.
50784         (main): Call it after attaching.
50786 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50788         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50789         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50790         Versions files is now verboten.
50791         * hurd/Versions (libc: GLIBC_2.0):
50792         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50793         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50794         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50795         * mach/Versions: Likewise.
50797         * csu/Versions: Remove unused %include.
50798         * resolv/Versions: Likewise.
50800 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50802         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50803         ($(objpfx)check-local-headers.out): Likewise.
50804         ($(objpfx)begin-end-check.out): Likewise.
50805         * Makerules (check-abi-%.out): Likewise.
50806         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50807         ($(objpfx)test2.cat): Likewise.
50808         ($(objpfx)de/libc.cat): Likewise.
50809         ($(objpfx)test-gencat.out): Likewise.
50810         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50811         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50812         ($(objpfx)noload-mem): Likewise.
50813         ($(objpfx)tst-pathopt.out): Likewise.
50814         ($(objpfx)tst-rtld-load-self.out): Likewise.
50815         ($(objpfx)tst-array1-cmp.out): Likewise.
50816         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50817         ($(objpfx)tst-array2-cmp.out): Likewise.
50818         ($(objpfx)tst-array3-cmp.out): Likewise.
50819         ($(objpfx)tst-array4-cmp.out): Likewise.
50820         ($(objpfx)tst-array5-cmp.out): Likewise.
50821         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50822         ($(objpfx)check-textrel.out): Likewise.
50823         ($(objpfx)check-execstack.out): Likewise.
50824         ($(objpfx)check-localplt.out): Likewise.
50825         ($(objpfx)order2-cmp.out): Likewise.
50826         ($(objpfx)tst-leaks1-mem): Likewise.
50827         ($(objpfx)tst-leaks1-static-mem): Likewise.
50828         ($(objpfx)tst-initorder-cmp.out): Likewise.
50829         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50830         ($(objpfx)tst-unused-dep.out): Likewise.
50831         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50832         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50833         * iconv/Makefile (test-iconvconfig): Likewise.
50834         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50835         ($(objpfx)iconv-test.out): Likewise.
50836         ($(objpfx)tst-tables.out): Likewise.
50837         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50838         ($(objpfx)tst-gettext.out): Likewise.
50839         ($(objpfx)tst-translit.out): Likewise.
50840         ($(objpfx)tst-gettext2.out): Likewise.
50841         ($(objpfx)tst-gettext4.out): Likewise.
50842         ($(objpfx)tst-gettext6.out): Likewise.
50843         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50844         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50845         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50846         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50847         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50848         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50849         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50850         ($(objpfx)wordexp-tst.out): Likewise.
50851         ($(objpfx)annexc.out): Likewise.
50852         ($(objpfx)tst-fnmatch-mem): Likewise.
50853         ($(objpfx)bug-regex2-mem): Likewise.
50854         ($(objpfx)bug-regex14-mem): Likewise.
50855         ($(objpfx)bug-regex21-mem): Likewise.
50856         ($(objpfx)bug-regex31-mem): Likewise.
50857         ($(objpfx)tst-vfork3-mem): Likewise.
50858         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50859         ($(objpfx)tst-pcre-mem): Likewise.
50860         ($(objpfx)tst-boost-mem): Likewise.
50861         ($(objpfx)tst-getconf.out): Likewise.
50862         ($(objpfx)bug-ga2-mem): Likewise.
50863         ($(objpfx)bug-glob2-mem): Likewise.
50864         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50865         ($(objpfx)mtrace-tst-leaks2): Likewise.
50866         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50867         ($(objpfx)tst-printf.out): Likewise.
50868         ($(objpfx)tst-setvbuf1.out): Likewise.
50869         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50870         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50871         ($(objpfx)tst-fmtmsg.out): Likewise.
50872         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50873         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50875         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50876         * bits/sigaction.h [__USE_MISC]: Likewise.
50877         * bits/waitstatus.h: Update #endif comments.
50878         * ctype/ctype.h: Likewise.
50879         * dirent/dirent.h: Likewise.
50880         [__USE_MISC]: Remove redundant conditionals.
50881         * grp/grp.h: Update #endif comments.
50882         [__USE_GNU]: Remove redundant conditionals.
50883         [__USE_MISC]: Likewise.
50884         * inet/netinet/in.h [__USE_GNU]: Likewise.
50885         * io/sys/stat.h [__USE_MISC]: Likewise.
50886         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50887         * libio/bits/stdio.h: Update #endif comments.
50888         [__USE_MISC]: Remove redundant conditionals.
50889         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50890         * libio/stdio.h: Update #endif comments.
50891         [__USE_MISC]: Remove redundant conditionals.
50892         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50893         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50894         * math/math.h: Update #else and #endif comments.
50895         [__USE_MISC]: Remove redundant conditionals.
50896         * misc/sys/uio.h: Update #endif comments.
50897         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50898         * posix/glob.h [__USE_MISC]: Likewise.
50899         * posix/sys/types.h: Update #endif comments.
50900         [__USE_MISC]: Remove redundant conditionals.
50901         * posix/sys/wait.h: Update #endif comments.
50902         [__USE_MISC]: Remove redundant conditionals.
50903         * posix/unistd.h: Update #endif comments.
50904         [__USE_MISC]: Remove redundant conditionals.
50905         * pwd/pwd.h [__USE_GNU]: Likewise.
50906         [__USE_MISC]: Likewise.
50907         * resolv/netdb.h [__USE_GNU]: Likewise.
50908         * signal/signal.h: Update #endif comments.
50909         [__USE_MISC]: Remove redundant conditionals.
50910         * stdlib/stdlib.h: Update #else and #endif comments.
50911         [__USE_MISC]: Remove redundant conditionals.
50912         [__USE_GNU]: Likewise.
50913         * string/bits/string2.h [__USE_MISC]: Likewise.
50914         * string/string.h: Update #endif comments.
50915         [__USE_MISC]: Remove redundant conditionals.
50916         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50917         Likewise.
50918         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50919         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50920         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50921         Likewise.
50922         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50923         Likewise.
50924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50925         comments.
50926         [__USE_MISC]: Remove redundant conditionals.
50927         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50928         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50929         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50930         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50931         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50932         Likewise.
50933         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50934         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50935         Likewise.
50936         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50937         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50938         Likewise.
50939         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50940         Likewise.
50941         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50942         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50943         Likewise.
50944         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50945         Likewise.
50946         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50947         * sysdeps/x86/bits/string.h: Update #endif comments.
50948         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50949         conditionals.
50950         * time/sys/time.h: Update #endif comments.
50951         * time/time.h: Likewise.
50952         [__USE_MISC]: Remove redundant conditionals.
50954 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50956         [BZ #16600]
50957         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50959 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50961         * Versions.def (librt): Add GLIBC_2.17.
50963 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50965         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50966         synonym for _SYS_AUXV_H to allow direct inclusion.
50967         * sysdeps/sparc/bits/hwcap.h: Likewise.
50968         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50969         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50970         * sysdeps/sparc/sysdep.h: Likewise.
50972 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50974         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50976 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50978         * benchtests/bench-strrchr.c: Print length instead of position.
50980 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50982         [BZ #16611]
50983         * sysdeps/unix/sysv/linux/kernel-features.h
50984         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50985         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50986         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50987         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50988         Likewise.
50989         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50990         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50991         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50992         (__ASSUME_SENDMMSG): Define instead of using previous
50993         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50994         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50995         (__ASSUME_SENDMMSG_SYSCALL): Define.
50996         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50997         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50998         Likewise.
50999         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51000         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51001         Likewise.
51002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51003         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51004         Likewise.
51005         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51006         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51007         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51008         [__ASSUME_SENDMMSG]: Change conditionals to
51009         [__ASSUME_SENDMMSG_SOCKETCALL].
51010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51011         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51012         Define.
51013         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51014         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51015         Likewise.
51016         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51017         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51018         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51019         [!__ASSUME_SENDMMSG]: Change conditional to
51020         [!__ASSUME_SENDMMSG_SOCKETCALL].
51021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51022         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51023         Define.
51025         [BZ #16610]
51026         * sysdeps/unix/sysv/linux/kernel-features.h
51027         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51028         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51029         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51030         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51031         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51032         [__i386__ || __sparc__]
51033         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51034         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51035         (__ASSUME_RECVMMSG): Define instead of using previous
51036         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51038         (__ASSUME_RECVMMSG_SYSCALL): Define.
51039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51041         Likewise.
51042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51043         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51044         Likewise.
51045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51047         Likewise.
51048         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51049         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51050         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51051         [__ASSUME_RECVMMSG]: Change condition to
51052         [__ASSUME_RECVMMSG_SOCKETCALL].
51053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51054         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51055         Define.
51056         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51059         Likewise.
51060         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51061         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51062         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51063         [!__ASSUME_RECVMMSG]: Change condition to
51064         [!__ASSUME_RECVMMSG_SOCKETCALL].
51065         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51066         (__ASSUME_RECVMMSG_SYSCALL): Define.
51068         [BZ #16609]
51069         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51070         __powerpc__ || __s390__ || __sh__ || __sparc__]
51071         (__ASSUME_SOCKETCALL): Define.
51072         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51073         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51074         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51075         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51076         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51077         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51078         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51079         (__ASSUME_ACCEPT4): Define instead of using previous
51080         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51081         __powerpc__ || __sparc__ || __s390__)] condition.
51082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51083         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51084         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51085         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51086         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51087         [!__ASSUME_ACCEPT4]: Change condition to
51088         [!__ASSUME_ACCEPT4_SOCKETCALL].
51089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51090         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51091         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51093         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51094         __ASSUME_ACCEPT4_SYSCALL.
51095         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51096         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51097         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51098         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51099         __ASSUME_ACCEPT4_SYSCALL.
51100         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51101         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51102         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51103         [__ASSUME_ACCEPT4]: Change condition to
51104         [__ASSUME_ACCEPT4_SOCKETCALL].
51105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51106         (__ASSUME_SOCKETCALL): Define.
51107         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51109         (__ASSUME_SOCKETCALL): Define.
51110         (__ASSUME_ACCEPT4): Remove.
51111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51112         Define.
51113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51114         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51115         Likewise.
51116         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51117         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51119         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51120         macro.
51121         (HWCAP_ARM_LPAE): Likewise.
51122         (HWCAP_ARM_EVTSTRM): Likewise.
51123         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51124         Add vpfd32, lpae and evtstrm.
51125         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51126         Increase to 22.
51128 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51130         * math/auto-libm-test-in: Add tests of clog10.
51131         * math/auto-libm-test-out: Regenerated.
51132         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51133         * sysdeps/i386/fpu/libm-test-ulps: Update.
51134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51136 2014-02-18  Andreas Schwab  <schwab@suse.de>
51138         [BZ #16574]
51139         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51140         Store non-zero if the second buffer was newly allocated.
51141         (send_dg): Likewise.
51142         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51143         to send_vc and send_dg.
51144         (res_nsend): Pass NULL for ansp2_malloced.
51145         * resolv/res_query.c (__libc_res_nquery): Add parameter
51146         answerp2_malloced and pass it down to __libc_res_nsend.
51147         (res_nquery): Pass additional NULL to __libc_res_nquery.
51148         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51149         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51150         second answer buffer if answerp2_malloced was set.
51151         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51152         (__libc_res_nquerydomain): Add parameter
51153         answerp2_malloced and pass it down to __libc_res_nquery.
51154         (res_nquerydomain): Pass additional NULL to
51155         __libc_res_nquerydomain.
51156         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51157         additional NULL to __libc_res_nsend and __libc_res_nquery.
51158         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51159         additional NULL to __libc_res_nsearch.
51160         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51161         parameter of __libc_res_nsearch to check for separately allocated
51162         second buffer.
51163         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51164         __libc_res_nquery.
51165         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51166         additional NULL to __libc_res_nquery.
51167         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51168         __libc_res_nsearch.
51169         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51170         * include/resolv.h: Update prototypes of __libc_res_nquery,
51171         __libc_res_nsearch, __libc_res_nsend.
51173 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51175         * math/auto-libm-test-in: Add tests of fma.
51176         * math/auto-libm-test-out: Regenerated.
51177         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51178         (fma_towardzero_test_data): Likewise.
51179         (fma_downward_test_data): Likewise.
51180         (fma_upward_test_data): Likewise.
51181         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51182         mpc_mode.
51183         (rounding_modes): Add values for new field.
51184         (func_calc_method): Add value mpfr_fff_f.
51185         (func_calc_desc): Add mpfr_fff_f union field.
51186         (test_function): Add field exact_args.
51187         (FUNC): Add macro argument EXACT_ARGS.
51188         (FUNC_mpfr_f_f): Update call to FUNC.
51189         (FUNC_mpfr_f_f): Likewise.
51190         (FUNC_mpfr_ff_f): Likewise.
51191         (FUNC_mpfr_if_f): Likewise.
51192         (FUNC_mpc_c_f): Likewise.
51193         (FUNC_mpc_c_c): Likewise.
51194         (test_functions): Add fma.  Update calls to FUNC.
51195         (handle_input_arg): Add argument exact_args.
51196         (add_test): Update call to handle_input_arg.
51197         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51198         (output_for_one_input_case): Update call to calc_generic_results.
51199         Recalculate exact zero results in each rounding mode.
51201         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51202         non-negative before setting low bit.
51203         * math/auto-libm-test-in: Mark one asin test possibly having
51204         spurious underflow.
51205         * math/auto-libm-test-out: Regenerated.
51206         * sysdeps/i386/fpu/libm-test-ulps: Update.
51207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51209 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51211         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51212         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51213         ports/sysdeps/unix/sysv/linux/microblaze.
51214         * README: Add missing listing for microblaze*-*-linux-gnu.
51216 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51218         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51219         duplicate code
51221 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51223         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51224         * sysdeps/unix/sysv/linux/ia64: Move directory from
51225         ports/sysdeps/unix/sysv/linux/ia64.
51226         * README: Update listing for ia64-*-linux-gnu.
51228 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51229             Joseph Myers  <joseph@codesourcery.com>
51231         * Makeconfig (test-name): New variable.
51232         (evaluate-test): Likewise.
51233         * Makerules (do-test-clean): Remove .test-result files.
51234         (common-mostlyclean): Likewise.
51235         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51236         * scripts/evaluate-test.sh: New file.
51238 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51240         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51241         separate $(objpfx)tst-fopenloc-cmp.out and
51242         $(objpfx)tst-fopenloc-mem.out targets.
51243         (tests): Update dependencies.
51244         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51245         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51246         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51247         (tst-rxspencer-no-utf8-ARGS): New variable.
51248         (tst-rxspencer-no-utf8-ENV): Likewise.
51249         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51250         instead of $(objpfx)tst-rxspencer-mem.
51251         ($(objpfx)tst-rxspencer-mem): Change target to
51252         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51253         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51254         * posix/tst-rxspencer-no-utf8.c: New file.
51256         * elf/Makefile ($(objpfx)order.out): Remove rule.
51257         [$(run-built-tests) = yes] (tests): Depend on
51258         $(objpfx)order-cmp.out.
51259         ($(objpfx)order-cmp.out): New rule.
51260         [$(run-built-tests) = yes] (tests): Depend on
51261         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51262         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51263         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51264         $(objpfx)tst-array5-static-cmp.out.
51265         ($(objpfx)tst-array1.out): Remove rule.
51266         ($(objpfx)tst-array1-cmp.out): New rule.
51267         ($(objpfx)tst-array1-static.out): Remove rule.
51268         ($(objpfx)tst-array1-static-cmp.out): New rule.
51269         ($(objpfx)tst-array2.out): Remove rule.
51270         ($(objpfx)tst-array2-cmp.out): New rule.
51271         ($(objpfx)tst-array3.out): Remove rule.
51272         ($(objpfx)tst-array3-cmp.out): New rule.
51273         ($(objpfx)tst-array4.out): Remove rule.
51274         ($(objpfx)tst-array4-cmp.out): New rule.
51275         ($(objpfx)tst-array5.out): Remove rule.
51276         ($(objpfx)tst-array5-cmp.out): New rule.
51277         ($(objpfx)tst-array5-static.out): Remove rule.
51278         ($(objpfx)tst-array5-static-cmp.out): New rule.
51279         [$(run-built-tests) = yes] (tests): Depend on
51280         $(objpfx)order2-cmp.out.
51281         ($(objpfx)order2.out): Remove rule.
51282         ($(objpfx)order2-cmp.out): New rule.
51283         ($(objpfx)tst-initorder.out): Remove rule.
51284         [$(run-built-tests) = yes] (tests): Depend on
51285         $(objpfx)tst-initorder-cmp.out.
51286         ($(objpfx)tst-initorder-cmp.out): New rule.
51287         ($(objpfx)tst-initorder2.out): Remove rule.
51288         [$(run-built-tests) = yes] (tests): Depend on
51289         $(objpfx)tst-initorder2-cmp.out.
51290         ($(objpfx)tst-initorder2-cmp.out): New rule.
51291         [$(run-built-tests) = yes] (tests): Depend on
51292         $(objpfx)tst-unused-dep-cmp.out.
51293         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51294         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51295         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51296         on $(objpfx)tst-setvbuf1-cmp.out.
51297         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51298         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51299         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51300         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51301         ($(objpfx)tst-svc.out): Remove rule.
51302         ($(objpfx)tst-svc-cmp.out): New rule.
51304 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51306         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51307         * ctype/ctype.h [__USE_MISC]: Likewise.
51308         * dirent/dirent.h [__USE_MISC]: Likewise.
51309         * grp/grp.h [__USE_MISC]: Likewise.
51310         * io/fcntl.h [__USE_MISC]: Likewise.
51311         * io/sys/stat.h [__USE_MISC]: Likewise.
51312         * libio/stdio.h [__USE_MISC]: Likewise.
51313         * posix/unistd.h [__USE_MISC]: Likewise.
51314         * pwd/pwd.h [__USE_MISC]: Likewise.
51315         * stdlib.h [__USE_MISC]: Likewise.
51316         * string/bits/string2.h [__USE_MISC]: Likewise.
51317         * string/string.h [__USE_MISC]: Likewise.
51318         * time/time.h [__USE_MISC]: Likewise.
51320 2014-02-13  Andreas Schwab  <schwab@suse.de>
51322         [BZ #16574]
51323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51324         second answer buffer if it was separately allocated.
51326 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51328         * sysdeps/mips/math-tests.h: Include <features.h>.
51329         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51330         (ROUNDING_TESTS_long_double): Do not define.
51331         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51332         (EXCEPTION_TESTS_long_double): Likewise.
51333         * sysdeps/mips/mips64/libm-test-ulps: Update.
51335         * include/features.h (__USE_BSD): Remove macro definitions.
51336         (__USE_SVID): Likewise.
51337         (_BSD_SOURCE): Likewise.
51338         (_SVID_SOURCE): Likewise.
51339         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51340         from definition of _DEFAULT_SOURCE.
51341         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51342         [_DEFAULT_SOURCE].
51343         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51344         * bits/mman.h [__USE_BSD]: Likewise.
51345         * bits/termios.h [__USE_BSD]: Likewise.
51346         * bits/waitstatus.h [__USE_BSD]: Likewise.
51347         * ctype/ctype.h [__USE_SVID]: Likewise.
51348         * dirent/dirent.h [__USE_BSD]: Likewise.
51349         * grp/grp.h [__USE_SVID]: Likewise.
51350         [__USE_BSD]: Likewise.
51351         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51352         * io/fcntl.h [__USE_BSD]: Likewise.
51353         * io/ftw.h [__USE_BSD]: Likewise.
51354         * io/sys/stat.h [__USE_BSD]: Likewise.
51355         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51356         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51357         * libio/stdio.h [__USE_SVID]: Likewise.
51358         [__USE_BSD]: Likewise.
51359         * math/math.h [__USE_SVID]: Likewise.
51360         [__USE_BSD]: Likewise.
51361         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51362         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51363         * misc/search.h [__USE_SVID]: Likewise.
51364         * misc/sys/mman.h [__USE_BSD]: Likewise.
51365         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51366         * misc/sys/uio.h [__USE_BSD]: Likewise.
51367         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51368         * posix/glob.h [__USE_BSD]: Likewise.
51369         * posix/regex.h [__USE_BSD]: Likewise.
51370         * posix/sys/types.h [__USE_BSD]: Likewise.
51371         [__USE_SVID]: Likewise.
51372         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51373         * posix/sys/wait.h [__USE_BSD]: Likewise.
51374         [__USE_SVID]: Likewise.
51375         * posix/unistd.h [__USE_BSD]: Likewise.
51376         [__USE_SVID]: Likewise.
51377         * pwd/pwd.h [__USE_SVID]: Likewise.
51378         * resolv/netdb.h [__USE_BSD]: Likewise.
51379         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51380         * signal/signal.h [__USE_BSD]: Likewise.
51381         [__USE_SVID]: Likewise.
51382         * socket/sys/socket.h [__USE_BSD]: Likewise.
51383         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51384         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51385         [__USE_SVID]: Likewise.
51386         * string/bits/string2.h [__USE_BSD]: Likewise.
51387         [__USE_SVID]: Likewise.
51388         * string/bits/string3.h [__USE_BSD]: Likewise.
51389         * string/endian.h [__USE_BSD]: Likewise.
51390         * string/string.h [__USE_SVID]: Likewise.
51391         [__USE_BSD]: Likewise.
51392         * string/strings.h [__USE_BSD]: Likewise.
51393         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51394         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51395         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51396         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51397         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51398         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51399         Likewise.
51400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51401         Likewise.
51402         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51403         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51404         Likewise.
51405         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51406         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51407         Likewise.
51408         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51409         Likewise.
51410         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51411         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51412         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51413         Likewise.
51414         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51415         Likewise.
51416         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51417         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51418         * termios/termios.h [__USE_BSD]: Likewise.
51419         * time/sys/time.h [__USE_BSD]: Likewise.
51420         * time/time.h [__USE_BSD]: Likewise.
51421         [__USE_SVID]: Likewise.
51423         * Makefile (subdir_targets): Remove subdir_lint.out.
51425         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51426         (do-tst-printf): Likewise.
51427         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51428         $(objpfx)tst-printf.out.
51430         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51432         * Makerules (check-abi-%): Change target to
51433         $(objpfx)check-abi-%.out.
51434         (check-abi target): Update dependencies.
51435         (check-abi-pattern variable): Redirect output of diff to $@.
51436         (check-abi variable): Likewise.
51437         * elf/Makefile (check-abi): Update dependencies.
51439         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51440         unused.
51441         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51442         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51443         subnormal range.
51444         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51445         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51446         value has largest subnormal exponent.
51447         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51448         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51449         * sysdeps/aarch64/soft-fp/sfp-machine.h
51450         (_FP_TININESS_AFTER_ROUNDING): New macro.
51451         * sysdeps/alpha/soft-fp/sfp-machine.h
51452         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51453         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51454         Likewise.
51455         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51456         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51457         * sysdeps/mips/soft-fp/sfp-machine.h
51458         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51459         * sysdeps/powerpc/soft-fp/sfp-machine.h
51460         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51461         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51462         Likewise.
51463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51464         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51465         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51466         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51467         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51468         Likewise.
51470 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51472         [BZ #16545]
51473         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51474         model 1.
51476 2014-02-12  Richard Henderson  <rth@redhat.com>
51478         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51479         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51480         * sysdeps/unix/sysv/linux/alpha: Move directory from
51481         ports/sysdeps/unix/sysv/linux/alpha.
51482         * README: Update listing for alpha-*-linux-gnu.
51484 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51486         * include/features.h: Update comment documenting feature test
51487         macros.
51488         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51489         _DEFAULT_SOURCE.
51490         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51491         (_SVID_SOURCE): Likewise.
51492         (_DEFAULT_SOURCE): Update description of default features.
51493         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51494         with _GNU_SOURCE.
51495         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51496         (S_ISVTX): Likewise.
51497         * manual/math.texi (Mathematical Constants): Likewise.
51498         * manual/signal.texi (Interrupted Primitives): Likewise.
51499         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51500         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51501         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51502         Don't refer to _SVID_SOURCE in warning text.
51504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51506         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51507         already defined.
51508         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51509         * sysdeps/mips/dl-lookup.c: Remove.
51510         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51512 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51514         [BZ #16447]
51515         * math/auto-libm-test-in: Add testcase for expl.
51516         * math/auto-libm-test-out: Regenerate.
51517         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51518         calculation of unsafe.
51519         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51521 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51523         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51524         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51525         ports/sysdeps/unix/sysv/linux/aarch64.
51526         * README: Update listing for aarch64*-*-linux-gnu.
51528 2014-02-11  Will Newton  <will.newton@linaro.org>
51530         * manual/probes.texi (Mathematical Function Probes): Use
51531         "triggered" instead of "hit".
51533         * manual/probes.texi (Internal Probes): Add documentation
51534         of setjmp, longjmp and longjmp_target probes.
51536         * include/stap-probe.h: Add comment about probe argument
51537         format.
51539         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51540         definition.  (tr_where, tr_freehook, tr_mallochook,
51541         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51543 2014-02-11  David S. Miller  <davem@davemloft.net>
51545         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51546         processing int_tests.
51548 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51550         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51551         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51552         * sysdeps/unix/sysv/linux/mips: Move directory from
51553         ports/sysdeps/unix/sysv/linux/mips.
51554         * README: Update listing for mips-*-linux-gnu and
51555         mips64-*-linux-gnu.
51557 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51559         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51560         * sysdeps/unix/sysv/linux/m68k: Move directory from
51561         ports/sysdeps/unix/sysv/linux/m68k.
51562         * README: Update listing for m68k-*-linux-gnu.
51564 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51566         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51567         * sysdeps/unix/sysv/linux/generic: Move directory from
51568         ports/sysdeps/unix/sysv/linux/generic.
51569         * sysdeps/unix/sysv/linux/tile: Move directory from
51570         ports/sysdeps/unix/sysv/linux/tile.
51571         * README: Update listing for tile*-*-linux-gnu.
51573 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51575         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51576         __builtin_expect.
51577         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51578         * catgets/open_catalog.c (__open_catalog): Likewise.
51579         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51580         * debug/confstr_chk.c: Likewise.
51581         * debug/fread_chk.c (__fread_chk): Likewise.
51582         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51583         * debug/getgroups_chk.c: Likewise.
51584         * debug/mbsnrtowcs_chk.c: Likewise.
51585         * debug/mbsrtowcs_chk.c: Likewise.
51586         * debug/mbstowcs_chk.c: Likewise.
51587         * debug/memcpy_chk.c: Likewise.
51588         * debug/memmove_chk.c: Likewise.
51589         * debug/mempcpy_chk.c: Likewise.
51590         * debug/memset_chk.c: Likewise.
51591         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51592         * debug/strcat_chk.c (__strcat_chk): Likewise.
51593         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51594         * debug/strncat_chk.c (__strncat_chk): Likewise.
51595         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51596         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51597         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51598         * debug/wcpncpy_chk.c: Likewise.
51599         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51600         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51601         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51602         * debug/wcsncpy_chk.c: Likewise.
51603         * debug/wcsnrtombs_chk.c: Likewise.
51604         * debug/wcsrtombs_chk.c: Likewise.
51605         * debug/wcstombs_chk.c: Likewise.
51606         * debug/wmemcpy_chk.c: Likewise.
51607         * debug/wmemmove_chk.c: Likewise.
51608         * debug/wmempcpy_chk.c: Likewise.
51609         * debug/wmemset_chk.c: Likewise.
51610         * dirent/scandirat.c (SCANDIRAT): Likewise.
51611         * dlfcn/dladdr1.c (dladdr1): Likewise.
51612         * dlfcn/dladdr.c (dladdr): Likewise.
51613         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51614         * dlfcn/dlerror.c (__dlerror): Likewise.
51615         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51616         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51617         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51618         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51619         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51620         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51621         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51622         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51623         Likewise.
51624         * elf/dl-conflict.c: Likewise.
51625         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51626         * elf/dl-dst.h: Likewise.
51627         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51628         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51629         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51630         * elf/dl-init.c (call_init, _dl_init): Likewise.
51631         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51632         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51633         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51634         Likewise.
51635         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51636         Likewise.
51637         * elf/dl-minimal.c (__libc_memalign): Likewise.
51638         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51639         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51640         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51641         * elf/dl-sym.c (do_sym): Likewise.
51642         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51643         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51644         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51645         * elf/dl-writev.h (_dl_writev): Likewise.
51646         * elf/ldconfig.c (search_dir): Likewise.
51647         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51648         (dl_main): Likewise.
51649         * elf/setup-vdso.h (setup_vdso): Likewise.
51650         * grp/compat-initgroups.c (compat_call): Likewise.
51651         * grp/fgetgrent.c (fgetgrent): Likewise.
51652         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51653         * grp/putgrent.c (putgrent): Likewise.
51654         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51655         Likewise.
51656         * hurd/hurdinit.c: Likewise.
51657         * iconvdata/8bit-gap.c (struct): Likewise.
51658         * iconvdata/ansi_x3.110.c : Likewise.
51659         * iconvdata/big5.c : Likewise.
51660         * iconvdata/big5hkscs.c : Likewise.
51661         * iconvdata/cp1255.c: Likewise.
51662         * iconvdata/cp1258.c : Likewise.
51663         * iconvdata/cp932.c : Likewise.
51664         * iconvdata/euc-cn.c: Likewise.
51665         * iconvdata/euc-jisx0213.c : Likewise.
51666         * iconvdata/euc-jp.c: Likewise.
51667         * iconvdata/euc-jp-ms.c : Likewise.
51668         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51669         * iconvdata/gb18030.c : Likewise.
51670         * iconvdata/gbbig5.c (const): Likewise.
51671         * iconvdata/gbgbk.c: Likewise.
51672         * iconvdata/gbk.c : Likewise.
51673         * iconvdata/ibm1364.c : Likewise.
51674         * iconvdata/ibm930.c : Likewise.
51675         * iconvdata/ibm932.c: Likewise.
51676         * iconvdata/ibm933.c : Likewise.
51677         * iconvdata/ibm935.c : Likewise.
51678         * iconvdata/ibm937.c : Likewise.
51679         * iconvdata/ibm939.c : Likewise.
51680         * iconvdata/ibm943.c: Likewise.
51681         * iconvdata/iso_11548-1.c: Likewise.
51682         * iconvdata/iso-2022-cn.c : Likewise.
51683         * iconvdata/iso-2022-cn-ext.c : Likewise.
51684         * iconvdata/iso-2022-jp-3.c: Likewise.
51685         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51686         * iconvdata/iso-2022-kr.c : Likewise.
51687         * iconvdata/iso646.c (gconv_end): Likewise.
51688         * iconvdata/iso_6937-2.c : Likewise.
51689         * iconvdata/iso_6937.c : Likewise.
51690         * iconvdata/iso8859-1.c: Likewise.
51691         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51692         * iconvdata/shift_jisx0213.c : Likewise.
51693         * iconvdata/sjis.c : Likewise.
51694         * iconvdata/t.61.c : Likewise.
51695         * iconvdata/tcvn5712-1.c : Likewise.
51696         * iconvdata/tscii.c: Likewise.
51697         * iconvdata/uhc.c : Likewise.
51698         * iconvdata/unicode.c (gconv_end): Likewise.
51699         * iconvdata/utf-16.c (gconv_end): Likewise.
51700         * iconvdata/utf-32.c (gconv_end): Likewise.
51701         * iconvdata/utf-7.c (base64): Likewise.
51702         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51703         * iconv/gconv_close.c (__gconv_close): Likewise.
51704         * iconv/gconv_open.c (__gconv_open): Likewise.
51705         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51706         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51707         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51708         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51709         (ucs4le_internal_loop_single): Likewise.
51710         * iconv/iconv.c (iconv): Likewise.
51711         * iconv/iconv_close.c: Likewise.
51712         * iconv/loop.c (SINGLE): Likewise.
51713         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51714         * include/atomic.h: Likewise.
51715         * inet/inet6_option.c (option_alloc): Likewise.
51716         * intl/bindtextdom.c (set_binding_values): Likewise.
51717         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51718         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51719         * intl/localealias.c (read_alias_file): Likewise.
51720         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51721         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51722         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51723         * libio/fmemopen.c (fmemopen): Likewise.
51724         * libio/iofgets.c (_IO_fgets): Likewise.
51725         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51726         * libio/iofgetws.c (fgetws): Likewise.
51727         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51728         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51729         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51730         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51731         * locale/findlocale.c (_nl_find_locale): Likewise.
51732         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51733         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51734         Likewise.
51735         * locale/setlocale.c (setlocale): Likewise.
51736         * login/programs/pt_chown.c (main): Likewise.
51737         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51738         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51739         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51740         (mmap, mmap64, mremap, munmap): Likewise.
51741         * math/e_exp2l.c: Likewise.
51742         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51743         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51744         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51745         * math/s_catan.c (__catan): Likewise.
51746         * math/s_catanf.c (__catanf): Likewise.
51747         * math/s_catanh.c (__catanh): Likewise.
51748         * math/s_catanhf.c (__catanhf): Likewise.
51749         * math/s_catanhl.c (__catanhl): Likewise.
51750         * math/s_catanl.c (__catanl): Likewise.
51751         * math/s_ccosh.c (__ccosh): Likewise.
51752         * math/s_ccoshf.c (__ccoshf): Likewise.
51753         * math/s_ccoshl.c (__ccoshl): Likewise.
51754         * math/s_cexp.c (__cexp): Likewise.
51755         * math/s_cexpf.c (__cexpf): Likewise.
51756         * math/s_cexpl.c (__cexpl): Likewise.
51757         * math/s_clog10.c (__clog10): Likewise.
51758         * math/s_clog10f.c (__clog10f): Likewise.
51759         * math/s_clog10l.c (__clog10l): Likewise.
51760         * math/s_clog.c (__clog): Likewise.
51761         * math/s_clogf.c (__clogf): Likewise.
51762         * math/s_clogl.c (__clogl): Likewise.
51763         * math/s_csin.c (__csin): Likewise.
51764         * math/s_csinf.c (__csinf): Likewise.
51765         * math/s_csinh.c (__csinh): Likewise.
51766         * math/s_csinhf.c (__csinhf): Likewise.
51767         * math/s_csinhl.c (__csinhl): Likewise.
51768         * math/s_csinl.c (__csinl): Likewise.
51769         * math/s_csqrt.c (__csqrt): Likewise.
51770         * math/s_csqrtf.c (__csqrtf): Likewise.
51771         * math/s_csqrtl.c (__csqrtl): Likewise.
51772         * math/s_ctan.c (__ctan): Likewise.
51773         * math/s_ctanf.c (__ctanf): Likewise.
51774         * math/s_ctanh.c (__ctanh): Likewise.
51775         * math/s_ctanhf.c (__ctanhf): Likewise.
51776         * math/s_ctanhl.c (__ctanhl): Likewise.
51777         * math/s_ctanl.c (__ctanl): Likewise.
51778         * math/w_pow.c: Likewise.
51779         * math/w_powf.c: Likewise.
51780         * math/w_powl.c: Likewise.
51781         * math/w_scalb.c (sysv_scalb): Likewise.
51782         * math/w_scalbf.c (sysv_scalbf): Likewise.
51783         * math/w_scalbl.c (sysv_scalbl): Likewise.
51784         * misc/error.c (error_tail): Likewise.
51785         * misc/pselect.c (__pselect): Likewise.
51786         * nis/nis_callback.c (__nis_create_callback): Likewise.
51787         * nis/nis_call.c (__nisfind_server): Likewise.
51788         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51789         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51790         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51791         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51792         * nis/nis_lookup.c (nis_lookup): Likewise.
51793         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51794         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51795         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51796         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51797         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51798         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51799         * nis/nss_compat/compat-initgroups.c (add_group)
51800         (internal_getgrent_r): Likewise.
51801         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51802         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51803         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51804         (internal_getspnam_r): Likewise.
51805         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51806         (_nss_nis_getaliasbyname_r): Likewise.
51807         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51808         (_nss_nis_getntohost_r): Likewise.
51809         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51810         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51811         (_nss_nis_getgrgid_r): Likewise.
51812         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51813         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51814         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51815         (_nss_nis_gethostbyname4_r): Likewise.
51816         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51817         (initgroups_netid): Likewise.
51818         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51819         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51820         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51821         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51822         (_nss_nis_getprotobynumber_r): Likewise.
51823         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51824         (_nss_nis_getsecretkey): Likewise.
51825         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51826         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51827         (_nss_nis_getpwuid_r): Likewise.
51828         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51829         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51830         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51831         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51832         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51833         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51834         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51835         Likewise.
51836         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51837         (_nss_nisplus_getntohost_r): Likewise.
51838         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51839         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51840         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51841         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51842         Likewise.
51843         * nis/nss_nisplus/nisplus-initgroups.c
51844         (_nss_nisplus_initgroups_dyn): Likewise.
51845         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51846         (_nss_nisplus_getnetbyaddr_r): Likewise.
51847         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51848         (_nss_nisplus_getprotobynumber_r): Likewise.
51849         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51850         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51851         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51852         Likewise.
51853         * nis/nss_nisplus/nisplus-service.c
51854         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51855         (_nss_nisplus_getservbyport_r): Likewise.
51856         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51857         (_nss_nisplus_getspnam_r): Likewise.
51858         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51859         Likewise.
51860         * nscd/aicache.c (addhstaiX): Likewise.
51861         * nscd/cache.c (cache_search, prune_cache): Likewise.
51862         * nscd/connections.c (register_traced_file, send_ro_fd)
51863         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51864         (main_loop_epoll): Likewise.
51865         * nscd/grpcache.c (addgrbyX): Likewise.
51866         * nscd/hstcache.c (addhstbyX): Likewise.
51867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51868         * nscd/mem.c (gc, mempool_alloc): Likewise.
51869         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51870         (addinnetgrX): Likewise.
51871         * nscd/nscd-client.h (__nscd_acquire_maplock)
51872         (__nscd_drop_map_ref): Likewise.
51873         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51874         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51875         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51876         Likewise.
51877         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51878         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51879         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51880         (__nscd_get_map_ref): Likewise.
51881         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51882         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51883         Likewise.
51884         * nscd/pwdcache.c (addpwbyX): Likewise.
51885         * nscd/selinux.c (preserve_capabilities): Likewise.
51886         * nscd/servicescache.c (addservbyX): Likewise.
51887         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51888         * posix/fnmatch.c (fnmatch): Likewise.
51889         * posix/getopt.c (_getopt_internal_r): Likewise.
51890         * posix/glob.c (glob, glob_in_dir): Likewise.
51891         * posix/wordexp.c (exec_comm_child): Likewise.
51892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51893         (getanswer_r, gaih_getanswer_slice): Likewise.
51894         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51895         * resolv/res_init.c: Likewise.
51896         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51897         * resolv/res_query.c (__libc_res_nquery): Likewise.
51898         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51899         Likewise.
51900         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51901         * stdio-common/perror.c (perror): Likewise.
51902         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51903         * stdio-common/tmpnam.c (tmpnam): Likewise.
51904         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51905         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51906         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51907         Likewise.
51908         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51909         * stdlib/putenv.c (putenv): Likewise.
51910         * stdlib/setenv.c (__add_to_environ): Likewise.
51911         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51912         * stdlib/strtol_l.c (INTERNAL): Likewise.
51913         * string/memmem.c (memmem): Likewise.
51914         * string/strerror.c (strerror): Likewise.
51915         * string/strnlen.c (__strnlen): Likewise.
51916         * string/test-memmem.c (simple_memmem): Likewise.
51917         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51918         * sunrpc/pm_getport.c (__get_socket): Likewise.
51919         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51920         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51921         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51922         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51923         Likewise.
51924         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51925         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51926         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51927         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51928         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51929         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51930         Likewise.
51931         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51932         Likewise.
51933         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51934         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51935         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51936         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51937         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51939         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51940         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51941         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51942         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51943         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51944         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51945         Likewise.
51946         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51947         Likewise.
51948         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51949         Likewise.
51950         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51952         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51953         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51954         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51955         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51956         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51957         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51959         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51960         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51962         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51963         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51965         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51966         Likewise.
51967         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51968         Likewise.
51969         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51970         Likewise.
51971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51972         Likewise.
51973         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51974         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51975         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51976         Likewise.
51977         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51978         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51979         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51980         * sysdeps/posix/sleep.c: Likewise.
51981         * sysdeps/posix/tempname.c: Likewise.
51982         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51983         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51984         Likewise.
51985         * sysdeps/powerpc/powerpc32/dl-machine.h
51986         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51987         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51989         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51990         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51991         Likewise.
51992         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51994         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51995         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51996         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51997         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51998         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51999         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52000         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52001         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52003         (elf_machine_lazy_rel): Likewise.
52004         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52006         (elf_machine_lazy_rel): Likewise.
52007         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52008         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52009         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52010         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52011         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52012         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52013         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52015         Likewise.
52016         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52017         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52018         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52019         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52020         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52021         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52022         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52023         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52025         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52026         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52027         Likewise.
52028         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52029         (__posix_fallocate64_l64): Likewise.
52030         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52031         (posix_fallocate): Likewise.
52032         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52033         Likewise.
52034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52035         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52036         (getifaddrs_internal): Likewise.
52037         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52038         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52039         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52040         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52041         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52042         (__posix_fallocate64_l64): Likewise.
52043         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52044         Likewise.
52045         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52046         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52047         (__get_clockfreq): Likewise.
52048         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52049         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52050         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52053         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52054         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52055         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52056         Likewise.
52057         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52058         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52059         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52060         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52061         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52062         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52063         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52064         Likewise.
52065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52066         (posix_fallocate): Likewise.
52067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52068         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52069         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52070         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52071         (elf_machine_rela, elf_machine_rela_relative)
52072         (elf_machine_lazy_rel): Likewise.
52073         * time/asctime.c (asctime_internal): Likewise.
52074         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52075         * time/tzset.c (__tzset_parse_tz): Likewise.
52076         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52077         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52078         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52079         * wcsmbs/wcsmbsload.h: Likewise.
52081         [BZ #15894]
52082         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52084         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52085         (arena_get2): Remove THREAD_STATS conditionals.
52086         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52087         (__malloc_stats, int): Likewise.
52089 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52091         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52092         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52094         * manual/setjmp.texi: Fix typos/grammar errors.
52096         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52097         Only return early when n is <= 0.  Delete unused return statement.
52099         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52100         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52101         * debug/tst-longjmp_chk3.c: New file.
52103         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52104         (test_main): Replace code with set_fortify_handler call.
52105         * debug/test-strcpy_chk.c: Likewise.
52106         * debug/tst-chk1.c: Likewise.
52107         * debug/tst-longjmp_chk.c: Likewise.
52108         * test-skeleton.c: Include fcntl.h & paths.h
52109         (set_fortify_handler): Define.
52111         * debug/tst-longjmp_chk.c: Add header comment and include
52112         ../test-skeleton.c.
52113         (do_test): Mark static.
52114         (TEST_FUNCTION): Define.
52116         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52117         (IP_PMTUDISC_INTERFACE): Likewise.
52118         (IP_MULTICAST_IF): Likewise.
52119         (IP_MULTICAST_TTL): Likewise.
52120         (IP_MULTICAST_LOOP): Likewise.
52121         (IP_ADD_MEMBERSHIP): Likewise.
52122         (IP_DROP_MEMBERSHIP): Likewise.
52123         (IP_UNBLOCK_SOURCE): Likewise.
52124         (IP_BLOCK_SOURCE): Likewise.
52125         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52126         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52127         (IP_MSFILTER): Likewise.
52128         (MCAST_JOIN_GROUP): Likewise.
52129         (MCAST_BLOCK_SOURCE): Likewise.
52130         (MCAST_UNBLOCK_SOURCE): Likewise.
52131         (MCAST_LEAVE_GROUP): Likewise.
52132         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52133         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52134         (MCAST_MSFILTER): Likewise.
52135         (IP_MULTICAST_ALL): Likewise.
52136         (IP_UNICAST_IF): Likewise.
52138         * timezone/Makefile: Delete $(have-ksh) check.
52139         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52140         * timezone/tzselect.ksh: Add +x mode bits.
52142         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52143         (ANON_INODE_FS_MAGIC): Likewise.
52144         (BDEVFS_MAGIC): Likewise.
52145         (BINFMTFS_MAGIC): Likewise.
52146         (BTRFS_TEST_MAGIC): Likewise.
52147         (CRAMFS_MAGIC_WEND): Likewise.
52148         (DEBUGFS_MAGIC): Likewise.
52149         (ECRYPTFS_SUPER_MAGIC): Likewise.
52150         (EXT3_SUPER_MAGIC): Likewise.
52151         (EXT4_SUPER_MAGIC): Likewise.
52152         (FUTEXFS_SUPER_MAGIC): Likewise.
52153         (HOSTFS_SUPER_MAGIC): Likewise.
52154         (HUGETLBFS_MAGIC): Likewise.
52155         (MINIX3_SUPER_MAGIC): Likewise.
52156         (MTD_INODE_FS_MAGIC): Likewise.
52157         (NILFS_SUPER_MAGIC): Likewise.
52158         (OPENPROM_SUPER_MAGIC): Likewise.
52159         (PIPEFS_MAGIC): Likewise.
52160         (PSTOREFS_MAGIC): Likewise.
52161         (QNX6_SUPER_MAGIC): Likewise.
52162         (RAMFS_MAGIC): Likewise.
52163         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52164         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52165         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52166         (SECURITYFS_MAGIC): Likewise.
52167         (SELINUX_MAGIC): Likewise.
52168         (SMACK_MAGIC): Likewise.
52169         (SOCKFS_MAGIC): Likewise.
52170         (SQUASHFS_MAGIC): Likewise.
52171         (STACK_END_MAGIC): Likewise.
52172         (TMPFS_MAGIC): Likewise.
52173         (USBDEVICE_SUPER_MAGIC): Likewise.
52174         (V9FS_MAGIC): Likewise.
52175         (XENFS_SUPER_MAGIC): Likewise.
52176         (CRAMFS_MAGIC): Fix typo in comment.
52177         (EXT2_SUPER_MAGIC): Update comment.
52178         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52180 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52182         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52183         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52184         * sysdeps/unix/sysv/linux/arm: Move directory from
52185         ports/sysdeps/unix/sysv/linux/arm.
52186         * README: Update listing for arm-*-linux-gnueabi.
52188         * README: Remove mention of am33.
52190 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52192         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52193         than the comma operator, to avoid "rhs of comma has no effect"
52194         compiler warnings.
52195         (__sigfillset, __sigandset, __sigorset): Likewise.
52196         * include/signal.h (__sigemptyset): Likewise.
52197         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52199 2014-02-07  Allan McRae  <allan@archlinux.org>
52201         * version.h (RELEASE): Set to "development".
52202         (VERSION): Set to "2.19.90"
52203         * NEWS: Add 2.20 section.
52205 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52207         [BZ #16529]
52208         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52210 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52212         * manual/contrib.texi: Update entry for Carlos O'Donell,
52213         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52215 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52217         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52219         * sysdeps/unix/sysv/linux/kernel-features.h
52220         [__LINUX_KERNEL_VERSION >= 0x020621]
52221         (__ASSUME_PROC_PID_TASK_COMM): Define.
52223 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52225         [BZ #16398]
52226         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52227         conversion when destination buffer does not have enough space.
52228         * libio/tst-ftell-partial-wide.c: New test case.
52229         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52231         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52232         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52233         Leonard and Allan McRae.
52235 2014-02-04  David S. Miller  <davem@davemloft.net>
52237         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52238         32-bit.
52240 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52243         New file
52244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52245         New file
52246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52247         New file.
52248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52249         New file.
52250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52251         New file.
52252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52253         New file.
52254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52255         New file.
52256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52257         New file.
52258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52259         New file.
52260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52261         New file.
52262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52263         New file.
52264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52265         New file.
52266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52267         New file.
52269 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52271         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52272         * shlib-versions: Likewise.
52274 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52275             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52277         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52278         (abilist-pattern): New variable, set to %-le.abilist.
52280         * Makerules (abilist-pattern): New variable.
52281         (vpath): Use $(abilist-pattern) in place of %.abilist.
52282         (check-abi-% pattern rule): Likewise.
52283         (check-abi, update-abi): Likewise.
52285 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52289 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52291         * manual/startup.texi: Add next, previous, and top entries for
52292         the `Program Arguments' and `Environment Variables' nodes.
52294 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52296         * manual/macros.texi: Add comments before MTASC-safety macros.
52298         * manual/users.texi: Document MTASC-safety properties.
52300         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52301         (pthread_getspecific, pthread_setspecific): Format with
52302         @deftypefun, and add @safety note.
52303         * manual/signal.texi: Move comments that analyze the above
52304         functions to their home place.
52306 2014-02-03  Allan McRae  <allan@archlinux.org>
52308         * po/sl.po: Update Slovenian translation from translation project.
52310 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52312         * manual/time.texi (timegm): Add missing blank after @c.
52313         Reported by Joseph Myers <joseph@codesourcery.com>.
52315 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52317         * manual/check-safety.sh: New.
52318         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52320         * manual/terminal.texi: Document MTASC-safety properties.
52322         * manual/filesys.texi: Document MTASC-safety properties.
52324         * manual/errno.texi: Document MTASC-safety properties.
52326         * manual/intro.texi: Document safety identifiers and
52327         conditionals.
52329         * manual/string.texi (wcstok): Fix prototype.
52330         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52332         * manual/time.texi: Document MTASC-safety properties.
52334         * manual/string.texi: Document MTASC-safety properties.
52336         * manual/threads.texi: Document MTASC-safety properties.
52338         * manual/stdio.texi: Document MTASC-safety properties.
52340         * manual/syslog.texi: Document MTASC-safety properties.
52342         * manual/sysinfo.texi: Document MTASC-safety properties.
52344         * manual/startup.texi: Document MTASC-safety properties.
52346         * manual/socket.texi: Document MTASC-safety properties.
52348         * manual/signal.texi: Document MTASC-safety properties.
52350 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52352         * manual/setjmp.texi: Document MTASC-safety properties.
52354         * manual/search.texi: Document MTASC-safety properties.
52356         * manual/resource.texi: Document MTASC-safety properties.
52358         * manual/process.texi: Document MTASC-safety properties.
52360         * manual/platform.texi: Document MTASC-safety properties.
52362         * manual/pipe.texi: Document MTASC-safety properties.
52364         * manual/pattern.texi: Document MTASC-safety properties.
52366         * manual/message.texi: Document MTASC-safety properties.
52368         [BZ #12751]
52369         * manual/memory.texi: Document MTASC-safety properties.
52371         * manual/math.texi: Document MTASC-safety properties.
52373         * manual/locale.texi: Document MTASC-safety properties.
52375         * manual/llio.texi: Document MTASC-safety properties.
52377         * manual/libdl.texi: New.
52379         * manual/lang.texi: Document MTASC-safety properties.
52381         * manual/job.texi: Document MTASC-safety properties.
52383         * manual/getopt.texi: Document MTASC-safety properties.
52385         * manual/ctype.texi: Document MTASC-safety properties.
52387 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52389         [BZ #16046]
52390         * csu/libc-tls.c (static_map): Remove variable.
52391         (__libc_setup_tls): Use main executable's link map for TLS data.
52392         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52393         casing for LM_ID_BASE and GL(dl_nns).
52394         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52395         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52396         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52397         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52398         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52399         member.
52400         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52401         l_phnum members.
52403 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52405         * manual/debug.texi: Document MTASC-safety properties.
52407 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52409         [BZ #16510]
52410         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52411         of __x86_64__ when disabling x87 inline functions.
52413 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52415         * manual/charset.texi: Document MTASC-safety properties.
52417         * manual/crypt.texi: Document MTASC-safety properties.
52419         * manual/conf.texi: Document MTASC-safety properties.
52421         * manual/arith.texi: Document MTASC-safety properties.
52423         * manual/argp.texi: Document MTASC-safety properties.
52425         * manual/macros.texi: Introduce macros to document multi
52426         thread, asynchronous signal and asynchronous cancellation
52427         safety properties.
52428         * manual/intro.texi: Introduce the properties themselves.
52430 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52432         * sysdeps/sh/sh4/Makefile: New file.
52434 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52436         * math/gen-libm-test.pl ($srcdir): New variable.
52437         ($auto_input): Use it.
52439 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52441         [BZ #16506]
52442         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52443         access beyond array bounds when parsing netgroups file.
52445         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52446         the old buffer before realloc.
52448 2014-01-27  Allan McRae  <allan@archlinux.org>
52450         * po/fr.po: Update French translation from translation project.
52452 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52454         * sysdeps/sh/libm-test-ulps: Regenerate.
52456 2014-01-24  David S. Miller  <davem@davemloft.net>
52458         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52460 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52462         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52463         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52465 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52467         [BZ #16474]
52468         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52469         string pointers after reallocation.
52471 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52473         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52474         __SH4A__ instead of __SH_FPU_ANY__.
52476 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52478         * sysdeps/sh/fpu_control.h: New file.
52479         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52480         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52481         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52482         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52483         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52484         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52485         * sysdeps/sh/sys/ucontext.h: Remove.
52486         * sysdeps/sh/sys: Remove directory.
52488 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52490         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52491         s390/sys/ucontext.h.
52492         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52493         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52495 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52497         [BZ #15605]
52498         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52500 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52502         [BZ #16431]
52503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52504         Adjust the vDSO correctly for internal calls.
52505         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52507 2014-01-20  Allan McRae  <allan@archlinux.org>
52509         * po/ca.po: Update Catalan translation from translation project.
52511 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52513         * sysdeps/s390/sotruss-lib.c: New file.
52515 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52517         [BZ #16430]
52518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52519         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52520         local calls issues by not having a PLT stub required for IFUNC calls.
52521         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52523 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52525         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52526         * math/test-fpucw-static.c: Likewise.
52528 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52530         [BZ #16453]
52531         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52533 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52535         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52536         implementation for powerpc.
52538 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52540         [BZ #14782]
52541         * sysdeps/posix/system.c (__libc_system): Do not enable
52542         asynchronous cancellation.
52544 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52546         [BZ #16427]
52547         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52548         handling only for numbers special also in the IEEE case.
52550 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52552         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52554 2014-01-11  Allan McRae  <allan@archlinux.org>
52556         * po/bg.po: Update Bulgarian translation from translation project.
52558         * po/de.po: Update German translation from translation project.
52560 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52562         * sysdeps/generic/gcc-compat.h: New file.
52564 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52566         * benchtests/asin-inputs: Correct slow inputs.
52567         * benchtests/acos-inputs: Likewise.
52569 2014-01-10  Allan McRae  <allan@archlinux.org>
52571         * po:sv.po: Update Swedish translation from translation project.
52573         * po/vi.po: Update Vietnamese translation from translation project.
52575         * po/eo.po: Update Esperanto translation from translation project.
52577         * po/cs.po: Update Czech translation from translation project.
52579         * po/nl.po: Update Dutch translation from translation project.
52581         * po/pl.po: Update Polish translation from translation project.
52583         * po/ru.po: Update Russian translation from translation project.
52585         * po/uk.po: Update Ukrainian translation from translation project.
52587 2014-01-08  Brooks Moses  <bmoses@google.com>
52589         * elf/dl-load.c: Fix comment typo.
52591 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52593         * po/header.pot: Rename to...
52594         * po/pot.header: ... this.
52595         * po/Makefile: Use pot.header.
52597 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52598             Maxim Kuvyrkov  <maxim@kugelworks.com>
52600         [BZ #16394]
52601         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52602         SRC and DEST against LEN.
52604 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52606         [BZ #16414]
52607         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52608         implementation.
52609         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52611 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52615 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52617         [BZ #16408]
52618         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52619         for large positive arguments.
52621 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52623         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52625         * math/auto-libm-test-in: Mark various tests with
52626         xfail-rounding:ldbl-128ibm.
52627         * math/auto-libm-test-out: Regenerated.
52629         [BZ #16407]
52630         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52631         Increase overflow threshold.
52633 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52635         [BZ #14286]
52636         * stdio-common/vfprintf.c: Check for integer overflow.
52638 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52640         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52641         the first argument and return value of __tls_get_addr_internal.
52643 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52645         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52646         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52648 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52650         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52651         * sysdeps/s390/rtld-global-offsets.sym: New file.
52652         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52653         GLIBC_2.19 symbol.
52654         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52656         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52657         ... this.
52658         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52659         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52660         ... this.
52661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52662         Regenerate.
52663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52664         Regenerate.
52665         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52666         halfs of GPRs for high_gprs contexts.
52667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52668         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52669         field.
52670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52671         uc_flags field.
52672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52673         64 bit versions:
52674         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52675         for high GPRs (uc_high_gprs) and for future extensions
52676         (__reserved).
52677         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52678         for future extensions (__reserved).
52679         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52680         64 bit versions:
52681         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52682         SC_HIGHGPRS offset definition.
52683         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52684         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52686         * Versions.def: Add GLIBC_2.19 for libpthread.
52687         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52688         siglongjmp for libpthread with GLIBC_2.19 symver.
52689         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52690         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52691         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52692         * sysdeps/s390/__longjmp.c: New file.
52693         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52694         * sysdeps/s390/longjmp.c: New file.
52695         * sysdeps/s390/setjmp.S: New file.
52696         * sysdeps/s390/sigjmp.S: New file.
52697         * sysdeps/s390/v1-longjmp.c: New file.
52698         * sysdeps/s390/v1-setjmp.h: New file.
52699         * sysdeps/s390/v1-sigjmp.c: New file.
52700         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52701         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52702         GLIBC_2.19 version.
52703         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52704         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52705         versioned symbols for ____longjmp_chk.
52706         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52707         Likewise.
52708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52709         Regenerate.
52710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52711         Regenerate.
52712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52713         Regenerate.
52714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52715         Regenerate.
52716         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52717         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52718         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52719         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52720         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52721         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52722         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52723         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52724         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52725         * sysdeps/s390/rtld-__longjmp.c: New file.
52726         * sysdeps/s390/rtld-setjmp.S: New file.
52728 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52730         [BZ #16400]
52731         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52732         Return -__logl (x) for small positive arguments without evaluating
52733         a polynomial.
52735 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52737         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52738         Rename to ...
52739         (__ptrace_peeksiginfo_args): ... this.
52740         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52741         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52742         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52744 2014-01-06  Allan McRae  <allan@archlinux.org>
52746         * inet/netinet/in.h: Fix typo in comment.
52748 2014-01-05  Andreas Jaeger  <aj@suse.de>
52750         * sysdeps/i386/fpu/libm-test-ulps: Update.
52752 2014-01-05  Allan McRae  <allan@archlinux.org>
52754         * po/libc.pot: Regenerated.
52756         * malloc/memusagestat.c: Fix gettext call formatting.
52758 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52760         * nscd/nscd.c: Improve usage() output.
52762 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52764         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52765         * sysdeps/unix/sysv/linux/configure: Regenerated.
52766         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52767         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52769 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52771         [BZ #16390]
52772         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52773         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52775 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52778         extra tokens at end of #undef directive.
52779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52780         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52781         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52783 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52785         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52787         * math/auto-libm-test-in: Mark various tests with
52788         xfail-rounding:ldbl-128ibm.
52789         * math/auto-libm-test-out: Regenerated.
52791 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52793         [BZ #16386]
52794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52795         numbers with subnormal high part when calculating exponent.
52797         [BZ #16385]
52798         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52799         fabs.
52801         [BZ #16384]
52802         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52803         M_LN2l.
52804         (__ieee754_acoshl): Use __log1pl not __log1p.
52806 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52808         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52809         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52810         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52811         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52812         (reused_arena, arena_get2): Convert to GNU style.
52813         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52814         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52815         (memalign_check, __malloc_set_state): Likewise.
52816         * malloc/mallocbug.c (main): Likewise.
52817         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52818         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52819         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52820         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52821         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52822         (__posix_memalign, malloc_info): Likewise.
52823         * malloc/malloc.h: Likewise.
52824         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52825         (mallochook, memalignhook, reallochook, mabort): Likewise.
52826         * malloc/mcheck.h: Likewise.
52827         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52828         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52829         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52830         * malloc/morecore.c (__default_morecore): Likewise.
52831         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52832         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52833         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52834         (print_and_abort): Likewise.
52835         * malloc/obstack.h: Likewise.
52836         * malloc/set-freeres.c (__libc_freeres): Likewise.
52837         * malloc/tst-mallocstate.c (main): Likewise.
52838         * malloc/tst-mtrace.c (main): Likewise.
52839         * malloc/tst-realloc.c (do_test): Likewise.
52841 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52843         [BZ #16366]
52844         * nscd/netgroupcache.c (do_notfound): New function.
52845         (addgetnetgrentX): Use it.
52847         [BZ # 16365]
52848         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52849         NSS_STATUS_NOTFOUND.
52851 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52853         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52856 2014-01-01  Allan McRae  <allan@archlinux.org>
52858         * scripts/update-copyrights: Update configure input file suffix.
52860         * NEWS: Update copyright year.
52861         * catgets/gencat.c: Likewise.
52862         * csu/version.c: Likewise.
52863         * debug/catchsegv.sh: Likewise.
52864         * debug/pcprofiledump.c: Likewise.
52865         * debug/xtrace.sh: Likewise.
52866         * elf/ldconfig.c: Likewise.
52867         * elf/ldd.bash.in: Likewise.
52868         * elf/pldd.c: Likewise.
52869         * elf/sotruss.ksh: Likewise.
52870         * elf/sprof.c: Likewise.
52871         * iconv/iconv_prog.c: Likewise.
52872         * iconv/iconvconfig.c: Likewise.
52873         * locale/programs/locale.c: Likewise.
52874         * locale/programs/localedef.c: Likewise.
52875         * login/programs/pt_chown.c: Likewise.
52876         * malloc/memusage.sh: Likewise.
52877         * malloc/memusagestat.c: Likewise.
52878         * malloc/mtrace.pl: Likewise.
52879         * manual/libc.texinfo: Likewise.
52880         * nscd/nscd.c: Likewise.
52881         * nss/getent.c: Likewise.
52882         * nss/makedb.c: Likewise.
52883         * posix/getconf.c: Likewise.
52884         * scripts/test-installation.pl: Likewise.
52886         * All files with FSF copyright notices: Update copyright dates
52887         using scripts/update-copyrights.
52888         * intl/plural.c: Regenerated.
52889         * locale/programs/charmap-kw.h: Likewise.
52890         * locale/programs/locfile-kw.h: Likewise.
52892 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52894         * sysdeps/unix/sysv/linux/configure: Regenerated.
52895         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52896         the linux/fanotify.h header.
52897         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52898         HAVE_LINUX_FANOTIFY_H is defined.
52900 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52902         * benchtests/cos-inputs: New inputs.
52903         * benchtests/sin-inputs: Likewise.
52905         * benchtests/atan-inputs: New inputs. Fix name of multiple
52906         precision fallback inputs.
52908         * benchtests/atanh-inputs: New inputs.
52909         * benchtests/tanh-inputs: Likewise.
52911         * benchtests/acosh-inputs: New inputs.
52912         * benchtests/asinh-inputs: Likewise.
52914         * benchtests/cosh-inputs: New inputs.
52915         * benchtests/sinh-inputs: Likewise.
52917         * benchtests/acos-inputs: Add more inputs.
52918         * benchtests/asin-inputs: Likewise.
52920 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52922         [BZ #16375]
52923         * manual/arith.texi: Fix spelling.
52924         * manual/charset.texi: Likewise.
52925         * manual/errno.texi: Likewise.
52926         * manual/filesys.texi: Likewise.
52927         * manual/lang.texi: Likewise.
52928         * manual/llio.texi: Likewise.
52929         * manual/locale.texi: Likewise.
52930         * manual/message.texi: Likewise.
52931         * manual/resource.texi: Likewise.
52932         * manual/search.texi: Likewise.
52933         * manual/setjmp.texi: Likewise.
52934         * manual/stdio.texi: Likewise.
52935         * manual/string.texi: Likewise.
52936         * manual/sysinfo.texi: Likewise.
52937         * manual/time.texi: Likewise.
52939 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52941         * po/sl.po: New file.
52943 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52945         * .gitignore: Add core/.gdbinit/.gdb_history.
52947 2013-12-27  Allan McRae  <allan@archlinux.org>
52949         [BZ #16369]
52950         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52951         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52953 2013-12-24  Brooks Moses  <bmoses@google.com>
52955         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52956         all compilers that claim C++98 compliance, not just GCC.
52957         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52958         Likewise.
52960 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52962         * NEWS: Restore accidentally deleted bug-fix entries.
52964 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52965             Ondřej Bílka  <neleai@seznam.cz>
52967         [BZ #15073]
52968         * malloc/malloc.c (_int_free): Perform sanity check only if we
52969         have_lock.
52971 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52973         [BZ #12986]
52974         * manual/stdio.texi (String Input Conversions): Clarify that character
52975         classes are not supported.
52977 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52981 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52983         [BZ #16337]
52984         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52985         Calculate results for small negative arguments directly rather
52986         than using reflection formula with special underflow handling.
52988         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52989         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52990         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52991         (fchflags): Likewise.
52992         (revoke): Likewise.
52993         (setlogin): Likewise.
52994         (sigaltstack): Likewise.
52995         (wait4): Likewise.
52996         (sigblock): Remove.
52997         (sigsetmask): Likewise.
52998         (wait3): Likewise.
52999         (waitpid): Likewise.
53000         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53001         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53002         file.
53003         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53004         * sysdeps/unix/bsd/Makefile: ... here.
53005         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53006         * sysdeps/unix/bsd/Versions: ... here.
53007         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53008         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53009         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53010         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53011         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53012         * sysdeps/unix/bsd/sigblock.c: ... here.
53013         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53014         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53015         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53016         * sysdeps/unix/bsd/sigvec.c: ... here.
53017         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53018         * sysdeps/unix/bsd/tcdrain.c: ... here.
53019         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53020         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53021         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53022         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53023         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53024         * sysdeps/unix/bsd/wait.c: ... here.
53025         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53026         * sysdeps/unix/bsd/wait3.c: ... here.
53027         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53028         * sysdeps/unix/bsd/waitpid.c: ... here.
53030 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53032         [BZ #16356]
53033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53034         round-to-nearest for [!USE_AS_EXPM1L].
53035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53036         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53037         more tests of exp and exp10.  Expect some exp10 tests to miss
53038         exceptions or fail in directed rounding modes.
53039         * math/auto-libm-test-out: Regenerated.
53040         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53041         (exp10_test_tonearest): New function.
53042         (exp10_towardzero_test_data): New array.
53043         (exp10_test_towardzero): New function.
53044         (exp10_downward_test_data): New array.
53045         (exp10_test_downward): New function.
53046         (exp10_upward_test_data): New array.
53047         (exp10_test_upward): New function.
53048         (main): Call the new functions.
53049         * sysdeps/i386/fpu/libm-test-ulps: Update.
53050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53052 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53054         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53055         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53056         * math/auto-libm-test-out: Regenerated.
53057         * math/libm-test.inc (acosh_test_data): Add more tests.
53058         (atanh_test_data): Likewise.
53059         (ceil_test_data): Likewise.
53060         (copysign_test_data): Likewise.
53061         * sysdeps/i386/fpu/libm-test-ulps: Update.
53062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53064         * timezone/checktab.awk: Update from tzcode 2013i.
53065         * timezone/private.h: Likewise.
53066         * timezone/scheck.c: Likewise.
53067         * timezone/tzfile.h: Likewise.
53068         * timezone/tzselect.ksh: Likewise.
53069         * timezone/zdump.c: Likewise.
53070         * timezone/zic.c: Likewise.
53072         * math/auto-libm-test-in: Add tests of cpow.
53073         * math/auto-libm-test-out: Regenerated.
53074         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53076         mpc_cc_c.
53077         (func_calc_desc): Add mpc_cc_c union field.
53078         (test_functions): Add cpow.
53079         (special_fill_2pi): New function.
53080         (special_real_inputs): Add 2pi.
53081         (calc_generic_results): Handle mpc_cc_c.
53082         * sysdeps/i386/fpu/libm-test-ulps: Update.
53083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53085         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53086         csqrt, ctan and ctanh.
53087         * math/auto-libm-test-out: Regenerated.
53088         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53089         (TEST_COND_x86): Likewise.
53090         (ccos_test_data): Use AUTO_TESTS_c_c.
53091         (ccosh_test_data): Likewise.
53092         (cexp_test_data): Likewise.
53093         (clog_test_data): Likewise.
53094         (csqrt_test_data): Likewise.
53095         (ctan_test_data): Likewise.
53096         (ctan_tonearest_test_data): Likewise.
53097         (ctan_towardzero_test_data): Likewise.
53098         (ctan_downward_test_data): Likewise.
53099         (ctan_upward_test_data): Likewise.
53100         (ctanh_test_data): Likewise.
53101         (ctanh_tonearest_test_data): Likewise.
53102         (ctanh_towardzero_test_data): Likewise.
53103         (ctanh_downward_test_data): Likewise.
53104         (ctanh_upward_test_data): Likewise.
53105         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53106         mpc_c_c.
53107         (func_calc_desc): Add mpc_c_c union field.
53108         (FUNC_mpc_c_c): New macro.
53109         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53110         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53111         ctanh.
53112         (special_fill_min_subnorm_p120): New function.
53113         (special_real_inputs): Add min_subnorm_p120.
53114         (calc_generic_results): Handle mpc_c_c.
53115         * sysdeps/i386/fpu/libm-test-ulps: Update.
53116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53118 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53120         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53121         (do_sin_slow): New functions.
53122         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53123         (cslow2, csloww1, csloww2): Use the new functions.
53125         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53126         Use M to change sign of result instead of X.  Assume X is
53127         positive.
53128         (csloww1): Likewise.
53129         (__sin): Adjust.
53130         (__cos): Adjust.
53132         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53133         arguments A and DA.
53134         (__sin): Adjust.
53135         (__cos): Likewise.
53137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53138         (__cos): Likewise.
53139         (sloww1): Don't adjust sign of DX.
53140         (csloww1): Likewise.
53141         (sloww2): Use X directly and don't adjust sign of DX.
53142         (csloww2): Likewise.
53144 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53146         * math/auto-libm-test-in: Add tests of cabs and carg.
53147         * math/auto-libm-test-out: Regenerated.
53148         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53149         (carg_test_data): Likewise.
53150         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53151         mpc_c_f.
53152         (func_calc_desc): Add mpc_c_f union field.
53153         (test_functions): Add cabs and carg.
53154         (calc_generic_results): Handle mpc_c_f.
53156         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53157         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53158         as a macro and a compat symbol.
53159         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53160         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53161         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53162         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53163         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53164         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53165         not use .hidden.
53166         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53167         Likewise.
53168         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53169         Likewise.
53170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53171         Likewise.
53172         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53173         Likewise.
53174         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53175         Likewise.
53176         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53177         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53178         from GLIBC_2.3.2.
53180 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53184 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53186         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53187         trailing whitespace removed.
53188         * scripts/config.guess: Update to version 2013-11-29.
53189         * scripts/config.sub: Update to version 2013-10-01.
53191         * math/auto-libm-test-in: Add tests of sincos.
53192         * math/auto-libm-test-out: Regenerated.
53193         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53194         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53195         mpfr_f_11.
53196         (func_calc_desc): Add mpfr_f_11 union field.
53197         (test_functions): Add sincos.
53198         (calc_generic_results): Handle mpfr_f_11.
53199         * sysdeps/i386/fpu/libm-test-ulps: Update.
53200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53202 2013-12-19  Andreas Schwab  <schwab@suse.de>
53204         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53205         CALL_MCOUNT.
53206         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53208         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53210 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53212         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53213         * sysdeps/i386/fpu/libm-test-ulps: Update.
53214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53216         [BZ #16293]
53217         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53218         round-to-nearest mode when using frndint.
53219         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53220         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53222         Likewise.
53223         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53224         sinh test to fail.
53225         * math/auto-libm-test-out: Regenerated.
53226         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53227         (TEST_COND_x86): Likewise.
53228         (expm1_tonearest_test_data): New array.
53229         (expm1_test_tonearest): New function.
53230         (expm1_towardzero_test_data): New array.
53231         (expm1_test_towardzero): New function.
53232         (expm1_downward_test_data): New array.
53233         (expm1_test_downward): New function.
53234         (expm1_upward_test_data): New array.
53235         (expm1_test_upward): New function.
53236         (main): Run the new test functions.
53237         * sysdeps/i386/fpu/libm-test-ulps: Update.
53238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53240         * include/features.h: Update comment documenting feature test
53241         macros.  Mention _DEFAULT_SOURCE in comment.
53242         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53243         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53244         _BSD_SOURCE and _SVID_SOURCE.
53245         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53246         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53247         !_SVID_SOURCE]: Likewise.
53248         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53249         (__USE_POSIX_IMPLICITLY): Define.
53250         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53251         (_POSIX_SOURCE): Undefine and redefine.
53252         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53253         (_POSIX_C_SOURCE): Likewise.
53254         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53255         (Feature Test Macros): Update documentation of default features.
53257 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53259         * benchtests/Makefile: Add bench-strtok.
53260         * benchtests/bench-strtok.c: New file: strtok benchtest.
53262 2013-12-19  Allan McRae  <allan@archlinux.org>
53264         * manual/install.texi: Suppress menu for plain text output.
53265         * INSTALL: Regenerated.
53267 2013-12-18  Brooks Moses  <bmoses@google.com>
53269         [BZ #15846]
53270         * misc/getauxval.c: Include errno.h.
53271         (__getauxval): Set errno to ENOENT if the requested type is not
53272         found.
53273         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53274         don't declare with __attribute_const__.
53275         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53276         * manual/startup.texi: Document that getauxval sets errno.
53278 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53280         * math/auto-libm-test-in: Add tests of jn and yn.
53281         * math/auto-libm-test-out: Regenerated.
53282         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53283         (yn_test_data): Likewise.
53284         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53285         mpfr_if_f.
53286         (func_calc_desc): Add mpfr_if_f union field.
53287         (FUNC_mpfr_if_f): New macro.
53288         (test_functions): Add jn and yn.
53289         (calc_generic_results): Assert type of second input for
53290         mpfr_ff_f.  Handle mpfr_if_f.
53291         (output_for_one_input_case): Disable all checking for arguments
53292         fitting floating-point types in case of an integer argument.
53293         * sysdeps/i386/fpu/libm-test-ulps: Update.
53294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53297         Don't expect fegetround reference in libm.so.
53299 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53301         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53302         $(config-cflags-nofma).
53304 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53306         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53307         * math/auto-libm-test-out: Regenerated.
53309         [BZ #16338]
53310         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53311         to determine exponent and adjust argument to have exponent of -1.
53312         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53313         log2.
53314         * math/auto-libm-test-out: Regenerated.
53315         * sysdeps/i386/fpu/libm-test-ulps: Update.
53316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53318 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53320         * manual/probes.texi: Remove cases when per-thread arenas are
53321         disabled.
53323 2013-12-18  Andreas Schwab  <schwab@suse.de>
53325         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53326         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53327         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53328         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53329         * sysdeps/i386/i686/multiarch/Makefile: Update.
53330         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53332 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53334         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53335         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53337 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53339         [BZ #15968]
53340         Support TZ transition times < 00:00:00.
53341         This is needed for version-3 tz-format files; it supports time
53342         stamps past 2037 for America/Godthab (the only entry in the tz
53343         database for which this change is relevant).
53344         * manual/time.texi (TZ Variable): Document transition times
53345         from -167:59:59 through -00:00:01.
53346         * time/tzset.c (tz_rule): Time of day is now signed.
53347         (__tzset_parse_tz): Parse negative time of day.
53349         Document TZ transition times >= 25:00:00.
53350         * manual/time.texi (TZ Variable): Document transition times from
53351         25:00:00 through 167:59:59.  These are already supported, and this
53352         support will help with version-3 tz-format files.
53354         * manual/time.texi (TZ Variable): Modernize North America example
53355         to reflect current (i.e., 2007-and-later) daylight saving rules.
53357         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53359 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53361         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53362         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53365         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53366         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53367         * sysdeps/unix/bsd/clock.c: Likewise.
53368         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53369         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53370         * sysdeps/unix/bsd/init-posix.c: Likewise.
53371         * sysdeps/unix/bsd/poll.c: Likewise.
53372         * sysdeps/unix/bsd/ptsname.c: Likewise.
53373         * sysdeps/unix/bsd/seekdir.c: Likewise.
53374         * sysdeps/unix/bsd/setegid.c: Likewise.
53375         * sysdeps/unix/bsd/seteuid.c: Likewise.
53376         * sysdeps/unix/bsd/setgid.c: Likewise.
53377         * sysdeps/unix/bsd/setrgid.c: Likewise.
53378         * sysdeps/unix/bsd/setruid.c: Likewise.
53379         * sysdeps/unix/bsd/setsid.c: Likewise.
53380         * sysdeps/unix/bsd/setuid.c: Likewise.
53381         * sysdeps/unix/bsd/sigaction.c: Likewise.
53382         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53383         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53384         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53385         * sysdeps/unix/bsd/telldir.c: Likewise.
53386         * sysdeps/unix/bsd/times.c: Likewise.
53387         * sysdeps/unix/bsd/usleep.c: Likewise.
53389         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53390         ($(objpfx)libbsd-compat.a): Remove rule.
53392         * include/features.h (__FAVOR_BSD): Do not define.
53393         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53394         features conflicting with POSIX.
53395         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53396         (_BSD_SOURCE): Remove description of not being a subset of other
53397         feature test macros.
53398         * manual/job.texi (getpgrp): Do not document BSD version.
53399         (getpgid): Do not document by reference to BSD getpgrp.
53400         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53401         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53402         * signal/signal.h [__FAVOR_BSD]: Likewise.
53403         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53404         instead of making contents conditional on [__FAVOR_BSD].
53405         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53407 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53411 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53413         [BZ #16314]
53414         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53415         values below 2**-450, not 2**-500.
53416         * math/auto-libm-test-in: Don't allow spurious underflow from
53417         hypot.
53418         * math/auto-libm-test-out: Regenerated.
53420         [BZ #16316]
53421         [BZ #16330]
53422         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53423         values of ha and hb and sort them after adjusting subnormal
53424         arguments.
53425         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53426         Likewise.
53427         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53428         values of ea and eb and sort them after adjusting subnormal
53429         arguments.
53430         * math/auto-libm-test-in: Do not expect some hypot tests of
53431         subnormals to fail.  Add more hypot tests.
53432         * math/auto-libm-test-out: Regenerated.
53434 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53436         [BZ #13304]
53437         * sysdeps/sh/s_fma.c: New file.
53438         * sysdeps/sh/s_fmaf.c: New file.
53439         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53440         version.
53441         * sysdeps/sh/Implies: Add sh/soft-fp.
53443 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53445         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53446         level of indirection to members `objname', `errstring', `malloced'.
53447         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53448         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53449         it as the __longjmp argument (just pass 1 instead).
53450         (_dl_catch_error): Initialize C with argument pointers and address of
53451         volatile local ERRCODE rather than copying values out of C at return.
53453 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53455         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53456         * math/auto-libm-test-out: Regenerated.
53457         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53458         (hypot_test_data): Likewise.
53459         (pow_test_data): Likewise.
53460         (pow_tonearest_test_data): Likewise.
53461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53462         mpfr_ff_f.
53463         (func_calc_desc): Add mpfr_ff_f union field.
53464         (FUNC_mpfr_ff_f): New macro.
53465         (test_functions): Add atan2, hypot and pow.
53466         (special_fill_min): New function.
53467         (special_fill_minus_min): Likewise.
53468         (special_fill_min_subnorm): Likewise.
53469         (special_fill_minus_min_subnorm): Likewise.
53470         (special_real_inputs): Add min, -min, min_subnorm and
53471         -min_subnorm.
53472         (calc_generic_results): Handle mpfr_ff_f.
53473         * sysdeps/i386/fpu/libm-test-ulps: Update.
53474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53476 2013-12-16  Will Newton  <will.newton@linaro.org>
53478         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53479         (Aligned Memory Blocks): Add documentation for aligned_alloc
53480         and suggest it as an alternative to posix_memalign.
53481         (Hooks for Malloc): Document __memalign_hook is also called
53482         for aligned_alloc.  (Summary of Malloc): Add summary for
53483         aligned alloc.  Document __memalign_hook is also called
53484         for aligned_alloc.
53486 2013-12-16  Will Newton  <will.newton@linaro.org>
53488         * manual/memory.texi (Malloc Examples): Clarify default
53489         alignment documentation.  Suggest posix_memalign rather
53490         than memalign or valloc.
53491         (Aligned Memory Blocks): Remove suggestion to use memalign
53492         or valloc.  Remove obsolete comment about BSD.
53493         Document memalign errno values and mark the function obsolete.
53494         Document posix_memalign returned error codes.  Mark valloc
53495         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53496         called for posix_memalign and valloc.
53497         (Summary of Malloc): Add posix_memalign to function summary.
53498         __memalign_hook is also called for posix_memalign and valloc.
53500 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53502         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53503         TAYLOR_SIN.
53504         (__sin): Adjust.
53505         (__cos): Likewise.
53506         (sloww): Use mynumber union.  Expand ternary operator into
53507         if-else statements.
53508         (cslow): use mynumber union.
53510 2013-12-16  Allan McRae  <allan@archlinux.org>
53512         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53513         * configure: Regenerated.
53515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53517         [BZ #14120]
53518         * configure.ac: Added --enable-maintainer-mode. Check for
53519         autoconf when enabled.
53520         * configure: Regenerated.
53522         * nscd/nscd.service: New file.
53523         * nscd/nscd.tmpfiles: New file.
53525 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53527         [BZ #12100]
53528         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53529         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53530         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53531         (strstr): Add __strstr_sse2_unaligned ifunc.
53532         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53533         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53534         (strcasestr): Remove __strcasestr_sse42 ifunc.
53535         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53539 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53541         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53542         * sysdeps/sh/bits/fenv.h: ... here.
53543         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53545 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53547         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53550         hypotf multiarch implementations.
53551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53554         multiarch hypot for PPC64.
53555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53556         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53557         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53558         multiarch hypotf for PPC64.
53560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53561         modff multiarch implementations.
53562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53565         multiarch modf for PPC64.
53566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53569         multiarch modff for PPC64.
53571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53572         and logl multiarch implementations.
53573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53576         multiarch logb for PPC64.
53577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53580         multiarch logb for PPC64.
53581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53584         multiarch logb for PPC64.
53586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53587         isinff multiarch implementation.
53588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53589         file.
53590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53592         multiarch isinf for PPC64.
53593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53594         file.
53595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53596         multiarch isinff for PPC64.
53598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53599         finitef multiarch implementation.
53600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53601         file.
53602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53604         multiarch finite for PPC64.
53605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53606         file.
53607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53608         multiarch finitef for PPC64.
53610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53611         lrint multiarch implementation.
53612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53613         file.
53614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53616         multiarch llrint for PPC64.
53617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53618         multiarch lrint for PPC64.
53620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53621         copysignf multiarch implementation.
53622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53623         file.
53624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53625         file.
53626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53627         multiarch copysign for PPC64.
53628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53629         multiarch copysignf for PPC64.
53631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53632         multiarch implementation.
53633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53634         file.
53635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53636         file.
53637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53638         file.
53639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53640         file.
53641         multiarch llround for PPC64.
53642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53643         multiarch trunc for PPC64.
53644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53645         multiarch truncf for PPC64.
53647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53648         multiarch implementation.
53649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53650         file.
53651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53652         file.
53653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53654         file.
53655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53656         file.
53657         multiarch llround for PPC64.
53658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53659         multiarch round for PPC64.
53660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53661         multiarch roundf for PPC64.
53663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53664         multiarch implementation.
53665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53666         file.
53667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53668         file.
53669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53670         file.
53671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53672         file.
53673         multiarch llround for PPC64.
53674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53675         multiarch floor for PPC64.
53676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53677         multiarch floorf for PPC64.
53679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53680         multiarch implementation.
53681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53682         file.
53683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53684         file.
53685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53686         file.
53687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53688         file.
53689         multiarch llround for PPC64.
53690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53691         multiarch ceil for PPC64.
53692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53693         multiarch ceilf for PPC64.
53695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53696         multiarch implementation.
53697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53698         file.
53699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53700         file.
53701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53702         file.
53703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53704         multiarch llround for PPC64.
53705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53706         multiarch lround for PPC64.
53708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53709         multiarch implementation.
53710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53713         file.
53714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53717         multiarch isnan for PPC64.
53718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53719         multiarch isnanf for PPC64.
53721         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53722         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53723         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53724         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53725         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53728         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53729         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53734         multiarch implementations.
53735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53736         (__libc_ifunc_impl_list): Likewise.
53737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53739         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53740         multiarch stpcpy for PPC64.
53742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53743         multiarch implementations.
53744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53745         (__libc_ifunc_impl_list): Likewise.
53746         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53747         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53748         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53749         multiarch strcpy for PPC64.
53751         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53752         redefine function name.
53753         (_wordcopy_fwd_dest_aligned): Likewise.
53754         (_wordcopy_bwd_aligned): Likewise.
53755         (_wordcopy_bwd_dest_aligned): Likewise.
53756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53757         multiarch implementations.
53758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53759         (__libc_ifunc_impl_list): Likewise.
53760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53761         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53763         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53764         multiarch wcscpy for PPC64.
53766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53767         multiarch implementations.
53768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53769         (__libc_ifunc_impl_list): Likewise.
53770         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53771         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53772         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53773         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53774         multiarch wcscpy for PPC64.
53776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53777         multiarch implementations.
53778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53779         (__libc_ifunc_impl_list): Likewise.
53780         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53781         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53782         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53783         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53784         multiarch wcsrchr for PPC64.
53786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53787         multiarch implementations.
53788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53789         (__libc_ifunc_impl_list): Likewise.
53790         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53791         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53792         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53793         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53794         multiarch wcschr for PPC64.
53796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53797         multiarch implementations.
53798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53799         (__libc_ifunc_impl_list): Likewise.
53800         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53802         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53803         multiarch strchrnul for PPC64.
53805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53806         implementations.
53807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53808         (__libc_ifunc_impl_list): Likewise.
53809         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53810         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53811         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53812         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53813         strchr for PPC64.
53815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53816         implementations.
53817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53818         (__libc_ifunc_impl_list): Likewise.
53819         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53820         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53821         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53822         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53823         strncmp for PPC64.
53825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53826         multiarch implementations.
53827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53828         (__libc_ifunc_impl_list): Likewise.
53829         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53830         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53831         strncasecmp for PPC64.
53832         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53833         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53834         multiarch strncasecmp_l for PPC64.
53836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53837         multiarch implementations.
53838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53839         (__libc_ifunc_impl_list): Likewise.
53840         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53841         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53842         multiarch strcasecmp for PPC64.
53843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53844         file.
53845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53846         multiarch strcasecmp_l for PPC64.
53848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53849         implementations.
53850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53851         (__libc_ifunc_impl_list): Likewise.
53852         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53853         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53854         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53855         strnlen for PPC64.
53857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53858         implementations.
53859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53860         (__libc_ifunc_impl_list): Likewise.
53861         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53862         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53863         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53864         strlen for PPC64.
53866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53867         implementations.
53868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53869         (__libc_ifunc_impl_list): Likewise.
53870         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53871         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53872         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53873         rawmemrchr for PPC64.
53875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53876         implementation.
53877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53878         (__libc_ifunc_impl_list): Likewise.
53879         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53880         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53881         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53882         memrchr for PPC64.
53884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53885         implementation.
53886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53887         (__libc_ifunc_impl_list): Likewise.
53888         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53889         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53890         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53891         memchr for PPC64.
53893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53894         implementation.
53895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53896         (__libc_ifunc_impl_list): Likewise.
53897         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53898         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53899         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53900         mempcpy for PPC64.
53902         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53903         avoid cretion of __bzero symbol.
53904         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53905         Likewise.
53906         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53907         Likewise.
53908         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53909         Likewise.
53910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53911         multiarch implementations.
53912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53913         (__libc_ifunc_impl_list): Likewise.
53914         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53915         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53916         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53917         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53918         bzero for PPC32.
53919         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53920         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53921         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53922         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53923         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53924         memset for PPC64.
53925         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53927         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53929         implementations.
53930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53931         (__libc_ifunc_impl_list): Likewise.
53932         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53933         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53934         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53935         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53936         memcmp for PPC64.
53938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53939         multiarch for POWER/PPC64.
53940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53941         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53944         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53945         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53947         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53948         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53949         memcpy for PPC64.
53951         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53952         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53953         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53954         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53955         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53956         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53957         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53958         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53959         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53960         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53961         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53962         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53963         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53964         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53965         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53974 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53976         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53978 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * benchtests/Makefile (bench): Add exp2 and log2.
53981         (LDLIBS-bench-exp2): Add -lm.
53982         (LDLIBS-bench-log2): Likewise.
53983         * benchtests/exp2-inputs: New inputs file.
53984         * benchtests/log2-inputs: New inputs file.
53985         * benchtests/log-inputs: Add new inputs.
53986         * benchtests/tan-inputs: Likewise.
53988 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53990         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53991         definition...
53992         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53993         (csloww2): ... from here.
53995         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53996         instead of structures.
53997         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53998         (POLYNOMIAL): Likewise.
53999         (TAYLOR_SLOW): Likewise.
54000         (__sin): Likewise.
54001         (__cos): Likewise.
54002         (slow1): Likewise.
54003         (slow2): Likewise.
54004         (sloww): Likewise.
54005         (sloww1); Likewise.
54006         (sloww2): Likewise.
54007         (bsloww1): Likewise.
54008         (bsloww2): Likewise.
54009         (cslow2): Likewise.
54010         (csloww): Likewise.
54011         (csloww1): Likewise.
54012         (csloww2): Likewise.
54014 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54016         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54017         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54018         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54019         * malloc/hooks.c (realloc_check): Likewise.
54021         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54022         * malloc/arena.c: Remove PER_THREAD conditional.
54023         [!PER_THREAD]: Remove code.
54024         (ptmalloc_unlock_all2): Likewise.
54025         (ptmalloc_init): Likewise.
54026         (_int_new_arena): Likewise.
54027         (arena_get2): Likewise.
54028         * malloc/hooks.c (__malloc_get_state): Likewise.
54029         (__malloc_set_state): Likewise.
54030         * malloc/malloc.c: Likewise.
54031         (struct malloc_state): Likewise.
54032         (struct malloc_par): Likewise.
54033         (__libc_realloc): Likewise.
54034         (__libc_mallopt): Likewise.
54036 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54038         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54040 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54042         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54043         macro to a function.  Check for zero perturb_byte.
54044         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54046         * malloc/malloc.c: (force_reg): Remove.
54047         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54048         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54049         force_reg by atomic_forced_read.
54050         * malloc/arena.c (ptmalloc_init): Likewise.
54051         * malloc/hooks.c (top_check): Likewise.
54053 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54057 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54061 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54063         * math/auto-libm-test-in: Add tests of lgamma.
54064         * math/auto-libm-test-out: Regenerated.
54065         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54066         (M_LOG_2_SQRT_PIl): Likewise.
54067         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54068         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54069         mpfr_f_f1.
54070         (func_calc_desc): Add mpfr_f_f1 union field.
54071         (ARGS1): New macro.
54072         (ARGS2): Likewise.
54073         (ARGS3): Likewise.
54074         (ARGS4): Likewise.
54075         (RET1): Likewise.
54076         (RET2): Likewise.
54077         (CALC): Likewise.
54078         (FUNC): Likewise.
54079         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54080         (test_functions): Add lgamma.
54081         (calc_generic_results): Handle mpfr_f_f1.
54082         * sysdeps/i386/fpu/libm-test-ulps: Update.
54083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54085 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54087         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54088         __mpn_add_n for PowerPC64/POWER7.
54089         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54090         __mpn_sub_n for PowerPC64/POWER7.
54092         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54093         __mpn_addmul_1 for PowerPC64.
54094         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54095         __mpn_submul_1 for PowerPC64.
54096         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54097         for PowerPC64.
54098         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54099         for PowerPC64.
54101 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54103         [BZ #15089]
54104         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54106 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54108         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54110         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54111         add multiarch folders.
54112         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54113         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54114         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54115         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54116         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54117         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54118         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54119         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54120         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54121         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54122         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54131         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54133         New file.
54134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54135         New file.
54136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54137         multiarch __ieee754_hypot for PowerPC32.
54138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54139         New file.
54140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54141         New file.
54142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54143         multiarch __ieee754_hypotf for PowerPC32.
54145         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54146         long_double_symbol only if __logbl is defined.
54147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54148         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54150         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54152         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54153         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54154         path for implementation.
54155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54156         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54158         logb, and logbl multiarch implementations for PowerPC32.
54159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54160         file.
54161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54162         file.
54163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54164         multiarch logb for PowerPC32.
54165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54166         file.
54167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54168         file.
54169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54170         multiarch logbf for PowerPC32.
54171         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54173         file.
54174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54175         multiarch logbl implementation for PowerPC32.
54177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54178         and modff multiarch implementations.
54179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54180         New file.
54181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54182         New file.
54183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54184         multiarch modf for PowerPC32.
54185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54186         New file.
54187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54188         New file.
54189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54190         multiarch modff for PowerPC32.
54192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54193         and lrintf multiarch implementations.
54194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54195         New file.
54196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54197         New file.
54198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54199         multiarch lrint for PowerPC32.
54200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54201         file: multiarch lrintf for PowerPC32.
54203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54204         and lroundf multiarch implementations.
54205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54206         New file.
54207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54208         New file.
54209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54210         New file.
54211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54212         multiarch lround for PowerPC32.
54213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54214         file: multiarch lroundf for PowerPC32.
54216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54217         copysign and copysignf multiarch implementations.
54218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54219         New file.
54220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54221         New file.
54222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54223         file: multiarch copysign for PowerPC32.
54224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54225         file: multiarch copysignf for PowerPC32.
54227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54228         and truncf multiarch implementations.
54229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54230         New file.
54231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54232         file.
54233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54234         multiarch trunc for PowerPC32.
54235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54236         New file.
54237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54238         New file.
54239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54240         multiarch truncf for PowerPC32.
54242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54243         and roundf multiarch implementations.
54244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54245         New file.
54246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54247         file.
54248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54249         multiarch round for PowerPC32.
54250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54251         New file.
54252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54253         New file.
54254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54255         multiarch roundf for PowerPC32.
54257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54258         and floorf multiarch implementations.
54259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54260         New file.
54261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54262         file.
54263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54264         multiarch floor for PowerPC32.
54265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54266         New file.
54267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54268         New file.
54269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54270         multiarch floorf for PowerPC32.
54272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54273         and ceilf multiarch implementations.
54274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54275         New file.
54276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54277         file.
54278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54279         multiarch ceil for PowerPC32.
54280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54281         New file.
54282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54283         file.
54284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54285         multiarch ceilf for PowerPC32.
54287         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54288         is defined.
54289         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54290         FINITEF is defined.
54291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54292         and finitef multiarch implementations.
54293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54294         New file.
54295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54296         file.
54297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54298         multiarch finite for PowerPC32.
54299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54300         New file.
54301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54302         file: multiarch finitef for PowerPC32.
54304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54305         and isinff multiarch implementations.
54306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54307         file.
54308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54309         file.
54310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54311         multiarch isinf for PowerPC32.
54312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54313         New file.
54314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54315         multiarch isinff for PowerPC32.
54317         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54318         alias when __isnan is defined.
54319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54320         and isnanf multiarch implementations.
54321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54322         file.
54323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54324         file.
54325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54326         file.
54327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54328         file.
54329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54330         multiarch isnan for PowerPC32.
54331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54332         New file.
54333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54334         New file.
54335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54336         multiarch isnanf for PowerPC32.
54338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54339         and sqrtf multiarch implementations.
54340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54341         file.
54342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54343         file.
54344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54345         multiarch sqrt for PowerPC32.
54346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54347         file.
54348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54349         file.
54350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54351         multiarch sqrtf for PowerPC32.
54353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54354         and llroundf multiarch implementations.
54355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54356         New file.
54357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54358         New file.
54359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54360         New file.
54361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54362         file: multiarch llround for PowerPC32.
54363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54364         file: multiarch llroundf for PowerPC32.
54366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54367         multiarch PowerPC32 fpu implementations.
54368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54369         New file.
54370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54371         New file.
54372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54373         multiarch llrint for PowerPC32.
54374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54375         New file.
54376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54377         New file.
54378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54379         file.
54381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54383         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54384         file.
54385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54386         file.
54387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54388         file.
54389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54390         multiarch wordcopy for PPC32.
54391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54392         wordcopy objects.
54393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54394         (__libc_ifunc_impl_list): Likewise.
54395         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54396         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54397         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54398         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54399         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54400         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54402         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54404         file.
54405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54406         file.
54407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54408         file.
54409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54410         multiarch wcscpy for PPC32.
54411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54412         multiarch objects.
54413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54414         (__libc_ifunc_impl_list): Likewise.
54415         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54416         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54417         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54418         sysdeps/powerpc/power6/wcscpy.c.
54420         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54422         file.
54423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54424         file.
54425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54426         file.
54427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54428         multiarch wcsrchr for PPC32.
54429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54430         multiarch objects.
54431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54432         (__libc_ifunc_impl_list): Likewise.
54433         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54434         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54435         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54436         sysdeps/powerpc/power6/wcsrchr.c.
54438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54439         file.
54440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54441         file.
54442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54444         multiarch wcschr for PPc32.
54445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54446         multiarch objects.
54447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54448         (__libc_ifunc_impl_list): Likewise.
54449         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54450         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54451         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54452         sysdeps/powerpc/power6/wcschr.c.
54454         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54456         file.
54457         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54458         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54459         file: multiarch strchr for PPC32.
54460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54461         multiarch objects.
54462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54463         (__libc_ifunc_impl_list): Likewise.
54465         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54466         name.
54467         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54468         file.
54469         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54470         file.
54471         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54472         multiarch strchrnul for PPC32.
54473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54474         multiarch objects.
54475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54476         (__libc_ifunc_impl_list): Likewise.
54478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54479         file.
54480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54481         multiarch strncasecmp for PPC32.
54482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54483         file.
54484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54485         multiarch strncasecmp_l for PPC32.
54486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54487         strncasecmp multiarch objects.
54488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54489         (__libc_ifunc_impl_list): Likewise.
54491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54492         file.
54493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54494         multiarch strncasecmp for PPC32.
54495         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54496         New file.
54497         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54498         multiarch strcasecmp_l for PPC32.
54499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54500         multiarch objects.
54501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54502         (__libc_ifunc_impl_list): Likewise.
54504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54505         file.
54506         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54507         file.
54508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54509         multiarch strncmp for PPC32.
54510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54511         multiarch objects.
54512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54513         (__libc_ifunc_impl_list): Likewise.
54515         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54516         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54517         file.
54518         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54521         multiarch objects.
54522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54523         (__libc_ifunc_impl_list): Likewise.
54525         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54526         file.
54527         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54528         file.
54529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54531         multiarch objects.
54532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54533         (__libc_ifunc_impl_list): Likewise.
54535         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54536         file.
54537         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54538         file.
54539         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54540         multiarch rawmemchr for PPC32.
54541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54542         multiarch objects.
54543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54544         (__libc_ifunc_impl_list): Likewise.
54546         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54547         file.
54548         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54549         file.
54550         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54551         file: memrchr multiarch for PPC32.
54552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54553         multiarch objects.
54554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54555         (__libc_ifunc_impl_list): Likewise.
54557         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54558         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54559         file.
54560         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54562         multiarch memchr for PPC32.
54563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54564         multiarch objects.
54565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54566         (__libc_ifunc_impl_list): Likewise.
54568         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54569         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54570         file.
54571         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54572         file.
54573         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54574         file: multiarch mempcpy for PPC32.
54575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54576         multiarch objects.
54577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54578         (__libc_ifunc_impl_list): Likewise.
54580         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54581         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54582         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54583         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54584         multiarch bzero for PPC32.
54585         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54586         file.
54587         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54588         file.
54589         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54590         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54591         file: multiarch memset for PPC32.
54592         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54594         memset multiarch objects.
54595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54596         (__libc_ifunc_impl_list): Likewise.
54598         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54599         file.
54600         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54602         memcmp for PPC32.
54603         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54605         multiarch objects.
54606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54607         (__libc_ifunc_impl_list): Likewise.
54609         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54611         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54612         file.
54613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54614         file.
54615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54616         file.
54617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54618         multiarch memcpy for PPC32.
54619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54620         multiarch objects.
54621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54622         (__libc_ifunc_impl_list): Likewise.
54624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54625         support multiarch for POWER/PPC32.
54626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54627         Likewise.
54628         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54630         Implies file to make multiarch folder appers before the fpu and
54631         default folder for power4 configuration.
54633 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54635         * scripts/bench.pl: Append volatile keyword to type.
54637 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54639         * sysdeps/sh/sotruss-lib.c: New file.
54640         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54642 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54646 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54648         [BZ #6810]
54649         * math/w_tgamma.c: Include <errno.h>.
54650         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54651         * math/w_tgammaf.c: Include <errno.h>.
54652         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54653         * math/w_tgammal.c: Include <errno.h>.
54654         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54655         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54656         underflow.  Add more tgamma tests.
54657         * math/auto-libm-test-out: Regenerated.
54658         * sysdeps/i386/fpu/libm-test-ulps: Update.
54659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54661         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54662         sin, sinh, tan, tanh, tgamma, y0 and y1.
54663         * math/auto-libm-test-out: Regenerated.
54664         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54665         (TEST_COND_x86): Likewise.
54666         (M_E2l): Remove macro.
54667         (M_E3l): Likewise.
54668         (M_2_SQRT_PIl): Likewise.
54669         (M_SQRT_PIl): Likewise.
54670         (M_1_DIV_El): Likewise.
54671         (log_test_data): Use AUTO_TESTS_f_f.
54672         (log10_test_data): Likewise.
54673         (log1p_test_data): Likewise.
54674         (log2_test_data): Likewise.
54675         (sin_test_data): Likewise.
54676         (sin_tonearest_test_data): Likewise.
54677         (sin_towardzero_test_data): Likewise.
54678         (sin_downward_test_data): Likewise.
54679         (sin_upward_test_data): Likewise.
54680         (sinh_test_data): Likewise.
54681         (sinh_tonearest_test_data): Likewise.
54682         (sinh_towardzero_test_data): Likewise.
54683         (sinh_downward_test_data): Likewise.
54684         (sinh_upward_test_data): Likewise.
54685         (tan_test_data): Likewise.
54686         (tan_tonearest_test_data): Likewise.
54687         (tan_towardzero_test_data): Likewise.
54688         (tan_downward_test_data): Likewise.
54689         (tan_upward_test_data): Likewise.
54690         (tanh_test_data): Likewise.
54691         (tgamma_test_data): Likewise.
54692         (y0_test_data): Likewise.
54693         (y1_test_data): Likewise.
54694         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54695         (special_real_inputs): Add pi/4.
54696         * sysdeps/i386/fpu/libm-test-ulps: Update.
54697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54699 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54702         "longjmp_target" static probes.
54703         (__longjmp): Rename to __longjmp_symbol.
54704         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54705         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54706         on which longjmp to generate.
54707         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54708         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54709         probe.
54710         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54711         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54713         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54714         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54715         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54717         __longjmp_symbol based on which __longjmp to generate.
54718         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54719         probe.
54720         (setjmp): Rename to setjmp_symbol.
54721         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54722         (_setjmp): Rename to _setjmp_symbol.
54723         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54724         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54725         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54726         which setjmp to generate.
54727         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54728         "longjmp_target" static probes.
54730 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54732         * benchtests/README: Add note about output arguments.
54733         * benchtests/bench-sincos.c: Remove file.
54734         * benchtests/sincos-inputs: New file.
54735         * scripts/bench.pl: Identify output arguments and define
54736         static variables for them.
54738         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54740         [BZ #15941]
54741         * Makefile (INSTALL): Add install-plain.texi as the primary
54742         dependency.
54743         * manual/install-plain.texi: New file.
54744         * manual/install.texi: Include node directive only for
54745         non-plaintext output.
54747 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54749         * stdlib/longlong.h: Update from GCC.
54751         [BZ #6807]
54752         [BZ #15901]
54753         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54754         * math/w_j0f.c (y0f): Likewise.
54755         * math/w_j0l.c (__y0l): Likewise.
54756         * math/w_j1.c (y1): Likewise.
54757         * math/w_j1f.c (y1f): Likewise.
54758         * math/w_j1l.c (__y1l): Likewise.
54759         * math/w_jn.c (yn): Likewise.
54760         * math/w_jnf.c (ynf): Likewise.
54761         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54762         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54763         value for Bessel function domain errors outside _SVID_ mode.
54764         Adjust sign of return value for yn (negative integer, 0).
54765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54766         by zero in return for negative x and set sign appropriately for
54767         negative n.
54768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54769         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54770         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54771         expectations in error cases.
54772         (y1_test_data): Likewise.
54773         (yn_test_data): Likewise.
54774         * sysdeps/i386/fpu/libm-test-ulps: Update.
54775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54777 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54779         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54780         "64" to "64-v1".  Add "64-v2".
54781         (abi-64-options): Rename to ...
54782         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54783         (abi-64-condition): Rename to ...
54784         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54785         (abi-64-ld-soname): Rename to ...
54786         (abi-64-v1-ld-soname): ... this.
54787         (abi-64-v2-options): Define.
54788         (abi-64-v2-condition): Likewise.
54789         (abi-64-v2-ld-soname): Likewise.
54790         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54791         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54796 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54797             Alan Modra  <amodra@gmail.com>
54799         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54800         New versions for use with the ELFv2 ABI.
54801         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54802         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54803         declaration.
54804         (struct La_ppc64v2_retval): Likewise.
54805         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54806         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54807         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54808         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54809         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54810         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54811         Do not save or restore CR.
54812         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54813         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54814         return values for ELFv2 ABI.  Fix location of FPR return registers.
54815         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54816         updated values for _CALL_ELF == 2.
54817         (La_regs, La_retval, int_retval): Likewise.
54819 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54821         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54822         (FRAME_MIN_SIZE_PARM): Likewise.
54823         (FRAME_BACKCHAIN): Likewise.
54824         (FRAME_CR_SAVE): Likewise.
54825         (FRAME_LR_SAVE): Likewise.
54826         (FRAME_TOC_SAVE): Likewise.
54827         (FRAME_PARM_SAVE): Likewise.
54828         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54829         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54830         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54831         (call_mcount_parm_offset): New macro.
54832         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54833         (PROF): Use symbolic stack frame offsets.
54834         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54836         Redefine in terms of FRAME_MIN_SIZE.
54837         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54838         (_dl_profile_resolve): Likewise.  Update comment.
54839         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54840         symbols stack frame offsets.
54841         (__sigsetjmp): Likewise.
54842         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54843         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54844         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54845         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54848         (FRAME_BACKCHAIN): Remove.
54849         (FRAME_CR_SAVE): Likewise.
54850         (FRAME_LR_SAVE): Likewise.
54851         (FRAME_COMPILER_DW): Likewise.
54852         (FRAME_LINKER_DW): Likewise.
54853         (FRAME_TOC_SAVE): Likewise.
54854         (FRAME_PARM_SAVE): Likewise.
54855         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54856         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54857         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54859         (CHECK_SP): Use symbolic stack frame offsets.
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54861         zone" instead of caller's parameter save area for temp storage.
54862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54863         Likewise.  Also, use symbolic stack frame offsets.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54865         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54866         our own stack frame instead of the caller's.
54867         (__socket): Use symbolic stack frame offsets.
54869 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54870             Alan Modra  <amodra@gmail.com>
54872         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54873         Define.
54874         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54875         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54876         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54877         New function.
54878         (elf_machine_fixup_plt): Call it.
54879         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54880         reloc arguments.
54881         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54882         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54883         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54884         r2 before calling target.
54886 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54887             Alan Modra  <amodra@gmail.com>
54889         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54890         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54891         versions of macros to support ELFv2 ABI.
54892         (LOCALENTRY): New macro.
54893         (ENTRY, EALIGN): Use it.
54894         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54895         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54896         fall through into ENTRY entry point.
54897         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54898         Only define if _CALL_ELF != 2.
54900         (elf_machine_matches_host): Verify ABI version matches.
54901         (RTLD_START): Use LOCALENTRY.
54902         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54903         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54904         (PLT_ENTRY_WORDS): New macro.
54905         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54906         (elf_machine_runtime_setup): Support ELFv2 ABI.
54907         (elf_machine_fixup_plt): Likewise.
54908         (elf_machine_plt_conflict): Likewise.
54909         (resolve_ifunc): Likewise.
54910         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54912         Likewise.
54913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54914         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54916         (makecontext): Support ELFv2 ABI.
54917         * elf/elf.h (EF_PPC64_ABI): Define.
54919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54921         * sysdeps/powerpc/powerpc64/sysdep.h
54922         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54923         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54924         (ENTRY) [ASSEMBLER]: ... but instead here ...
54925         (EALIGN) [ASSEMBLER]: ... and here.
54926         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54927         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54928         (ENTRY_2) [!ASSEMBLER]: Use it.
54929         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54930         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54932         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54933         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54935         Use PPC64_LOAD_FUNCPTR.
54937         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54939 2013-12-04  Alan Modra  <amodra@gmail.com>
54941         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54942         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54943         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54944         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54946         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54947         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54948         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54949         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54950         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54951         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54953 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54956         (__makecontext): Fix incorrect CFI when backtracing out of
54957         context created via makecontext.
54958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54959         (__setcontext): Fix incorrect CFI during switch to new context.
54960         (__novec_setcontext): Likewise.
54962 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54964         [BZ #4772]
54965         * time/strptime_l.c (__strptime_internal): Allow modifiers
54966         in strptime.
54967         * time/tst-strptime.c (day_tests): Add testcase.
54969 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54971         * scripts/bench.pl: Skip over blank lines.
54973 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54975         [BZ #926]
54976         * manual/time.texi (Calendar Time): Clarify what timezone functions
54977         use.
54979 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54983 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54985         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54986         implementation.
54987         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54988         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54989         * debug/memset_chk.c (__memset_chk): Likewise.
54990         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54991         * debug/strncpy_chk.c: Likewise.
54993 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54995         [BZ #15268]
54996         [BZ #15425]
54997         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54998         (__ieee754_exp): For possibly underflowing results, check size of
54999         result and force underflow exception if required.
55000         * math/auto-libm-test-in: Add more tests of exp.
55001         * math/auto-libm-test-out: Regenerated.
55002         * sysdeps/i386/fpu/libm-test-ulps: Update.
55003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55005         [BZ #16283]
55006         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55007         * math/w_exp2f.c (__exp2f): Likewise.
55008         * math/w_exp2l.c (__exp2l): Likewise.
55009         * math/auto-libm-test-in: Do not allow missing errno on exp2
55010         underflow.
55011         * math/auto-libm-test-out: Regenerated.
55013 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55015         [BZ #16274]
55016         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55017         handle filename validation.
55018         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55019         (do_open): Delete.
55021 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55023         [BZ #6786]
55024         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55025         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55026         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55027         <float.h>.
55028         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55030         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55032         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55034         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55035         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55036         Add more erfc tests.
55037         * math/auto-libm-test-out: Regenerated.
55038         * sysdeps/i386/fpu/libm-test-ulps: Update.
55039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55041         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55042         exp2, expm1, j0 and j1.
55043         * math/auto-libm-test-out: Regenerated.
55044         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55045         (erfc_test_data): Likewise.
55046         (exp_test_data): Likewise.
55047         (exp_tonearest_test_data): Likewise.
55048         (exp_towardzero_test_data): Likewise.
55049         (exp_downward_test_data): Likewise.
55050         (exp_upward_test_data): Likewise.
55051         (exp10_test_data): Likewise.
55052         (exp2_test_data): Likewise.
55053         (expm1_test_data): Likewise.
55054         (j0_test_data): Likewise.
55055         (j1_test_data): Likewise.
55056         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55057         (input_flag_type): Add flag_xfail_rounding.
55058         (input_flags): Add xfail-rounding.
55059         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55060         (output_for_one_input_case): Handle flag_xfail_rounding.
55061         * sysdeps/i386/fpu/libm-test-ulps: Update.
55062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55064 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55066         [BZ #16289]
55067         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55068         division by 0.
55070 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55072         [BZ #16195]
55073         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55074         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55075         (STAP_PROBE0): New macro.
55076         (STAP_PROBE1): Likewise.
55077         (STAP_PROBE2): Likewise.
55078         (STAP_PROBE3): Likewise.
55079         (STAP_PROBE4): Likewise.
55081 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55083         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55085 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55087         * benchtests/Makefile (bench): Add sqrt.
55088         (LDLIBS-bench-sqrt): New.
55089         * benchtests/sqrt-input: New.
55091 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55093         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55094         (GAIH_EAI): Likewise.
55095         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55096         (gaih_inet): Likewise.
55097         (getaddrinfo): Don't use GAIH_EAI.
55099         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55100         (struct gaih): Remove definition.
55102 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55104         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55105         Use HERRNOP directly.
55107 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55111 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55113         * math/gen-auto-libm-tests.c (test_functions): Add more
55114         single-argument functions.
55115         (special_fill_pi_2): New function.
55116         (special_fill_minus_pi_2): Likewise.
55117         (special_fill_pi_6): Likewise.
55118         (special_fill_minus_pi_6): Likewise.
55119         (special_fill_pi_3): Likewise.
55120         (special_fill_2pi_3): Likewise.
55121         (special_fill_e): Likewise.
55122         (special_fill_1_e): Likewise.
55123         (special_fill_e_minus_1): Likewise.
55124         (special_real_inputs): Add more special inputs.
55125         (output_for_one_input_case): Do not require ERANGE on underflow to
55126         zero if round-to-nearest result does not underflow to zero, unless
55127         exact results required.
55128         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55129         atan, atanh, cbrt, cos and cosh.
55130         * math/auto-libm-test-out: Regenerated.
55131         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55132         (acos_tonearest_test_data): Likewise.
55133         (acos_towardzero_test_data): Likewise.
55134         (acos_downward_test_data): Likewise.
55135         (acos_upward_test_data): Likewise.
55136         (acosh_test_data): Likewise.
55137         (asin_test_data): Likewise.
55138         (asin_tonearest_test_data): Likewise.
55139         (asin_towardzero_test_data): Likewise.
55140         (asin_upward_test_data): Likewise.
55141         (asinh_test_data): Likewise.
55142         (atan_test_data): Likewise.
55143         (atanh_test_data): Likewise.
55144         (cbrt_test_data): Likewise.
55145         (cos_test_data): Likewise.
55146         (cos_tonearest_test_data): Likewise.
55147         (cos_towardzero_test_data): Likewise.
55148         (cos_downward_test_data): Likewise.
55149         (cos_upward_test_data): Likewise.
55150         (cosh_test_data): Likewise.
55151         (cosh_tonearest_test_data): Likewise.
55152         (cosh_towardzero_test_data): Likewise.
55153         (cosh_downward_test_data): Likewise.
55154         (cosh_upward_test_data): Likewise.
55155         * sysdeps/i386/fpu/libm-test-ulps: Update.
55156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55158 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55160         [BZ #6787]
55161         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55162         * math/w_exp10f.c (__exp10f): Likewise.
55163         * math/w_exp10l.c (__exp10l): Likewise.
55164         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55165         errno settings in existing tests.
55167         [BZ #14032]
55168         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55169         precision control set to double precision.
55170         * sysdeps/i386/fpu/w_sqrt.c: New file.
55171         * math/auto-libm-test-in: Add more tests.
55172         * math/auto-libm-test-out: Update.
55174         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55175         (sqrt_test_tonearest): New function.
55176         (sqrt_towardzero_test_data): New variable.
55177         (sqrt_test_towardzero): New function.
55178         (sqrt_downward_test_data): New variable.
55179         (sqrt_test_downward): New function.
55180         (sqrt_upward_test_data): New variable.
55181         (sqrt_test_upward): New function.
55182         (main): Call the new functions.
55184         * math/gen-auto-libm-tests.c: New file.
55185         * math/auto-libm-test-in: Likewise.
55186         * math/auto-libm-test-out: New generated file.
55187         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55188         variables.
55189         (%beautify): Add generated representations of zero.
55190         (top level): Set $auto_input and call parse_auto_input.
55191         (beautify): Remove trailing "f" from hex float constants.
55192         (parse_args): Handle XFAIL_TEST.
55193         (convert_condition): New function.
55194         (or_value): Likewise.
55195         (or_cond_value): Likewise.
55196         (generate_testfile): Handle AUTO_TESTS_* lines.
55197         (parse_auto_input): New function.
55198         * math/libm-test.inc (XFAIL_TEST): New macro.
55199         (ERRNO_UNCHANGED): Update value.
55200         (ERRNO_EDOM): Likewise.
55201         (ERRNO_ERANGE): Likewise.
55202         (IGNORE_RESULT): Likewise.
55203         (TEST_COND_flt_32): New macro.
55204         (TEST_COND_dbl_64): Likewise.
55205         (TEST_COND_ldbl_96_intel): Likewise.
55206         (TEST_COND_ldbl_96_m68k): Likewise.
55207         (TEST_COND_ldbl_128): Likewise.
55208         (TEST_COND_ldbl_128ibm): Likewise.
55209         (TEST_COND_long32): Likewise.
55210         (TEST_COND_long64): Likewise.
55211         (TEST_COND_before_rounding): Likewise.
55212         (TEST_COND_after_rounding): Likewise.
55213         (enable_test): Handle XFAIL_TEST flag.
55214         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55215         with finite results.
55216         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55217         auto-libm-test-out.
55219 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55220             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55222         [BZ #16214]
55223         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55224         __tls_get_addr_internal instead of __tls_get_offset in order to
55225         avoid GOT pointer dependency.  Make rtld export
55226         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55227         __tls_get_addr since we are a __tls_get_offset platform.
55228         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55229         GOT pointer being set up before.
55230         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55232 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55234         * manual/math.texi (Errors in Math Functions): Document accuracy
55235         goals.
55237         [BZ #15004]
55238         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55239         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55240         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55242         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55244         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55252         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55255         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55256         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55257         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55258         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55259         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55260         Likewise.
55261         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55262         Likewise.
55263         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55264         Likewise.
55265         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55266         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55267         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55268         atomic-feupdateenv and flt-rounds.
55269         * sysdeps/powerpc/nofpu/Versions (libc): Add
55270         __atomic_feholdexcept, __atomic_feclearexcept,
55271         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55273         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55275         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55276         here.
55277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55278         Update.
55280         * manual/arith.texi (FP Exceptions): Document that exceptions may
55281         not be raised when matherr is used.
55282         (Math Error Reporting): Document overflow in directed rounding
55283         modes.  Document that errno may not be set when finite values are
55284         returned on overflow.  Document intent to set errno on underflow
55285         only for underflow to zero.
55287         [BZ #16271]
55288         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55289         round-to-nearest then adjust result for other rounding modes.
55290         * include/fenv.h (fegetround): Use libm_hidden_proto.
55291         * math/fegetround.c (fegetround): Use libm_hidden_def.
55292         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55293         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55294         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55295         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55296         Likewise.
55297         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55298         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55299         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55300         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55302 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55304         [BZ #16077]
55305         * nss/Versions (libnss_files): Add
55306         _nss_files_gethostbyname3_r.
55307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55308         New function.
55309         (HOST_DB_LOOKUP): Remove macro.
55310         (_nss_files_gethostbyname_r): Implement function without the
55311         HOST_DB_LOOKUP macro.
55312         (_nss_files_gethostbyname2_r): Likewise.
55314 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55316         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55318 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55320         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55321         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55322         warning.
55324 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55326         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55327         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55328         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55329         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55330         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55331         __fe_nomask_env_priv and attribute_hidden.
55332         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55333         (libc_feupdateenv_test_ppc): Likewise.
55334         (libc_feresetround_ppc): Likewise.
55335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55336         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55337         compat_symbol macro.
55338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55339         (__fe_nomask_env): Likewise.
55340         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55342 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55344         * string/Makefile: Remove ifunc tests.
55345         * string/test-string.h: Define TEST_IFUNC.
55346         * string/test-bcopy-ifunc.c: Remove.
55347         * string/test-bzero-ifunc.c: Likewise.
55348         * string/test-memccpy-ifunc.c: Likewise.
55349         * string/test-memchr-ifunc.c: Likewise.
55350         * string/test-memcmp-ifunc.c: Likewise.
55351         * string/test-memcpy-ifunc.c: Likewise.
55352         * string/test-memmem-ifunc.c: Likewise.
55353         * string/test-memmove-ifunc.c: Likewise.
55354         * string/test-mempcpy-ifunc.c: Likewise.
55355         * string/test-memrchr-ifunc.c: Likewise.
55356         * string/test-memset-ifunc.c: Likewise.
55357         * string/test-rawmemchr-ifunc.c: Likewise.
55358         * string/test-stpcpy-ifunc.c: Likewise.
55359         * string/test-stpncpy-ifunc.c: Likewise.
55360         * string/test-strcasecmp-ifunc.c: Likewise.
55361         * string/test-strcasestr-ifunc.c: Likewise.
55362         * string/test-strcat-ifunc.c: Likewise.
55363         * string/test-strchr-ifunc.c: Likewise.
55364         * string/test-strchrnul-ifunc.c: Likewise.
55365         * string/test-strcmp-ifunc.c: Likewise.
55366         * string/test-strcpy-ifunc.c: Likewise.
55367         * string/test-strcspn-ifunc.c: Likewise.
55368         * string/test-strlen-ifunc.c: Likewise.
55369         * string/test-strncasecmp-ifunc.c: Likewise.
55370         * string/test-strncat-ifunc.c: Likewise.
55371         * string/test-strncmp-ifunc.c: Likewise.
55372         * string/test-strncpy-ifunc.c: Likewise.
55373         * string/test-strnlen-ifunc.c: Likewise.
55374         * string/test-strpbrk-ifunc.c: Likewise.
55375         * string/test-strrchr-ifunc.c: Likewise.
55376         * string/test-strspn-ifunc.c: Likewise.
55377         * string/test-strstr-ifunc.c: Likewise.
55379 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55381         * benchtests/Makefile: Remove ifunc tests.
55382         * benchtests/bench-string.h: Define TEST_IFUNC.
55383         * benchtests/bench-bcopy-ifunc.c: Remove.
55384         * benchtests/bench-bzero-ifunc.c: Likewise.
55385         * benchtests/bench-memccpy-ifunc.c: Likewise.
55386         * benchtests/bench-memchr-ifunc.c: Likewise.
55387         * benchtests/bench-memcmp-ifunc.c: Likewise.
55388         * benchtests/bench-memcpy-ifunc.c: Likewise.
55389         * benchtests/bench-memmem-ifunc.c: Likewise.
55390         * benchtests/bench-memmove-ifunc.c: Likewise.
55391         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55392         * benchtests/bench-memrchr-ifunc.c: Likewise.
55393         * benchtests/bench-memset-ifunc.c: Likewise.
55394         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55395         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55396         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55397         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55398         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55399         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55400         * benchtests/bench-strcat-ifunc.c: Likewise.
55401         * benchtests/bench-strchr-ifunc.c: Likewise.
55402         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55403         * benchtests/bench-strcmp-ifunc.c: Likewise.
55404         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55405         * benchtests/bench-strcpy-ifunc.c: Likewise.
55406         * benchtests/bench-strcspn-ifunc.c: Likewise.
55407         * benchtests/bench-strlen-ifunc.c: Likewise.
55408         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55409         * benchtests/bench-strncat-ifunc.c: Likewise.
55410         * benchtests/bench-strncmp-ifunc.c: Likewise.
55411         * benchtests/bench-strncpy-ifunc.c: Likewise.
55412         * benchtests/bench-strnlen-ifunc.c: Likewise.
55413         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55414         * benchtests/bench-strrchr-ifunc.c: Likewise.
55415         * benchtests/bench-strsep-ifunc.c: Likewise.
55416         * benchtests/bench-strspn-ifunc.c: Likewise.
55417         * benchtests/bench-strstr-ifunc.c: Likewise.
55419 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55421         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55423 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55425         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55426         * rt/aio.h: Likewise.
55427         * sysdeps/gnu/bits/utmp.h: Likewise.
55428         * sysdeps/gnu/bits/utmpx.h: Likewise.
55429         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55430         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55431         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55432         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55433         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55434         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55435         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55436         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55437         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55438         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55439         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55440         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55441         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55443         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55444         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55445         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55446         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55447         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55448         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55449         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55450         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55451         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55452         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55453         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55455         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55456         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55457         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55458         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55459         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55460         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55461         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55462         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55463         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55464         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55465         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55466         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55467         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55468         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55469         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55470         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55472 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55474         [BZ #16245]
55475         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55476         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55478 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55480         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55482         Likewise.
55484 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55486         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55487         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55488         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55489         (__fesetround): Remove define.
55490         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55491         rounding and exceptions handling.
55492         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55493         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55494         (__fe_nomask_env): Likewise.
55495         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55496         __fegetround instead of fegetround.
55497         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55498         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55500 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55502         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55503         it's there.
55505         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55507 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55509         [BZ #11157]
55510         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55511         (encrypt_r): Likewise.
55512         * malloc/obstack.h (obstack_free): Likewise.
55513         * posix/unistd.h (encrypt): Likewise.
55515 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55517         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55518         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55519         DL_CALL_DT_FINI() that call the functions directly.
55520         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55521         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55522         * elf/dl-fini.c: Likewise.
55524 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55526         * malloc/hooks.c (memalign_check): Add alignment rounding.
55527         * malloc/malloc.c (_mid_memalign): New function.
55528         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55529         Implement by calling _mid_memalign.
55530         * manual/probes.texi (Memory Allocation Probes): Remove
55531         memory_valloc_retry and memory_pvalloc_retry.
55533 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55535         * locale/programs/locarchive.c (open_archive): Add const
55536         qualifier to ARCHIVEFNAME and copy default fname to
55537         DEFAULT_FNAME.
55539         [BZ #15601]
55540         * libio/tst-widetext.input: Rename Oriya to Odia.
55541         * locale/iso-639.def: Likewise.
55543         * manual/probes.texi (Mathematical Function Probes): Add
55544         documentation for sin, cos, asin and acos probes.
55545         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55546         (__sin32): Add slowasin probe.
55547         (__cos32): Add slowacos probe.
55548         (__mpsin): Add slowsin probe.
55549         (__mpcos): Add slowcos probe.
55551 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55553         [BZ #15483]
55554         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55555         thread-local __sim_exceptions_thread and global
55556         __sim_exceptions_global.
55557         (__sim_disabled_exceptions): Change to thread-local
55558         __sim_disabled_exceptions_thread and global
55559         __sim_disabled_exceptions_global.
55560         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55561         and global __sim_round_mode_global.
55562         (__simulate_exceptions): Use thread-local floating-point state and
55563         set global state from it as needed.
55564         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55565         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55566         __sim_round_mode_thread.
55567         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55568         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55569         and global __sim_exceptions_global.
55570         (__sim_disabled_exceptions): Change to thread-local
55571         __sim_disabled_exceptions_thread and global
55572         __sim_disabled_exceptions_global.
55573         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55574         and global __sim_round_mode_global.
55575         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55576         (SIM_SET_GLOBAL): Likewise.
55577         * sysdeps/powerpc/soft-fp/sfp-machine.h
55578         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55579         __sim_round_mode_thread.
55580         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55581         __sim_disabled_exceptions_thread.
55582         (__sim_exceptions): Change to __sim_exceptions_thread.
55583         (__sim_disabled_exceptions): Change to
55584         __sim_disabled_exceptions_thread.
55585         (__sim_round_mode): Change to __sim_round_mode_thread.
55586         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55587         thread-local floating-point state and set global state from it as
55588         needed.
55589         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55590         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55591         (__sim_disabled_exceptions): Remove extern declaration.
55592         (feenableexcept): Use thread-local floating-point state and set
55593         global state from it as needed.
55594         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55595         extern declaration.
55596         (__sim_disabled_exceptions): Likewise.
55597         (__sim_round_mode): Likewise.
55598         (__fegetenv): Use thread-local floating-point state.
55599         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55600         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55601         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55602         floating-point state and set global state from it as needed.
55603         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55604         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55605         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55606         Likewise.
55607         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55608         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55609         Likewise.
55610         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55611         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55612         Use __sim_round_mode_thread.
55613         * math/test-fenv-tls.c: New file.
55614         * math/Makefile (tests): Add test-fenv-tls.
55615         ($(objpfx)test-fenv-tls): Depend on
55616         $(common-objpfx)nptl/libpthread.so.
55618 2013-11-19  Andreas Schwab  <schwab@suse.de>
55620         * locale/programs/locale.c (show_info): Decode wordarray elements.
55621         * locale/categories.def (LC_MONETARY): Add element for
55622         _NL_MONETARY_CRNCYSTR.
55623         * locale/C-monetary.c (conversion_rate): New variable.
55624         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55625         element.
55627 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55629         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55630         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55632 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55634         * elf/Makefile (tst-auxv): New test.
55635         * elf/tst-auxv.c: New
55636         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55638 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55640         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55641         (hidden_proto): Caller changed.
55642         (hidden_tls_proto): New macro.
55643         (libc_hidden_tls_proto): Likewise.
55644         (rtld_hidden_tls_proto): Likewise.
55645         (libm_hidden_tls_proto): Likewise.
55646         (libresolv_hidden_tls_proto): Likewise.
55647         (librt_hidden_tls_proto): Likewise.
55648         (libdl_hidden_tls_proto): Likewise.
55649         (libnss_files_hidden_tls_proto): Likewise.
55650         (libnsl_hidden_tls_proto): Likewise.
55651         (libnss_nisplus_hidden_tls_proto): Likewise.
55652         (libutil_hidden_tls_proto): Likewise.
55654 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55656         [BZ #10253]
55657         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55658         (decompose_rpath): Defer expansion to fillin_rpath.
55659         (_dl_init_paths): Pass linkmap to fillin_rpath.
55661 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55663         * benchtests/Makefile: Add strsep.
55664         * benchtests/bench-strsep.c: New file: strsep benchtest.
55665         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55667 2013-11-18  Andreas Schwab  <schwab@suse.de>
55669         * locale/programs/locale.c (show_info) [case byte]: Check for
55670         '\377' instead of '\177'.
55671         * locale/C-monetary.c (not_available): Always use "\377".
55672         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55673         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55674         detect unavailable sign_posn locale elements.
55675         * locale/localeconv.c (__localeconv): For grouping and
55676         mon_grouping handle "\177" and "\377" like no grouping.
55677         (INT_ELEM): New macro.  Use it to set all numeric members.
55678         * locale/programs/ld-monetary.c (monetary_read)
55679         <tok_mon_grouping>: Normalize single -1 to the empty string.
55680         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55681         Likewise.
55683 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55685         [BZ #16055]
55686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55687         when we match (nil).
55688         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55690 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55692         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55693         (NO_TEST_INLINE): Update value.
55694         (ERRNO_UNCHANGED): Likewise.
55695         (ERRNO_EDOM): Likewise.
55696         (ERRNO_ERANGE): Likewise.
55697         (IGNORE_RESULT): Likewise.
55698         (check_float_internal): Check signs of NaN results if
55699         TEST_NAN_SIGN used.
55700         (check_complex): Pass TEST_NAN_SIGN flag through to second
55701         check_float_internal call.
55702         (copysign_test_data): Add tests with quiet NaNs as second
55703         argument.  Use TEST_NAN_SIGN.
55704         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55705         TEST_NAN_SIGN.
55706         (signbit_test_data): Add tests of quiet NaN argument.
55707         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55709         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55710         $ignore_result.
55711         (parse_args): Handle function results specified as IGNORE.
55712         * math/libm-test.inc (IGNORE_RESULT): New macro.
55713         (check_float_internal): Do not check numerical result if flag
55714         IGNORE_RESULT set.
55715         (check_complex): Pass through IGNORE_RESULT to second
55716         check_float_internal call.
55717         (check_int): Do not check numerical result if flag IGNORE_RESULT
55718         set.
55719         (check_long): Likewise.
55720         (check_bool): Likewise.
55721         (check_longlong): Likewise.
55722         (lrint_test_data): Add tests of infinite and NaN arguments.
55723         (lrint_tonearest_test_data): Likewise.
55724         (lrint_towardzero_test_data): Likewise.
55725         (lrint_downward_test_data): Likewise.
55726         (lrint_upward_test_data): Likewise.
55727         (llrint_test_data): Likewise.
55728         (llrint_tonearest_test_data): Likewise.
55729         (llrint_towardzero_test_data): Likewise.
55730         (llrint_downward_test_data): Likewise.
55731         (llrint_upward_test_data): Likewise.
55732         (lround_test_data): Likewise.
55733         (llround_test_data): Likewise.
55735         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55736         (ERRNO_UNCHANGED): Update value.
55737         (ERRNO_EDOM): Likewise.
55738         (ERRNO_ERANGE): Likewise.
55739         (NO_TEST_INLINE_FLOAT): New macro.
55740         (NO_TEST_INLINE_DOUBLE): Likewise.
55741         (enable_test): New function.
55742         (RUN_TEST_f_f): Check enable_test before running test.
55743         (RUN_TEST_2_f): Likewise.
55744         (RUN_TEST_fff_f): Likewise.
55745         (RUN_TEST_c_f): Likewise.
55746         (RUN_TEST_f_f1): Likewise.
55747         (RUN_TEST_fF_f1): Likewise.
55748         (RUN_TEST_fI_f1): Likewise.
55749         (RUN_TEST_ffI_f1): Likewise.
55750         (RUN_TEST_c_c): Likewise.
55751         (RUN_TEST_cc_c): Likewise.
55752         (RUN_TEST_f_i): Likewise.
55753         (RUN_TEST_f_i_tg): Likewise.
55754         (RUN_TEST_ff_i_tg): Likewise.
55755         (RUN_TEST_f_b): Likewise.
55756         (RUN_TEST_f_b_tg): Likewise.
55757         (RUN_TEST_f_l): Likewise.
55758         (RUN_TEST_f_L): Likewise.
55759         (RUN_TEST_fFF_11): Likewise.
55760         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55761         conditionals.
55762         (cosh_test_data): Likewise.
55763         (exp_test_data): Likewise.
55764         (expm1_test_data): Likewise.
55765         (hypot_test_data): Likewise.
55766         (pow_test_data): Likewise.
55767         (sinh_test_data): Likewise.
55768         (tanh_test_data): Likewise.
55769         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55770         flags argument.
55772         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55773         tests with quiet NaN input and output.
55774         (acosh_test_data): Likewise.
55775         (asin_test_data): Likewise.
55776         (asinh_test_data): Likewise.
55777         (atan_test_data): Likewise.
55778         (atanh_test_data): Likewise.
55779         (atan2_test_data): Likewise.
55780         (cbrt_test_data): Likewise.
55781         (cos_test_data): Likewise.
55782         (cosh_test_data): Likewise.
55783         (erf_test_data): Likewise.
55784         (erfc_test_data): Likewise.
55785         (exp_test_data): Likewise.
55786         (exp10_test_data): Likewise.
55787         (exp2_test_data): Likewise.
55788         (expm1_test_data): Likewise.
55789         (hypot_test_data): Likewise.
55790         (j0_test_data): Likewise.
55791         (j1_test_data): Likewise.
55792         (jn_test_data): Likewise.
55793         (lgamma_test_data): Likewise.
55794         (log_test_data): Likewise.
55795         (log10_test_data): Likewise.
55796         (log1p_test_data): Likewise.
55797         (log2_test_data): Likewise.
55798         (pow_test_data): Likewise.
55799         (scalb_test_data): Likewise.
55800         (sin_test_data): Likewise.
55801         (sincos_test_data): Likewise.
55802         (sinh_test_data): Likewise.
55803         (tan_test_data): Likewise.
55804         (tanh_test_data): Likewise.
55805         (tgamma_test_data): Likewise.
55806         (y0_test_data): Likewise.
55807         (y1_test_data): Likewise.
55808         (yn_test_data): Likewise.
55810         [BZ #16167]
55811         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55812         argument being NaN and avoid computations with second argument in
55813         that case.
55814         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55815         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55816         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55818 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55820         * locale/iso-639.def: Add Chitwani Tharu (the).
55822 2013-11-14  Andreas Schwab  <schwab@suse.de>
55824         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55825         word instead of empty string.
55827 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55830         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55832         (__fe_nomask_env): Likewise.
55834 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55836         * benchtests/bench-timing.h: Include time.h.
55838 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55840         [BZ #15997]
55841         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55842         to 3.4.0 for x32.
55843         * sysdeps/unix/sysv/linux/configure: Regenerated.
55845 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55847         [BZ #16151]
55848         * stdlib/strtod_l.c (round_and_return): Do not consider
55849         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55850         exponent one less than half the least subnormal exponent.
55851         * stdlib/test-strtod-round-data: Add more tests.
55852         * stdlib/tst-strtod-round.c (tests): Regenerated.
55854 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55856         [BZ #14143]
55857         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55858         (__fe_mask_env): Likewise.
55859         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55860         libm_hidden_proto and add function prototype.
55861         (__fe_mask_env): Add function prototype.
55862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55863         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55865         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55867         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55869 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55871         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55872         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55874 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55876         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55877         of htab_find_slot().
55879 2013-11-11  David S. Miller  <davem@davemloft.net>
55881         [BZ #16150]
55882         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55883         symbol in the non-vis3 case in static builds.
55884         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55885         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55886         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55887         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55889 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55891         [BZ #387]
55892         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55893         it is empty.
55895 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55897         * benchtests/Makefile: Add bench-strtod.
55898         * benchtests/bench-strtod.c: New file: strtod benchtest
55900 2013-11-11  Andreas Schwab  <schwab@suse.de>
55902         [BZ #16153]
55903         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55904         terminating NUL in key length.
55906 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55909         Add artificial ODP entry for vDSO symbol for PPC64.
55910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55911         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55913 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55915         [BZ #15374]
55916         * nss/getent.c (services_keys): Recognize services starting with digit.
55918 2013-11-06  David S. Miller  <davem@davemloft.net>
55920         [BZ #15985]
55921         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55922         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55924 2013-11-06  Will Newton  <will.newton@linaro.org>
55926         * manual/memory.texi (Malloc Examples): Remove register
55927         keyword from examples.
55929 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55931         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55933 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55935         [BZ #6981]
55936         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55937         depending on [__GCC_IEC_559 > 0].
55938         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55939         depending on [__GCC_IEC_559_COMPLEX > 0].
55941 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55943         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55944         to iso-639.def.
55946 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55948         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55950 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55952         [BZ #16112]
55953         * malloc/malloc (malloc_info): Do not handle first bin as
55954         special case.
55956 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55958         * locale/iso-639.def: Add Central Nahuatl (nhn).
55960 2013-11-01  Bruno Haible  <bruno@clisp.org>
55962         [BZ #7003]
55963         * manual/math.texi (BSD Random): Specify range upper bound as
55964         in POSIX.
55966 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55968         * locale/iso-639.def: Add Meadow Mari (mhr).
55970 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55972         [BZ #14752], [BZ #15763]
55973         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55974         Validate name.
55975         * rt/tst_shm.c: Add test for escaping directory.
55977 2013-10-31  Andreas Schwab  <schwab@suse.de>
55979         [BZ #15917]
55980         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55981         followed by 'x' as part of digit sequence.
55982         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55984 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55986         [BZ #16037]
55987         * configure.ac: allow GNU Make 4.0 and greater.
55988         * configure: Regenerated.
55990 2013-10-30  Will Newton  <will.newton@linaro.org>
55992         [BZ #16038]
55993         * malloc/hooks.c (memalign_check): Limit alignment to the
55994         maximum representable power of two.
55995         * malloc/malloc.c (__libc_memalign): Likewise.
55996         * malloc/tst-memalign.c (do_test): Add test for very
55997         large alignment values.
55998         * malloc/tst-posix_memalign.c (do_test): Likewise.
56000 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56002         [BZ #11087]
56003         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56004         (munmap_chunk): Likewise.
56005         (mremap_chunk): Likewise.
56007 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56009         [BZ #15799]
56010         * stdlib/div.c (div): Remove obsolete code.
56011         * stdlib/ldiv.c (ldiv): Likewise.
56012         * stdlib/lldiv.c (lldiv): Likewise.
56014 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56016         [BZ #16071]
56017         * nss/nss_files/files-XXX.c (get_contents_ret): New
56018         enumerator.
56019         (get_contents): New function.
56020         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56022 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56024         * configure.in: Moved to ...
56025         * configure.ac: ... here. Change reference to configure.in
56026         to configure.ac.
56027         * sysdeps/arm/preconfigure.ac: ... here.
56028         configure.in to configure.ac.
56029         * sysdeps/gnu/configure.in: Moved to ...
56030         * sysdeps/gnu/configure.ac: ... here.
56031         * sysdeps/i386/configure.in: Moved to ...
56032         * sysdeps/i386/configure.ac: ... here.
56033         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56034         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56035         * sysdeps/mach/configure.in: Moved to ...
56036         * sysdeps/mach/configure.ac: ... here.
56037         * sysdeps/mach/hurd/configure.in: Moved to ...
56038         * sysdeps/mach/hurd/configure.ac: ... here.
56039         * sysdeps/powerpc/configure.in: Moved to ...
56040         * sysdeps/powerpc/configure.ac: ... here.
56041         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56042         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56043         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56044         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56045         * sysdeps/s390/s390-32/configure.in: Moved to ...
56046         * sysdeps/s390/s390-32/configure.ac: ... here.
56047         * sysdeps/s390/s390-64/configure.in: Moved to ...
56048         * sysdeps/s390/s390-64/configure.ac: ... here.
56049         * sysdeps/sh/configure.in: Moved to ...
56050         * sysdeps/sh/configure.ac: ... here.
56051         * sysdeps/sparc/configure.in: Moved to ...
56052         * sysdeps/sparc/configure.ac: ... here.
56053         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56054         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56055         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56056         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56057         * sysdeps/x86_64/configure.in: Moved to ...
56058         * sysdeps/x86_64/configure.ac: ... here.
56059         * sysdeps/x86_64/preconfigure.in: Moved to ...
56060         * sysdeps/x86_64/preconfigure.ac: ... here.
56061         * aclocal.m4: Change reference to configure.in to configure.ac.
56062         * config.h.in: Likewise.
56063         * manual/install.texi: Likewise.
56064         * manual/maint.texi: Likewise.
56065         * Makefile: Likewise.
56066         * malloc/Makefile: Likewise.
56067         * nscd/Makefile: Likewise.
56068         * Makeconfig: Change reference to configure.in and
56069         preconfigure.in to configure.ac and preconfigure.ac
56070         respectively.
56071         * INSTALL: Regenerated.
56072         * configure: Likewise.
56073         * sysdeps/gnu/configure: Likewise.
56074         * sysdeps/i386/configure: Likewise.
56075         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56076         * sysdeps/mach/configure: Likewise.
56077         * sysdeps/mach/hurd/configure: Likewise.
56078         * sysdeps/powerpc/configure: Likewise.
56079         * sysdeps/powerpc/powerpc32/configure: Likewise.
56080         * sysdeps/powerpc/powerpc64/configure: Likewise.
56081         * sysdeps/s390/s390-32/configure: Likewise.
56082         * sysdeps/s390/s390-64/configure: Likewise.
56083         * sysdeps/sh/configure: Likewise.
56084         * sysdeps/sparc/configure: Likewise.
56085         * sysdeps/unix/sysv/linux/configure: Likewise.
56086         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56087         * sysdeps/x86_64/configure: Likewise.
56088         * sysdeps/x86_64/preconfigure: Likewise.
56090 2013-10-29  Andreas Schwab  <schwab@suse.de>
56092         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56094 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56096         * benchtests/pow-inputs: Add new inputs.
56098         * benchtests/exp-inputs: Add new inputs.
56100         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56101         conditional check for return value.
56102         (__cos32): Likewise.
56104 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56106         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56107         to provide a boost for large inputs with word alignment.
56108         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56109         implementation based on optimized PPC64 strcpy.
56110         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56111         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56112         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56113         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56115 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56117         [BZ #2801]
56118         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56120 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56122         [BZ #14876]
56123         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56124         * time/tst-strptime.c (day_tests): Add testcase.
56126 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56128         [BZ #14029]
56129         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56131 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56133         [BZ #16074]
56134         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56135         MAP_FAILED on error.
56137 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56139         [BZ #16072]
56140         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56141         heap for large requests.
56143 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56145         [BZ #9954]
56146         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56147         result if the result has no associated interface.
56148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56149         interface for all 127.X.Y.Z addresses.
56151 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56153         * locale/iso-639.def: Add Ligurian (lij)
56155 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56157         [BZ #15825]
56158         * sunrpc/rpc_main.c: Document rpcgen -5.
56160 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56162         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56164 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56166         [BZ #10278]
56167         * posix/glob.c: Match only directories when trailing slash is present.
56168         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56169         (main): Add testcase.
56171 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56173         [BZ #15670]
56174         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56176 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56178         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56179         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56180         AUTH_DES and cindex for FIPS 140-2.
56181         (DES Encryption): Add cindex FIPS 46-3.
56183         * locale/locarchive.h (struct locarhandle): Add fname.
56184         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56185         if an optional argument was specified to --list-archive,
56186         otherwise NULL.
56187         * locale/programs/locarchive.c (show_archive_content): Take new
56188         argument fname and pass it via ah.fname to open_archive.
56189         * locale/programs/localedef.h: Update decl.
56190         (open_archive): If AH->fname is non-null, open that file
56191         rather than the default file name, and don't ignore ENOENT.
56192         (create_archive): Set AH.fname to NULL.
56193         (delete_locales_from_archive): Likewise.
56194         (add_locales_to_archive): Likewise.
56195         * locale/programs/locfile.c (write_all_categories): Likewise.
56197 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56198             Aldy Hernandez  <aldyh@redhat.com>
56200         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56201         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56202         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56203         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56204         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56205         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56206         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56208         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56210         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56212         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56213         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56214         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56215         Likewise.
56216         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56217         Likewise.
56218         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56219         Likewise.
56220         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56221         Likewise.
56222         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56223         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56224         Likewise.
56225         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56226         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56227         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56228         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56229         Likewise.
56230         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56231         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56232         * sysdeps/powerpc/preconfigure: Likewise.
56233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56234         Likewise.
56235         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56236         Replace contents of file by #include of <fenv_libc.h>.
56237         * sysdeps/powerpc/soft-fp/sfp-machine.h
56238         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56239         and <sys/prctl.h>.
56240         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56243         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56253         Allow copysignl PLT reference to be missing.
56255 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56256             Joseph Myers  <joseph@codesourcery.com
56258         [BZ #15948]
56259         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56260         single character.
56261         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56263 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56265         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56266         * elf/tst-tls1.c: Likewise.
56267         * elf/tst-tls10.h: Likewise.
56268         * elf/tst-tls14.c: Likewise.
56269         * elf/tst-tls2.c: Likewise.
56270         * elf/tst-tls3.c: Likewise.
56271         * elf/tst-tls4.c: Likewise.
56272         * elf/tst-tls5.c: Likewise.
56273         * elf/tst-tls6.c: Likewise.
56274         * elf/tst-tls7.c: Likewise.
56275         * elf/tst-tls8.c: Likewise.
56276         * elf/tst-tls9.c: Likewise.
56277         * elf/tst-tlsmod1.c: Likewise.
56278         * elf/tst-tlsmod13.c: Likewise.
56279         * elf/tst-tlsmod13a.c: Likewise.
56280         * elf/tst-tlsmod14a.c: Likewise.
56281         * elf/tst-tlsmod16a.c: Likewise.
56282         * elf/tst-tlsmod16b.c: Likewise.
56283         * elf/tst-tlsmod2.c: Likewise.
56284         * elf/tst-tlsmod3.c: Likewise.
56285         * elf/tst-tlsmod4.c: Likewise.
56286         * elf/tst-tlsmod5.c: Likewise.
56287         * elf/tst-tlsmod6.c: Likewise.
56289 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56291         [BZ #12486]
56292         * malloc/malloc.c: remove checks for statistics.
56294 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56296         [BZ #15277]
56297         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56298         * inet/tst-network.c: Add testcase.
56300 2013-10-17  Andreas Schwab  <schwab@suse.de>
56302         [BZ #15218]
56303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56304         to determine canonical name.
56306 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56308         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56309         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56311         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56313         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56314         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56315         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56316         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56317         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56318         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56319         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56330         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56332         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56333         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56335         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56337         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56338         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56342         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56346         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56349         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56350         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56355         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56356         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56357         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56358         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56359         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56360         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56361         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56362         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56363         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56364         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56365         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56367 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56369         [BZ #16041]
56370         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56371         make result into a quiet NaN.
56373 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56375         * soft-fp/adddf3.c: Fix horizontal whitespace.
56376         * soft-fp/addsf3.c: Likewise.
56377         * soft-fp/addtf3.c: Likewise.
56378         * soft-fp/divdf3.c: Likewise.
56379         * soft-fp/divsf3.c: Likewise.
56380         * soft-fp/divtf3.c: Likewise.
56381         * soft-fp/double.h: Likewise.
56382         * soft-fp/eqdf2.c: Likewise.
56383         * soft-fp/eqsf2.c: Likewise.
56384         * soft-fp/eqtf2.c: Likewise.
56385         * soft-fp/extenddftf2.c: Likewise.
56386         * soft-fp/extended.h: Likewise.
56387         * soft-fp/extendsfdf2.c: Likewise.
56388         * soft-fp/extendsftf2.c: Likewise.
56389         * soft-fp/extendxftf2.c: Likewise.
56390         * soft-fp/fixdfdi.c: Likewise.
56391         * soft-fp/fixdfsi.c: Likewise.
56392         * soft-fp/fixdfti.c: Likewise.
56393         * soft-fp/fixsfdi.c: Likewise.
56394         * soft-fp/fixsfsi.c: Likewise.
56395         * soft-fp/fixsfti.c: Likewise.
56396         * soft-fp/fixtfdi.c: Likewise.
56397         * soft-fp/fixtfsi.c: Likewise.
56398         * soft-fp/fixtfti.c: Likewise.
56399         * soft-fp/fixunsdfdi.c: Likewise.
56400         * soft-fp/fixunsdfsi.c: Likewise.
56401         * soft-fp/fixunsdfti.c: Likewise.
56402         * soft-fp/fixunssfdi.c: Likewise.
56403         * soft-fp/fixunssfsi.c: Likewise.
56404         * soft-fp/fixunssfti.c: Likewise.
56405         * soft-fp/fixunstfdi.c: Likewise.
56406         * soft-fp/fixunstfsi.c: Likewise.
56407         * soft-fp/fixunstfti.c: Likewise.
56408         * soft-fp/floatdidf.c: Likewise.
56409         * soft-fp/floatdisf.c: Likewise.
56410         * soft-fp/floatditf.c: Likewise.
56411         * soft-fp/floatsidf.c: Likewise.
56412         * soft-fp/floatsisf.c: Likewise.
56413         * soft-fp/floatsitf.c: Likewise.
56414         * soft-fp/floattidf.c: Likewise.
56415         * soft-fp/floattisf.c: Likewise.
56416         * soft-fp/floattitf.c: Likewise.
56417         * soft-fp/floatundidf.c: Likewise.
56418         * soft-fp/floatundisf.c: Likewise.
56419         * soft-fp/floatunditf.c: Likewise.
56420         * soft-fp/floatunsidf.c: Likewise.
56421         * soft-fp/floatunsisf.c: Likewise.
56422         * soft-fp/floatunsitf.c: Likewise.
56423         * soft-fp/floatuntidf.c: Likewise.
56424         * soft-fp/floatuntisf.c: Likewise.
56425         * soft-fp/floatuntitf.c: Likewise.
56426         * soft-fp/fmadf4.c: Likewise.
56427         * soft-fp/fmasf4.c: Likewise.
56428         * soft-fp/fmatf4.c: Likewise.
56429         * soft-fp/gedf2.c: Likewise.
56430         * soft-fp/gesf2.c: Likewise.
56431         * soft-fp/getf2.c: Likewise.
56432         * soft-fp/ledf2.c: Likewise.
56433         * soft-fp/lesf2.c: Likewise.
56434         * soft-fp/letf2.c: Likewise.
56435         * soft-fp/muldf3.c: Likewise.
56436         * soft-fp/mulsf3.c: Likewise.
56437         * soft-fp/multf3.c: Likewise.
56438         * soft-fp/negdf2.c: Likewise.
56439         * soft-fp/negsf2.c: Likewise.
56440         * soft-fp/negtf2.c: Likewise.
56441         * soft-fp/op-1.h: Likewise.
56442         * soft-fp/op-2.h: Likewise.
56443         * soft-fp/op-4.h: Likewise.
56444         * soft-fp/op-8.h: Likewise.
56445         * soft-fp/op-common.h: Likewise.
56446         * soft-fp/quad.h: Likewise.
56447         * soft-fp/single.h: Likewise.
56448         * soft-fp/soft-fp.h: Likewise.
56449         * soft-fp/sqrtdf2.c: Likewise.
56450         * soft-fp/sqrtsf2.c: Likewise.
56451         * soft-fp/sqrttf2.c: Likewise.
56452         * soft-fp/subdf3.c: Likewise.
56453         * soft-fp/subsf3.c: Likewise.
56454         * soft-fp/subtf3.c: Likewise.
56455         * soft-fp/truncdfsf2.c: Likewise.
56456         * soft-fp/trunctfdf2.c: Likewise.
56457         * soft-fp/trunctfsf2.c: Likewise.
56458         * soft-fp/trunctfxf2.c: Likewise.
56459         * soft-fp/unorddf2.c: Likewise.
56460         * soft-fp/unordsf2.c: Likewise.
56461         * soft-fp/unordtf2.c: Likewise.
56463 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56465         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56466         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56468 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56470         * elf/dl-libc.c: Clear initfini list after freeing.
56472 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56474         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56475         * soft-fp/addsf3.c: Likewise.
56476         * soft-fp/addtf3.c: Likewise.
56477         * soft-fp/divdf3.c: Likewise.
56478         * soft-fp/divsf3.c: Likewise.
56479         * soft-fp/divtf3.c: Likewise.
56480         * soft-fp/double.h: Likewise.
56481         * soft-fp/eqdf2.c: Likewise.
56482         * soft-fp/eqsf2.c: Likewise.
56483         * soft-fp/eqtf2.c: Likewise.
56484         * soft-fp/extenddftf2.c: Likewise.
56485         * soft-fp/extended.h: Likewise.
56486         * soft-fp/extendsfdf2.c: Likewise.
56487         * soft-fp/extendsftf2.c: Likewise.
56488         * soft-fp/extendxftf2.c: Likewise.
56489         * soft-fp/fixdfdi.c: Likewise.
56490         * soft-fp/fixdfsi.c: Likewise.
56491         * soft-fp/fixdfti.c: Likewise.
56492         * soft-fp/fixsfdi.c: Likewise.
56493         * soft-fp/fixsfsi.c: Likewise.
56494         * soft-fp/fixsfti.c: Likewise.
56495         * soft-fp/fixtfdi.c: Likewise.
56496         * soft-fp/fixtfsi.c: Likewise.
56497         * soft-fp/fixtfti.c: Likewise.
56498         * soft-fp/fixunsdfdi.c: Likewise.
56499         * soft-fp/fixunsdfsi.c: Likewise.
56500         * soft-fp/fixunsdfti.c: Likewise.
56501         * soft-fp/fixunssfdi.c: Likewise.
56502         * soft-fp/fixunssfsi.c: Likewise.
56503         * soft-fp/fixunssfti.c: Likewise.
56504         * soft-fp/fixunstfdi.c: Likewise.
56505         * soft-fp/fixunstfsi.c: Likewise.
56506         * soft-fp/fixunstfti.c: Likewise.
56507         * soft-fp/floatdidf.c: Likewise.
56508         * soft-fp/floatdisf.c: Likewise.
56509         * soft-fp/floatditf.c: Likewise.
56510         * soft-fp/floatsidf.c: Likewise.
56511         * soft-fp/floatsisf.c: Likewise.
56512         * soft-fp/floatsitf.c: Likewise.
56513         * soft-fp/floattidf.c: Likewise.
56514         * soft-fp/floattisf.c: Likewise.
56515         * soft-fp/floattitf.c: Likewise.
56516         * soft-fp/floatundidf.c: Likewise.
56517         * soft-fp/floatundisf.c: Likewise.
56518         * soft-fp/floatunsidf.c: Likewise.
56519         * soft-fp/floatunsisf.c: Likewise.
56520         * soft-fp/floatuntidf.c: Likewise.
56521         * soft-fp/floatuntisf.c: Likewise.
56522         * soft-fp/floatuntitf.c: Likewise.
56523         * soft-fp/fmadf4.c: Likewise.
56524         * soft-fp/fmasf4.c: Likewise.
56525         * soft-fp/fmatf4.c: Likewise.
56526         * soft-fp/gedf2.c: Likewise.
56527         * soft-fp/gesf2.c: Likewise.
56528         * soft-fp/getf2.c: Likewise.
56529         * soft-fp/ledf2.c: Likewise.
56530         * soft-fp/lesf2.c: Likewise.
56531         * soft-fp/letf2.c: Likewise.
56532         * soft-fp/muldf3.c: Likewise.
56533         * soft-fp/mulsf3.c: Likewise.
56534         * soft-fp/multf3.c: Likewise.
56535         * soft-fp/negdf2.c: Likewise.
56536         * soft-fp/negsf2.c: Likewise.
56537         * soft-fp/negtf2.c: Likewise.
56538         * soft-fp/op-1.h: Likewise.
56539         * soft-fp/op-2.h: Likewise.
56540         * soft-fp/op-4.h: Likewise.
56541         * soft-fp/op-8.h: Likewise.
56542         * soft-fp/op-common.h: Likewise.
56543         * soft-fp/quad.h: Likewise.
56544         * soft-fp/single.h: Likewise.
56545         * soft-fp/soft-fp.h: Likewise.
56546         * soft-fp/sqrtdf2.c: Likewise.
56547         * soft-fp/sqrtsf2.c: Likewise.
56548         * soft-fp/sqrttf2.c: Likewise.
56549         * soft-fp/subdf3.c: Likewise.
56550         * soft-fp/subsf3.c: Likewise.
56551         * soft-fp/subtf3.c: Likewise.
56552         * soft-fp/truncdfsf2.c: Likewise.
56553         * soft-fp/trunctfdf2.c: Likewise.
56554         * soft-fp/trunctfsf2.c: Likewise.
56555         * soft-fp/trunctfxf2.c: Likewise.
56556         * soft-fp/unorddf2.c: Likewise.
56557         * soft-fp/unordsf2.c: Likewise.
56558         * soft-fp/unordtf2.c: Likewise.
56560 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56562         [BZ #15672]
56563         * misc/error.c (error_tail): Fix possible buffer overflow.
56565 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56567         [BZ #13028]
56568         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56569         address.
56571 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56573         [BZ #832]
56574         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56575         testing pipefail option.
56577 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56579         * soft-fp/double.h: Indent preprocessor directives inside #if.
56580         * soft-fp/extended.h: Likewise.
56581         * soft-fp/op-2.h: Likewise.
56582         * soft-fp/op-4.h: Likewise.
56583         * soft-fp/op-common.h: Likewise.
56584         * soft-fp/quad.h: Likewise.
56585         * soft-fp/single.h: Likewise.
56586         * soft-fp/soft-fp.h: Likewise.
56588 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56590         * iconv/iconv_prog.c: Fix typos.
56591         * stdio-common/psiginfo-data.h: Likewise.
56593 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56595         [BZ #15764]
56596         * locale/setlocale.c: Fix typo.
56598 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56600         [BZ #16036]
56601         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56602         signaling NaN arguments.
56603         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56604         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56606         [BZ #14910]
56607         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56608         unordered operands.
56609         * soft-fp/gesf2.c (__gesf2): Likewise.
56610         * soft-fp/getf2.c (__getf2): Likewise.
56611         * soft-fp/ledf2.c (__ledf2): Likewise.
56612         * soft-fp/lesf2.c (__lesf2): Likewise.
56613         * soft-fp/letf2.c (__letf2): Likewise.
56615         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56616         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56617         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56618         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56619         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56620         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56621         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56622         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56623         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56624         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56625         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56626         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56627         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56628         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56629         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56630         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56631         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56632         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56633         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56634         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56635         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56636         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56637         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56638         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56639         * soft-fp/floattidf.c (__floattidf): Likewise.
56640         * soft-fp/floattisf.c (__floattisf): Likewise.
56641         * soft-fp/floattitf.c (__floattitf): Likewise.
56642         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56643         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56644         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56645         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56646         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56647         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56648         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56649         * soft-fp/gesf2.c (__gesf2): Likewise.
56650         * soft-fp/getf2.c (__getf2): Likewise.
56651         * soft-fp/ledf2.c (__ledf2): Likewise.
56652         * soft-fp/lesf2.c (__lesf2): Likewise.
56653         * soft-fp/letf2.c (__letf2): Likewise.
56655         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56656         Undefine and redefine.
56657         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56658         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56659         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56660         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56661         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56662         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56663         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56664         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56665         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56666         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56667         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56668         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56669         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56670         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56671         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56673         [BZ #16032]
56674         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56675         without decrementing exponent if mantissa >= that for the
56676         denominator, not >.
56677         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56678         denominator, not >.  Decrement exponent in < case instead of
56679         incrementing in >= case.
56680         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56681         without decrementing exponent if mantissa >= that for the
56682         denominator, not >.
56684         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56685         computing saturated result for unsigned overflow.
56687 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56688             Jeff Law  <law@redhat.com>
56690         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56691         (atan2Mp): Add systemtap probe marker.
56692         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56693         (__ieee754_log): Add systemtap probe marker.
56694         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56695         (atanMp): Add systemtap probe marker.
56696         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56697         (tanMp): Add systemtap probe marker.
56698         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56699         (__slowexp): Add systemtap probe marker.
56700         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56701         (__slowpow): Add systemtap probe marker.
56702         * manual/probes.texi: Document probes.
56704 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56706         [BZ #15362]
56707         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56708         written.
56709         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56710         written.
56711         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56712         written to buffer but not flushed.
56713         * libio/iofwrite_u.c:  Likewise.
56714         * libio/iopadn.c:  Return bytes returned even if EOF was
56715         encountered.
56716         * libio/iowpadn.c:  Likewise.
56717         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56718         if _IO_padn does not write the whole buffer.
56719         [!COMPILE_WPRINTF] (PAD): Likewise.
56721 2013-10-10  David S. Miller  <davem@davemloft.net>
56723         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56724         directory block.
56726 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56728         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56729         instead of FSF address.
56730         * soft-fp/fixdfti.c: Likewise.
56731         * soft-fp/fixsfti.c: Likewise.
56732         * soft-fp/fixtfti.c: Likewise.
56733         * soft-fp/fixunsdfti.c: Likewise.
56734         * soft-fp/fixunssfti.c: Likewise.
56735         * soft-fp/fixunstfti.c: Likewise.
56736         * soft-fp/floattidf.c: Likewise.
56737         * soft-fp/floattisf.c: Likewise.
56738         * soft-fp/floattitf.c: Likewise.
56739         * soft-fp/floatuntidf.c: Likewise.
56740         * soft-fp/floatuntisf.c: Likewise.
56741         * soft-fp/floatuntitf.c: Likewise.
56742         * soft-fp/trunctfxf2.c: Likewise.
56744         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56745         * soft-fp/fixdfti.c: Likewise.
56746         * soft-fp/fixsfti.c: Likewise.
56747         * soft-fp/fixtfti.c: Likewise.
56748         * soft-fp/fixunsdfti.c: Likewise.
56749         * soft-fp/fixunssfti.c: Likewise.
56750         * soft-fp/fixunstfti.c: Likewise.
56751         * soft-fp/floattidf.c: Likewise.
56752         * soft-fp/floattisf.c: Likewise.
56753         * soft-fp/floattitf.c: Likewise.
56754         * soft-fp/floatuntidf.c: Likewise.
56755         * soft-fp/floatuntisf.c: Likewise.
56756         * soft-fp/floatuntitf.c: Likewise.
56757         * soft-fp/trunctfxf2.c: Likewise.
56759 2013-10-10  David S. Miller  <davem@davemloft.net>
56761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56763 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56765         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56766         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56767         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56768         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56769         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56770         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56771         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56774         for NaNs before doing comparisons on argument.
56775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56776         Likewise.
56778 2013-10-10  Will Newton  <will.newton@linaro.org>
56780         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56781         passed to _int_memalign does not overflow.
56783 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56785         * scripts/bench.pl: Add include-sources directive.
56786         * benchtests/README: Update documentation.
56788 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56790         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56791         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56792         instead of FP_INIT_ROUNDMODE.
56793         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56794         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56796         [BZ #16034]
56797         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56798         copy class of input value.
56799         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56800         not handle exceptions.
56801         * soft-fp/negsf2.c (__negsf2): Likewise.
56802         * soft-fp/negtf2.c (__negtf2): Likewise.
56803         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56805 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56807         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56808         semicolon.  From Linux kernel.
56810 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56812         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56814 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56816         [BZ #156]
56817         * manual/socket.texi: Added statement about buffer
56818         for gethostbyname2_r.
56820 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56822         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56823         Use .p2align directive instead, throughout.
56824         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56825         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56826         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56827         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56828         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56829         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56830         * sysdeps/x86_64/strchr.S: Likewise.
56831         * sysdeps/x86_64/strrchr.S: Likewise.
56833 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56835         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56837         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56839         * sysdeps/generic/math_private.h (__mpsin1): Remove
56840         declaration.
56841         (__mpcos1): Likewise.
56842         (__mpsin): New argument __range_reduce.
56843         (__mpcos): Likewise.
56844         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56845         (slow): Use __mpsin and __mpcos.
56846         (slow1): Likewise.
56847         (slow2): Likewise.
56848         (sloww): Likewise.
56849         (sloww1): Likewise.
56850         (sloww2): Likewise.
56851         (bsloww): Likewise.
56852         (bsloww1): Likewise.
56853         (bsloww2): Likewise.
56854         (cslow2): Likewise.
56855         (csloww): Likewise.
56856         (csloww1): Likewise.
56857         (csloww2): Likewise.
56858         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56859         range_reduce.  Merge in __mpsin1.
56860         (__mpcos): Likewise.
56861         (__mpsin1): Remove.
56862         (__mpcos1): Likewise.
56864 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56866         * locale/loadlocale.c (_nl_intern_locale_data): Use
56867         LOCFILE_ALIGNED_P.
56868         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56869         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56870         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56871         obstack data is appropriately aligned.
56872         (obstack_int32_grow_fast): Likewise.
56873         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56874         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56875         (add_locale_uint32_array): Likewise.
56877 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56879         * benchtests/Makefile: Remove ARGLIST and RET variables.
56880         ($(objpfx)bench-%.c): Pass only function name to the script.
56881         * benchtests/README: Update documentation.
56882         * benchtests/acos-inputs: Add new directives.
56883         * benchtests/acosh-inputs: Likewise.
56884         * benchtests/asin-inputs: Likewise.
56885         * benchtests/asinh-inputs: Likewise.
56886         * benchtests/atan-inputs: Likewise.
56887         * benchtests/atanh-inputs: Likewise.
56888         * benchtests/cos-inputs: Likewise.
56889         * benchtests/cosh-inputs: Likewise.
56890         * benchtests/exp-inputs: Likewise.
56891         * benchtests/log-inputs: Likewise.
56892         * benchtests/pow-inputs: Likewise.
56893         * benchtests/rint-inputs: Likewise.
56894         * benchtests/sin-inputs: Likewise.
56895         * benchtests/sinh-inputs: Likewise.
56896         * benchtests/tan-inputs: Likewise.
56897         * benchtests/tanh-inputs: Likewise.
56898         * scripts/bench.pl: Add support for new directives.
56900 2013-10-07  Alan Modra  <amodra@gmail.com>
56902         * README: Fix careless merge.
56904 2013-10-05  Alan Modra  <amodra@gmail.com>
56906         * NEWS: Mention powerpc64le support and bugs fixed.
56907         * README: Both big-endian and little-endian powerpc64 supported.
56909 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56911         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56912         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56913         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56914         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56916 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56918         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56919         match prototype.
56921 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56923         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56924         Move -mhard-float appending from
56925         ports/sysdeps/powerpc/powerpc32/Makefile.
56926         [$(with-fp) = yes] (ASFLAGS): Likewise.
56927         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56928         * sysdeps/powerpc/nofpu: Move directory from
56929         ports/sysdeps/powerpc/nofpu.
56930         * sysdeps/powerpc/soft-fp: Move directory from
56931         ports/sysdeps/powerpc/soft-fp.
56932         * sysdeps/powerpc/powerpc32/405: Move directory from
56933         ports/sysdeps/powerpc/powerpc32/405.
56934         * sysdeps/powerpc/powerpc32/440: Move directory from
56935         ports/sysdeps/powerpc/powerpc32/440.
56936         * sysdeps/powerpc/powerpc32/464: Move directory from
56937         ports/sysdeps/powerpc/powerpc32/464.
56938         * sysdeps/powerpc/powerpc32/476: Move directory from
56939         ports/sysdeps/powerpc/powerpc32/476.
56940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56941         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56943         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56945         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56947         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56949         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56950         * README: Update for powerpc-*-linux-gnu software floating point
56951         support in libc.
56953         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56954         case to powerpc/powerpc32*.
56955         * sysdeps/unix/sysv/linux/configure: Regenerated.
56957         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56958         (_FPU_MASK_OM): Define as 0x04.
56959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56961         0x00c10080.
56962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56963         0x0000003c.
56964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56967         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56968         getcontext_e500.
56969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56970         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56971         setcontext_e500.
56972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56973         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56974         and setcontext_e500.
56976 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56978         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56980 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56982         * manual/threads.texi (Default Thread Attributes): Fix typo.
56984 2013-10-04  Will Newton  <will.newton@linaro.org>
56986         * malloc/Makefile: Add tst-memalign.
56987         * malloc/tst-memalign.c: New file.
56989         * malloc/tst-posix_memalign.c: Add comments.
56990         (do_test): Add comments and call free on all potentially
56991         allocated pointers. Add space after cast.
56993         * malloc/tst-pvalloc.c: Add comments.
56994         (do_test): Add comments and call free on all potentially
56995         allocated pointers. Remove duplicate check for NULL pointer.
56996         Add space after cast.
56998         * malloc/tst-valloc.c: Add comments.
56999         (do_test): Add comments and call free on all potentially
57000         allocated pointers. Remove duplicate check for NULL pointer.
57001         Add space after cast.
57003 2013-10-04  Alan Modra  <amodra@gmail.com>
57005         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57006         Use stdint types in rather than __attribute__((mode())).
57007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57009 2013-10-04  Alan Modra  <amodra@gmail.com>
57011         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57012         Correct handling of unaligned relocs for little-endian.
57013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57015 2013-10-04  Alan Modra  <amodra@gmail.com>
57017         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57018         * configure: Regenerate.
57019         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57020         * shlib-versions: Likewise.
57022 2013-10-04  Alan Modra  <amodra@gmail.com>
57024         * string/tester.c (test_memrchr): Increment reported test cycle.
57026 2013-10-04  Alan Modra  <amodra@gmail.com>
57028         * string/test-memcpy.c (do_one_test): When reporting errors, print
57029         string address and don't overrun end of string.
57031 2013-10-04  Alan Modra  <amodra@gmail.com>
57033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57034         insrdi.  Make better use of reg selection to speed exit slightly.
57035         Schedule entry path a little better.  Remove useless "are we done"
57036         checks on entry to main loop.  Handle wrapping around zero address.
57037         Correct main loop count.  Handle single left-over word from main
57038         loop inline rather than by using loop_small.  Remove extra word
57039         case in loop_small caused by wrong loop count.  Add little-endian
57040         support.
57041         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57042         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57043         cache hint.
57044         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57045         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57046         support.  Avoid rlwimi.
57047         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57049 2013-10-04  Alan Modra  <amodra@gmail.com>
57051         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57052         insrdi.  Formatting.
57053         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57054         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57055         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57056         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57057         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57058         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57060 2013-10-04  Alan Modra  <amodra@gmail.com>
57062         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57064         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57065         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57066         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57067         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57068         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57069         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57070         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57071         use of regs.  Use power7 mtocrf.  Tidy function tails.
57073 2013-10-04  Alan Modra  <amodra@gmail.com>
57075         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57076         Formatting.  Consistently use rXXX register defines or rN defines.
57077         Use early exit labels that avoid restoring unused non-volatile regs.
57078         Make cr field use more consistent with rWORDn compares.  Rename
57079         regs used as shift registers for unaligned loop, using rN defines
57080         for short lifetime/multiple use regs.
57081         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57082         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57083         addi 1,1,64 to pop stack frame.  Simplify return value code.
57084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57086 2013-10-04  Alan Modra  <amodra@gmail.com>
57088         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57089         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57090         rather than rlwimi.
57091         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57092         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57093         little-endian support.  Correct typos.
57094         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57095         rather than rlwimi.
57096         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57097         in loop and entry code to keep "and." results.
57098         (strchr): Add little-endian support.  Comment.  Move cntlzd
57099         earlier in tail.
57100         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57102 2013-10-04  Alan Modra  <amodra@gmail.com>
57104         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57105         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57106         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57107         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57109 2013-10-04  Alan Modra  <amodra@gmail.com>
57111         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57112         (rTMP): Define as r11.
57113         (strcmp): Add little-endian support.  Optimise tail.
57114         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57115         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57116         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57117         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57118         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57120         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57122 2013-10-04  Alan Modra  <amodra@gmail.com>
57124         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57125         little-endian support.  Remove unnecessary "are we done" tests.
57126         Handle "s" wrapping around zero and extremely large "size".
57127         Correct main loop count.  Handle single left-over word from main
57128         loop inline rather than by using small_loop.  Correct comments.
57129         Delete "zero" tail, use "end_max" instead.
57130         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57132 2013-10-04  Alan Modra  <amodra@gmail.com>
57134         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57135         support.  Don't branch over align.
57136         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57137         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57138         support.  Rearrange tmp reg use to suit.  Comment.
57139         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57141 2013-10-04  Alan Modra  <amodra@gmail.com>
57143         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57145 2013-10-04  Alan Modra  <amodra@gmail.com>
57147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57148         conditional form of branch and link when obtaining pc.
57149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57151 2013-10-04  Alan Modra  <amodra@gmail.com>
57153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57154         HIWORD/LOWORD.
57155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57158 2013-10-04  Alan Modra  <amodra@gmail.com>
57160         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57161         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57162         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57163         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57164         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57165         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57166         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57167         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57168         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57169         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57171 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57172             Alistair Popple <alistair@ozlabs.au.ibm.com>
57173             Alan Modra <amodra@gmail.com>
57175         [BZ #15723]
57176         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57177         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57178         _dl_hwcap access for little-endian.
57179         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57180         destroy vmx regs when saving unaligned.
57181         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57182         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57183         destroy vmx regs when saving unaligned.
57185 2013-10-04  Alan Modra  <amodra@gmail.com>
57187         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57188         Don't use a union to pack hi/low value.
57190 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57192         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57193         for little-endian.
57194         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57195         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57196         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57197         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57198         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57200 2013-10-04  Alan Modra  <amodra@gmail.com>
57202         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57203         constants to usual value for .cst8 section, and remove redundant
57204         high address load.
57205         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57206         constant for 0x1p52.  Load little-endian words of double from
57207         correct stack offsets.
57209 2013-10-04  Alan Modra  <amodra@gmail.com>
57211         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57212         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57213         words of double from correct stack offsets.
57214         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57215         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57216         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57219         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57220         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57221         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57224         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57225         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57226         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57227         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57228         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57229         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57230         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57232 2013-10-04  Alan Modra  <amodra@gmail.com>
57234         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57235         64-bit int/double union.
57236         (_FPU_SETCW): Likewise.
57237         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57238         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57240 2013-10-04  Alan Modra  <amodra@gmail.com>
57242         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57243         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57245 2013-10-04  Alan Modra  <amodra@gmail.com>
57247         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57248         use vector int constants.
57249         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57251 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57253         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57254         array with long long.
57255         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57256         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57257         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57258         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57259         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57260         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57261         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57263         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57264         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57265         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57266         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57267         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57269 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57271         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57272         (__signbit): Likewise.  Correct for little-endian.
57273         (__signbitl): Call __signbit.
57274         (lrint): Correct for little-endian.
57275         (lrintf): Call lrint.
57277 2013-10-04  Alan Modra  <amodra@gmail.com>
57279         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57280         union 32-bit int array member with 64-bit int array.
57281         (t515, tm256): Double rather than long double.
57282         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57284 2013-10-04  Alan Modra  <amodra@gmail.com>
57286         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57287         Delete.
57288         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57289         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57290         version of math_ldbl.h.
57292 2013-10-04  Alan Modra  <amodra@gmail.com>
57294         [BZ #15734], [BZ #15735]
57295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57296         all uses of ieee875 long double macros and unions.  Simplify test
57297         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57298         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57299         normalize after ldbl_extract_mantissa, and don't add hidden bit
57300         already handled.  Don't treat low word of ieee854 mantissa like
57301         low word of IBM long double and mask off bit when testing for
57302         zero.
57303         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57304         all uses of ieee875 long double macros and unions.  Simplify tests
57305         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57306         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57307         two1022, instead use their values.  Recognise that tests for large
57308         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57309         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57310         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57311         test for 0.0L and nan.  Correct negation.
57312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57313         ieee875 long double macros and unions.  Correct output for large
57314         magnitude x.  Correct absolute value calculation.
57315         (__erfcl): Likewise.
57316         * math/libm-test.inc: Add tests for errors discovered in IBM long
57317         double versions of fmodl, remainderl, erfl and erfcl.
57319 2013-10-04  Alan Modra  <amodra@gmail.com>
57321         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57322         all uses of ieee854 long double macros and unions.  Simplify tests
57323         for long doubles that are fully specified by the high double.
57324         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57325         Likewise.
57326         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57327         Remove dead code too.
57328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57329         (__ieee754_ynl): Likewise.
57330         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57331         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57332         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57333         Remove dead code too.
57334         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57336         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57337         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57338         Simplify.
57339         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57340         Simplify.
57341         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57342         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57343         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57344         Comment on variable precision.
57345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57347         Likewise.
57348         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57349         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57352         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57354 2013-10-04  Alan Modra  <amodra@gmail.com>
57356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57357         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57358         all uses of ieee854 long double macros and unions.
57359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57363         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57365         Likewise.
57366         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57367         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57368         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57369         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57370         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57371         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57372         Simplify sign and nan test too.
57373         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57374         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57375         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57376         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57377         Likewise.
57378         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57379         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57380         Likewise.
57381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57382         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57383         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57384         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57385         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57388 2013-10-04  Alan Modra  <amodra@gmail.com>
57390         * stdio-common/printf_size.c (__printf_size): Don't use
57391         union ieee854_long_double in fpnum union.
57392         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57393         signbit macro to retrieve sign from long double.
57394         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57395         retrieve sign from long double.
57396         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57397         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57398         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57399         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57400         * math/test-misc.c (main): Don't use union ieee854_long_double.
57402 2013-10-04  Alan Modra  <amodra@gmail.com>
57404         [BZ #15680]
57405         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57406         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57407         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57408         calculation.  Remove unnecessary test for denormal exponent.
57409         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57410         Correct handling of denormals.  Avoid undefined shift behaviour.
57411         Correct normalisation of low mantissa when low double is denormal.
57412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57413         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57414         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57415         Correct normalisation of low mantissa.  Test for overflow of high
57416         mantissa and normalise.
57417         (ldbl_nearbyint): Use more readable constant for two52.
57418         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57419         (__mpn_construct_long_double): Fix test for overflow of high
57420         mantissa and correct normalisation.  Avoid undefined shift.
57422 2013-10-04  Alan Modra  <amodra@gmail.com>
57424         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57425         (union ibm_extended_long_double): Define as an array of ieee754_double.
57426         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57427         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57428         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57429         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57431         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57433         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57434         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57435         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57436         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57438 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57440         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57441         page size instead of calling getpagesize.
57443         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57444         (LOCFILE_ALIGN_MASK): Likewise.
57445         (LOCFILE_ALIGN_UP): Likewise.
57446         (LOCFILE_ALIGNED_P): Likewise.
57447         * locale/programs/ld-collate.c (collate_output): Use the new
57448         macros instead of __alignof__ (int32_t).
57449         * locale/weight.h (findidx): Likewise.
57451 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57453         [BZ #431]
57454         * manual/string.texi: Fix strncat and wcsncat.
57456 2013-10-03  Brooks Moses  <bmoses@google.com>
57458         [BZ #15915]
57459         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57460         * Makerules: ...here, and adjust associated comments.
57462 2013-10-02  Will Newton  <will.newton@linaro.org>
57464         * malloc/Makefile: Add tst-pvalloc.
57465         * malloc/tst-pvalloc.c: New file.
57467 2013-10-02  Will Newton  <will.newton@linaro.org>
57469         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57470         improve test coverage.
57472 2013-10-02  Will Newton  <will.newton@linaro.org>
57474         * malloc/Makefile: Add tst-posix_memalign.
57475         * malloc/tst-posix_memalign.c: New file.
57477 2013-10-01  Eric Blake  <eblake@redhat.com>
57479         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57480         Use __THROWNL rather than __THROW on static functions.
57482 2013-09-30  Petr Machata  <pmachata@redhat.com>
57484         * elf/elf.h (R_AARCH64_ABS16): New macro.
57485         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57486         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57487         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57488         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57489         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57490         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57491         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57492         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57493         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57494         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57495         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57496         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57497         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57498         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57499         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57500         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57501         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57502         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57503         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57504         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57505         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57506         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57507         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57508         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57509         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57510         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57511         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57512         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57513         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57514         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57515         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57516         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57517         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57518         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57519         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57520         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57521         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57522         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57523         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57524         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57525         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57526         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57527         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57528         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57529         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57530         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57531         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57532         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57533         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57534         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57535         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57536         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57537         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57538         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57539         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57540         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57541         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57542         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57543         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57544         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57545         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57546         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57547         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57548         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57549         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57550         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57551         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57552         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57553         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57554         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57555         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57556         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57557         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57558         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57559         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57560         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57561         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57562         (R_AARCH64_TLSDESC_LDR): Likewise.
57563         (R_AARCH64_TLSDESC_ADD): Likewise.
57564         (R_AARCH64_TLSDESC_CALL): Likewise.
57566 2013-09-30  Andreas Schwab  <schwab@suse.de>
57568         [BZ #15048]
57569         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57570         the nss database lookup.
57571         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57574 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57576         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57578 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57581         ${Bash-specific parameter/pattern/string} parameter expansion.
57582         * sysdeps/unix/make-syscalls.sh: Likewise.
57584 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57586         * sysdeps/sh/stackguard-macros.h: New file.
57588 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57592         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57593         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57594         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57595         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57597 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57599         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57600         Fix thread ID register.
57602 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57604         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57605         [POSIX || UNIX98]: Require rather than permitting all symbols from
57606         <time.h>.
57607         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57608         element of struct sched_param.
57609         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57610         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57611         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57612         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57613         constant.
57615 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57617         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57618         argument calculation.
57620 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57622         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57623         Expect macro.
57624         [POSIX] (pthread_attr_t): Do not require type.
57625         [POSIX] (pthread_cond_t): Likewise.
57626         [POSIX] (pthread_condattr_t): Likewise.
57627         [POSIX] (pthread_key_t): Likewise.
57628         [POSIX] (pthread_mutex_t): Likewise.
57629         [POSIX] (pthread_mutexattr_t): Likewise.
57630         [POSIX] (pthread_once_t): Likewise.
57631         [POSIX] (pthread_t): Likewise.
57632         [POSIX-based standards] (pthread_atfork): Expect function.
57634 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57635             Richard Sandiford  <richard@codesourcery.com>
57637         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57638         (swap_endianness_p): New extern variable.
57639         (set_big_endian): New inline function.
57640         (maybe_swap_uint32): Likewise.
57641         (maybe_swap_uint32_array): Likewise.
57642         (maybe_swap_uint32_obstack): Likewise.
57643         * locale/programs/locfile.c: Include <stdbool.h>.
57644         (swap_endianness_p): New variable.
57645         (add_locale_uint32): Call maybe_swap_uint32.
57646         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57647         (write_locale_data): Call maybe_swap_uint32_array.
57648         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57649         maybe_swap_uint32.
57650         (obstack_int32_grow_fast): Likewise.
57651         (output_weightwc): Call maybe_swap_uint32_obstack.
57652         (collate_output): Likewise.
57653         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57654         (OPT_LITTLE_ENDIAN): Likewise.
57655         (options): Add --little-endian and --big-endian options.
57656         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57657         * locale/programs/locarchive.c: Include "locfile.h".
57658         (GET): New macro.
57659         (SET): Likewise.
57660         (INC): Likewise.
57661         (create_archive): Use the new macros to access fields of
57662         structures directly mapped from or written to locale archives.
57663         (oldlocrecentcmp): Likewise.
57664         (enlarge_archive): Likewise.
57665         (insert_name): Likewise.
57666         (add_alias): Likewise.
57667         (add_locale): Likewise.
57668         (delete_locales_from_archive): Likewise.
57669         (show_archive_content): Likewise.
57670         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57671         locale data.
57673 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57675         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57676         http://www.gnu.org/doc/freemanuals.texi.
57677         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57679 2013-09-24  Will Newton  <will.newton@linaro.org>
57681         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57682         macro.
57684 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57686         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57687         unsigned char.
57689 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57691         * manual/threads.texi (POSIX Threads): Fix a typo.
57693 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57695         [BZ #14547]
57696         * string/tst-strcoll-overflow.c: New test case.
57697         * string/Makefile (xtests): Add tst-strcoll-overflow.
57698         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57699         cache if string sizes may cause integer overflow.
57701         [BZ #14547]
57702         * string/strcoll_l.c (coll_seq): New members rule, idx,
57703         save_idx and back_us.
57704         (get_next_seq_nocache): New function.
57705         (do_compare_nocache): New function.
57706         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57707         when malloc fails.
57709 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57711         [BZ #15754]
57712         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57713         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57714         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57716         [BZ #15754]
57717         * elf/Makefile (tests): Add tst-ptrguard1.
57718         (tests-static): Add tst-ptrguard1-static.
57719         (tst-ptrguard1-ARGS): Define.
57720         (tst-ptrguard1-static-ARGS): Define.
57721         * elf/tst-ptrguard1.c: New file.
57722         * elf/tst-ptrguard1-static.c: New file.
57723         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57724         * sysdeps/i386/stackguard-macros.h: Likewise.
57725         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57726         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57727         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57728         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57729         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57730         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57732 2013-09-23  Hector Marco  <hecmargi@upv.es>
57733             Ismael Ripoll  <iripoll@disca.upv.es>
57734             Carlos O'Donell  <carlos@redhat.com>
57736         [BZ #15754]
57737         * sysdeps/generic/stackguard-macros.h: Define
57738         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57739         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57740         Define __pointer_chk_guard_local.
57741         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57742         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57744 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57746         [BZ #15859]
57747         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57749 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57751         * include/string.h (__ffs): Declare as hidden.
57752         * string/ffs.c (__ffs): Define as hidden.
57753         * sysdeps/i386/ffs.c (__ffs): Likewise.
57754         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57755         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57756         * sysdeps/s390/ffs.c (__ffs): Likewise.
57757         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57759 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57761         * NEWS: Mention malloc probes.
57763         * malloc/arena.c (new_heap): New memory_heap_new probe.
57764         (grow_heap): New memory_heap_more probe.
57765         (shrink_heap): New memory_heap_less probe.
57766         (heap_trim): New memory_heap_free probe.
57767         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57768         (systrim): New memory_sbrk_less probe.
57769         * manual/probes.texi: Document them.
57771         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57772         * manual/probes.texi: Document it.
57774         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57775         (__libc_realloc): Add memory_realloc_retry probe.
57776         (__libc_memalign): Add memory_memalign_retry probe.
57777         (__libc_valloc): Add memory_valloc_retry probe.
57778         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57779         (__libc_calloc): Add memory_calloc_retry probe.
57780         * manual/probes.texi: Document them.
57782         * malloc/arena.c (get_free_list): Add probe
57783         memory_arena_reuse_free_list.
57784         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57785         and memory_arena_reuse.
57786         (arena_get2) [!PER_THREAD]: Likewise.
57787         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57788         memory_arena_reuse_realloc.
57789         * manual/probes.texi: Document them.
57791         * malloc/malloc.c (__libc_free): Add
57792         memory_mallopt_free_dyn_thresholds probe.
57793         (__libc_mallopt): Add multiple memory_mallopt probes.
57794         * manual/probes.texi: Document them.
57796         * malloc/malloc.c: Include stap-probe.h.
57797         (__libc_mallopt): Add memory_mallopt probe.
57798         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57799         * manual/probes.texi: New.
57800         * manual/Makefile (chapters): Add probes.
57801         * manual/threads.texi: Set next node.
57803 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57805         [BZ #15963, #13985]
57806         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57807         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57808         Add `Chinese' to `nan' entry name.
57810 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57812         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57813         (POLYNOMIAL): Likewise.
57814         (TAYLOR_SINCOS): Likewise.
57815         (TAYLOR_SLOW): Likewise.
57816         (__sin): Use TAYLOR_SINCOS.
57817         (__cos): Likewise.
57818         (slow): Use TAYLOR_SLOW.
57819         (sloww): Likewise.
57820         (bsloww): Likewise.
57821         (csloww): Likewise.
57823 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57825         * stdlib/strtod_l.c: Fix buffer overrun.
57827 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57829         * benchtests/Makefile (bench): Add sincos.
57830         * benchtests/bench-sincos.c: New file.
57832         * math/libm-test.inc (cos_test_data): New test inputs.
57833         (sin_test_data): Likewise.
57835         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57836         macro.
57837         (__sin): Use it.
57838         (__cos): Likewise.
57839         (slow1): Likewise.
57840         (slow2): Likewise.
57841         (sloww1): Likewise.
57842         (sloww2): Likewise.
57843         (bsloww1): Likewise.
57844         (bsloww2): Likewise.
57845         (cslow2): Likewise.
57846         (csloww1): Likewise.
57847         (csloww2): Likewise.
57849         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57850         function.
57851         (__sin): Use it.
57852         (__cos): Likewise.
57854         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57855         gotos.
57856         (__cos): Likewise.
57858 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57860         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57861         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57862         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57863         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57864         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57865         * elf/cache.c (print_entry): Handle the new cache flags.
57867 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57868             Aldy Hernandez  <aldyh@redhat.com>
57870         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57871         Change condition to [_SOFT_FLOAT].
57872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57884         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57887         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57888         declaration.
57890 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57892         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57893         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57894         (__longjmp): Use LOAD_GP to load saved GPRs.
57895         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57896         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57897         (__sigsetjmp): Use SAVE_GP to save GPRs.
57899         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57900         Do not append -msoft-float.
57901         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57903 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57905         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57907 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57909         [BZ #15966]
57910         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57911         (_FPU_GETCW): Use initial "__" on variable and field names but not
57912         on macro parameter name.
57913         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57914         parentheses around reference to macro parameter.
57916 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57918         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57919         prototype.
57920         (ctype_startup): Use uint32_t in cast and sizeof for
57921         ctype->charnames.
57923 2013-09-11  Jia Liu  <proljc@gmail.com>
57925         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57926         __daddr_t_defined.
57927         [__FreeBSD__]: Likewise.
57929 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57932         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57933         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57934         (strchr): Remove __strchr_sse42 ifunc selection.
57935         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57936         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57938 2013-09-11  Will Newton  <will.newton@linaro.org>
57940         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57941         parameter to RES. Remove hardcoded 1000 value.
57942         * benchtests/bench-skeleton.c (main): Pass RES parameter
57943         to TIMING_INIT and multiply result by 1000.
57945 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57949 2013-09-11  Andreas Schwab  <schwab@suse.de>
57951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57952         if not defined.
57953         (O_TMPFILE) [__USE_GNU]: Define.
57954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57955         Define.
57957 2013-09-11  Will Newton  <will.newton@linaro.org>
57959         [BZ #15857]
57960         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57961         does not overflow.
57963 2013-09-11  Will Newton  <will.newton@linaro.org>
57965         [BZ #15856]
57966         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57967         does not overflow.
57969 2013-09-11  Will Newton  <will.newton@linaro.org>
57971         [BZ #15855]
57972         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57973         does not overflow.
57975 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57977         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57980         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57983 2013-09-10  Allan McRae  <allan@archlinux.org>
57985         [BZ #15748]
57986         * manual/arith.texi (Parsing of Floats): Clarify
57987         cross-reference.
57989         [BZ #15849]
57990         * manual/install.texi (Running make install): Mention
57991         --enable-pt-chown.
57992         * INSTALL: Regenerated.
57994 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57996         * csu/init-first.c (_init): Remove the !SHARED condition around
57997         FPU control word initialization.
57998         * elf/dl-support.c (_dl_fpu_control): New variable.
57999         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58000         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58001         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58002         * math/test-fpucw-static.c: New file.
58003         * math/test-fpucw-ieee.c: New file.
58004         * math/test-fpucw-ieee-static.c: New file.
58005         * math/Makefile (tests): Add `test-fpucw-ieee' and
58006         `$(tests-static)'.
58007         (tests-static): New variable.
58008         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58009         dependency to...
58010         [($(build-shared),yes)]
58011         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58012         ... this.
58013         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58014         New dependency.
58016 2013-09-09  Allan McRae  <allan@archlinux.org>
58018         [BZ #15939]
58019         * manual/string.texi (Collation Functions): Fix typo in
58020         strcoll example.
58021         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58023         [BZ #15893]
58024         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58026         [BZ #15892]
58027         * libio/memstream.c (open_memstream): Fix memory leak.
58028         * libio/wmemstream.c (open_wmemstream): Likewise.
58030         [BZ #15895]
58031         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58033 2013-09-09  Will Newton  <will.newton@linaro.org>
58035         * malloc/Makefile: Add tst-realloc to tests.
58036         * malloc/tst-realloc.c: New file.
58038 2013-09-09  Allan McRae  <allan@archlinux.org>
58040         [BZ #15844]
58041         * COPYING: Update from GNU website to fix FSF address.
58042         * COPYING.LIB: Likewise.
58044 2013-09-06  David S. Miller  <davem@davemloft.net>
58046         * po/zh_TW.po: Update Chinese (traditional) translation from
58047         translation project.
58049 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58050             Joseph Myers  <joseph@codesourcery.com>
58052         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58053         "localeinfo.h".
58054         (obstack_chunk_alloc): New macro.
58055         (obstack_chunk_free): Likewise.
58056         (record_offset): New function.
58057         (init_locale_data): Likewise.
58058         (align_locale_data): Likewise.
58059         (add_locale_empty): Likewise.
58060         (add_locale_raw_data): Likewise.
58061         (add_locale_raw_obstack): Likewise.
58062         (add_locale_string): Likewise.
58063         (add_locale_wstring): Likewise.
58064         (add_locale_uint32): Likewise.
58065         (add_locale_uint32_array): Likewise.
58066         (add_locale_char): Likewise.
58067         (start_locale_structure): Likewise.
58068         (end_locale_structure): Likewise.
58069         (start_locale_prelude): Likewise.
58070         (end_locale_prelude): Likewise.
58071         (write_locale_data): Take locale_file structure rather than an
58072         iovec.
58073         * locale/programs/locfile.h: Include "obstack.h".
58074         (struct locale_file): Change to store locale file contents instead
58075         of header.
58076         (init_locale_data): New prototype.
58077         (align_locale_data): Likewise.
58078         (add_locale_empty): Likewise.
58079         (add_locale_raw_data): Likewise.
58080         (add_locale_raw_obstack): Likewise.
58081         (add_locale_string): Likewise.
58082         (add_locale_wstring): Likewise.
58083         (add_locale_uint32): Likewise.
58084         (add_locale_uint32_array): Likewise.
58085         (add_locale_char): Likewise.
58086         (start_locale_structure): Likewise.
58087         (end_locale_structure): Likewise.
58088         (start_locale_prelude): Likewise.
58089         (end_locale_prelude): Likewise.
58090         (write_locale_data): Update prototype.
58091         * locale/programs/3level.h (struct TABLE): Remove result field.
58092         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58093         Use new locale_file interface.
58094         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58095         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58096         * locale/programs/ld-address.c (address_output): Use new
58097         locale_file interface.
58098         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58099         NO_ADD_LOCALE.
58100         (collate_finish): Don't call collseq_table_finalize.
58101         (collate_output): Use new locale_file interface.
58102         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58103         in file.
58104         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58105         (TABLE): Move defines earlier in file.
58106         (ELEMENT): Likewise.
58107         (DEFAULT): Likewise.
58108         (wctrans_table_add): Move macro and inline function earlier in
58109         file.
58110         (struct wctype_table): Move type earlier in file.
58111         (add_locale_wctype_table): New static prototype.
58112         (struct locale_ctype_t): Use logical types instead of struct iovec
58113         pointers for members.
58114         (ctype_output): Use new locale_file interface.
58115         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58116         new locale_file interface.
58117         (allocate_arrays): Update for use of new locale_file interface.
58118         * locale/programs/ld-identification.c (identification_output): Use
58119         new locale_file interface.
58120         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58121         * locale/programs/ld-messages.c (messages_output): Likewise.
58122         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58123         * locale/programs/ld-name.c (name_output): Likewise.
58124         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58125         * locale/programs/ld-paper.c (paper_output): Likewise.
58126         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58127         * locale/programs/ld-time.c (time_output): Likewise.
58129 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58131         * benchtests/Makefile: Add memrchr benchmark.
58132         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58133         benchmark as memrchr.
58134         * benchtests/bench-memrchr-ifunc.c: New file.
58135         * benchtests/bench-memrchr.c: New file.
58137 2013-09-06   Will Newton  <will.newton@linaro.org>
58139         * benchtests/Makefile (string-bench): Add memcpy.
58141 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58142             Cong Wang  <amwang@redhat.com>
58144         [BZ #15850]
58145         * sysdeps/unix/sysv/linux/bits/in.h
58146         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58147         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58148         before __USE_KERNEL_IPV6_DEFS uses.
58149         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58150         IPPROTO_BEETPH.
58151         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58152         sockaddr_in6, or ipv6_mreq.
58154 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58156         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58157         memory access for final bytes in some large inputs.
58158         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58160 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58162         * string/test-memrchr.c: New file.
58163         * string/test-memrchr-ifunc.c: New file.
58164         * string/Makefile: Add new memrchr testcase.
58166 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58168         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58169         fanotify_init returns EPERM.
58171 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58173         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58174         errors.
58175         (top level): Treat second token from macro or constant entries for
58176         allowed headers as allowed.
58177         * include/complex.h: Condition internal declarations on
58178         [!_ISOMAC].
58179         * include/fenv.h: Condition include of <stdbool.h> and internal
58180         declarations on [!_ISOMAC].
58182 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58184         [BZ #15923]
58185         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58187 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58189         * configure.in (--enable-versioning): Remove configure option.
58190         (libc_cv_asm_symver_directive): Remove configure test.
58191         (libc_cv_ld_version_script_option): Likewise.
58192         (VERSIONING): Remove variable and AC_SUBST.
58193         (DO_VERSIONING): Remove AC_DEFINE.
58194         * configure: Regenerated.
58195         * config.h.in (DO_VERSIONING): Remove macro.
58196         * Makerules [$(versioning) = yes]: Change conditionals to
58197         [$(build-shared) = yes].
58198         * config.make.in (versioning): Remove variable.
58199         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58200         [$(build-shared) = yes].
58201         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58202         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58203         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58204         [$(build-shared) = yes].
58205         * extra-lib.mk [$(versioning) = yes]: Likewise.
58206         * hurd/Makefile [$(versioning) = yes]: Likewise.
58207         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58208         [SHARED].
58209         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58210         [SHARED].
58211         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58212         [SHARED && !NO_HIDDEN].
58213         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58214         [SHARED].
58215         [SHARED && DO_VERSIONING]: Likewise..
58216         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58217         [$(build-shared) = yes].
58218         * manual/install.texi (--disable-versioning): Remove
58219         documentation.
58220         * INSTALL: Regenerated.
58221         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58222         to [SHARED].
58223         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58224         [$(build-shared) = yes].
58225         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58226         * sysdeps/i386/i686/multiarch/strstr-c.c
58227         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58228         [SHARED && !NO_HIDDEN].
58229         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58230         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58231         * sysdeps/powerpc/powerpc32/dl-machine.c
58232         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58233         * sysdeps/powerpc/powerpc32/sysdep.h
58234         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58235         to [SHARED && PIC && !NO_HIDDEN].
58236         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58237         conditional to [SHARED].
58239 2013-09-04   Will Newton  <will.newton@linaro.org>
58241         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58242         * benchtests/bench-string.h: Include bench-timing.h instead
58243         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58244         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58245         call to HP_TIMING_DIFF_INIT.
58246         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58247         instead of hp-timing.h macros.
58248         * benchtests/bench-memchr.c: Likewise.
58249         * benchtests/bench-memcmp.c: Likewise.
58250         * benchtests/bench-memcpy.c: Likewise.
58251         * benchtests/bench-memmem.c: Likewise.
58252         * benchtests/bench-memmove.c: Likewise.
58253         * benchtests/bench-memset.c: Likewise.
58254         * benchtests/bench-rawmemchr.c: Likewise.
58255         * benchtests/bench-strcasecmp.c: Likewise.
58256         * benchtests/bench-strcasestr.c: Likewise.
58257         * benchtests/bench-strcat.c: Likewise.
58258         * benchtests/bench-strchr.c: Likewise.
58259         * benchtests/bench-strcmp.c: Likewise.
58260         * benchtests/bench-strcpy.c: Likewise.
58261         * benchtests/bench-strcpy_chk.c: Likewise.
58262         * benchtests/bench-strlen.c: Likewise.
58263         * benchtests/bench-strncasecmp.c: Likewise.
58264         * benchtests/bench-strncat.c: Likewise.
58265         * benchtests/bench-strncmp.c: Likewise.
58266         * benchtests/bench-strncpy.c: Likewise.
58267         * benchtests/bench-strnlen.c: Likewise.
58268         * benchtests/bench-strpbrk.c: Likewise.
58269         * benchtests/bench-strrchr.c: Likewise.
58270         * benchtests/bench-strspn.c: Likewise.
58271         * benchtests/bench-strstr.c: Likewise.
58273 2013-09-04  Will Newton  <will.newton@linaro.org>
58275         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58277 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58279         [BZ #15427]
58280         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58281         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58282         * math/libm-test.inc (lgamma_test_data): Add more tests.
58283         * sysdeps/i386/fpu/libm-test-ulps: Update.
58284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58286 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58288         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58290         Add ifunc.
58291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58292         Add strcmp-sse2-unaligned
58293         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58295 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58297         * Versions.def (libc): Add GLIBC_2.19.
58299 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58301         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58302         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58304 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58306         [BZ #14155]
58307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58308         intermediate calculations in recurrence.
58309         (__ieee754_ynf): Likewise.
58310         * math/libm-test.inc (jn_test_data): Do not allow spurious
58311         underflow exception.  Add more tests.
58312         (yn_test_data): Add more tests.
58313         * sysdeps/i386/fpu/libm-test-ulps: Update.
58314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58316 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58318         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58320 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58322         * csu/init-first.c: Fix then/than typos.
58323         * locale/programs/ld-collate.c: Likewise.
58324         * locale/programs/linereader.h: Likewise.
58325         * manual/charset.texi: Likewise.
58326         * manual/filesys.texi: Likewise.
58327         * manual/stdio.texi: Likewise.
58328         * manual/string.texi: Likewise.
58329         * stdlib/fmtmsg.c: Likewise.
58330         * sysdeps/i386/stpncpy.S: Likewise.
58331         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58332         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58333         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58334         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58336 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58338         * elf/dl-open.c: Fix typos.
58339         * iconvdata/gbbig5.c: Likewise.
58340         * iconvdata/iso-2022-jp.c: Likewise.
58341         * iconv/gconv_int.h: Likewise.
58342         * iconv/loop.c: Likewise.
58343         * nis/rpcsvc/nis.h: Likewise.
58344         * resolv/ns_name.c: Likewise.
58345         * stdio-common/vfscanf.c: Likewise.
58346         * streams/stropts.h: Likewise.
58347         * sunrpc/rpc_thread.c: Likewise.
58348         * sysdeps/i386/strpbrk.S: Likewise.
58349         * sysdeps/ieee754/k_standard.c: Likewise.
58350         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58351         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58352         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58353         * sysdeps/mach/hurd/profil.c: Likewise.
58354         * sysdeps/s390/dl-procinfo.h: Likewise.
58355         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58356         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58357         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58358         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58361 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58363         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58366 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58368         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58369         aix specific files.
58370         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58371         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58372         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58373         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58374         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58375         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58376         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58377         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58379 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58380             Roland McGrath  <roland@hack.frob.com>
58382         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58383         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58385 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58387         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58388         __executable_start symbol instead of _start.
58390 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58392         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58393         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58394         Move macros to...
58395         * sysdeps/gnu/ldsodefs.h: ... this new file.
58397         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58398         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58399         instead of ELFOSABI_LINUX.
58401         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58402         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58403         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58404         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58405         Likewise.
58406         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58407         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58408         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58409         Likewise.
58410         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58411         (ibm_extended_long_double): Add ieee_nan member.
58412         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58413         (do_test): New function.
58415         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58416         TEST_TRUNC.
58417         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58418         functions, renamed from truncdfsf_test, trunctfsf_test,
58419         trunctfdf_test.
58420         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58421         functions.
58422         (do_test): Run all these.
58424 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58426         * argp/argp-help.c: Fix typos.
58427         * argp/argp-parse.c: Likewise.
58428         * debug/backtracesyms.c: Likewise.
58429         * elf/elf.h: Likewise.
58430         * malloc/malloc.c: Likewise.
58431         * nis/nis_print.c: Likewise.
58432         * resolv/res_comp.c: Likewise.
58433         * stdlib/stdlib.h: Likewise.
58434         * sunrpc/clnt_tcp.c: Likewise.
58435         * sunrpc/clnt_udp.c: Likewise.
58436         * sunrpc/clnt_unix.c: Likewise.
58437         * sysdeps/unix/bsd/ptsname.c: Likewise.
58438         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58441         Likewise.
58442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58443         Likewise.
58444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58445         Likewise.
58446         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58448 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58450         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58453 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58455         [BZ #15897]
58456         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58457         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58458         ($(objpfx)bug-dl-leaf): New rule.
58459         ($(objpfx)bug-dl-leaf.so): Likewise.
58460         ($(objpfx)bug-dl-leaf.out): Likewise.
58461         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58462         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58463         * dlfcn/bug-dl-leaf.c: New test.
58464         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58465         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58466         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58467         (dlclose): Likewise.
58468         (dlmopen): Likewise.
58470 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58472         * include/netdb.h [!_ISOMAC]:
58473         Don't include <tls.h>.
58474         (h_errno, __libc_h_errno): Move declaration and macros out of
58475         [_LIBC_REENTRANT].
58477         * include/resolv.h [_RESOLV_H_]:
58478         Don't include <tls.h>.
58479         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58480         * resolv/res_libc.c: Don't include <tls.h>.
58481         (_res): Use __attribute__ ((nocommon)) in place of
58482         __attribute__ ((section (".bss"))).
58484         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58485         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58487         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58489         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58490         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58492         * resolv/res_mkquery.c: Include <sys/time.h>.
58494         * inet/ifreq.c: Moved to ...
58495         * sysdeps/unix/ifreq.c: ... here.
58496         * inet/ifreq.c: New file, true stub version.
58498         * socket/sa_len.c: New file.
58499         * socket/Makefile (aux): Add it.
58500         * sysdeps/unix/sysv/linux/Makefile
58501         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58502         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58503         and #include <socket/sa_len.c>.
58504         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58505         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58507         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58508         * bits/socket.h: ... here.
58510         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58511         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58512         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58514 2013-08-27  Andreas Schwab  <schwab@suse.de>
58516         [BZ #15736]
58517         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58518         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58519         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58520         * string/test-strcasecmp.c (test_main): Run tests in several
58521         locales.
58522         * string/test-strncasecmp.c (test_main): Likewise.
58524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58525         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58526         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58528         (__strncasecmp_ssse3) [PIC]: Likewise.
58530 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58532         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58534         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58535         instead of explicitly declaring xdecrypt.
58536         * nis/nss_nis/nis-publickey.c: Likewise.
58538 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58540         [BZ #15890]
58541         * nscd/aicache.c: Include res_hconf.h.
58542         (addhstaiX): Initialize res_hconf.
58544 2013-08-26  Andreas Schwab  <schwab@suse.de>
58546         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58547         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58549 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58551         * nscd/aicache.c (addhstaiX): Fix indentation.
58553 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58555         * configure.ac: Quote $build_pt_chown test.
58556         * configure: Regenerated.
58558 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58560         [BZ #15532]
58561         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58562         * math/s_cexpf.c (__cexpf): Likewise.
58563         * math/s_cexpl.c (__cexpl): Likewise.
58564         * math/libm-test.inc (cexp_test_data): Correct expected return
58565         value for NaN + i0.  Add another test.
58567 2013-08-22  David S. Miller  <davem@davemloft.net>
58569         * po/ca.po: Update Catalan translation from translation project.
58570         * po/uk.po: Add Ukrainian translations from translation project.
58572 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58574         [BZ #15797]
58575         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58576         is infinite, not alongside NaN test.
58577         * math/s_fdimf.c (__fdimf): Likewise.
58578         * math/s_fdiml.c (__fdiml): Likewise.
58579         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58580         errno is unchanged.
58582 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58584         * argp/argp-help.c: Fix typos.
58585         * crypt/speeds.c: Likewise.
58586         * csu/check_fds.c: Likewise.
58587         * elf/dl-load.c: Likewise.
58588         * elf/dl-open.c: Likewise.
58589         * elf/reldep3.c: Likewise.
58590         * elf/reldep.c: Likewise.
58591         * elf/sprof.c: Likewise.
58592         * iconv/iconv_charmap.c: Likewise.
58593         * iconv/skeleton.c: Likewise.
58594         * iconv/strtab.c: Likewise.
58595         * io/lockf64.c: Likewise.
58596         * libio/libioP.h: Likewise.
58597         * resolv/gai_notify.c: Likewise.
58598         * resolv/ns_name.c: Likewise.
58599         * resolv/ns_samedomain.c: Likewise.
58600         * resolv/res_send.c: Likewise.
58601         * stdlib/random.c: Likewise.
58602         * sunrpc/rpc/xdr.h: Likewise.
58603         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58604         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58605         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58606         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58607         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58610         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58611         * sysdeps/mach/hurd/check_fds.c: Likewise.
58612         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58615         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58617         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58618         * sysdeps/pthread/aio_notify.c: Likewise.
58619         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58620         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58621         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58623         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58625 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58627         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58628         version if bit_Slow_SSE4_2 is set.
58629         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58632 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58634         [BZ #15867]
58635         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58636         trampoline stack frame information.
58637         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58639         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58640         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58641         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58642         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58643         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58644         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58645         sa_flags value.
58646         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58647         interrupting a syscall and set with option SA_SIGINFO.
58649 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58651         [BZ #15531]
58652         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58653         argument is infinite.
58654         * math/s_cprojf.c (__cprojf): Likewise.
58655         * math/s_cprojl.c (__cprojl): Likewise.
58656         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58657         * math/libm-test.inc (cproj_test_data): Add more tests.
58659         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58661         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58662         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58663         size.  Use __ffs to determine corresponding shift.
58665 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58666             Roland McGrath  <roland@hack.frob.com>
58668         * Makefile (INSTALL): Remove trailing blank lines from output of
58669         makeinfo.
58671 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58673         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58674         Align 32 bit compat elf_greg to 8 bytes.
58676 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58678         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58680 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58682         * string/strcoll_l.c (coll_seq): New structure.
58683         (get_next_seq_cached): New function.
58684         (get_next_seq): New function.
58685         (do_compare): New function.
58686         (STRCOLL): Use GNU style definition.  Simplify implementation
58687         by using get_next_seq, get_next_seq_cached and do_compare.
58689 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58691         [BZ #14699]
58692         CVE-2013-4237
58693         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58694         member.
58695         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58696         member.
58697         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58698         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58699         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58700         conditional.
58701         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58702         GETDENTS_64BIT_ALIGNED.
58703         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58704         * manual/filesys.texi (Reading/Closing Directory): Document
58705         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58706         strongly.
58707         * manual/conf.texi (Limits for Files): Add portability note to
58708         NAME_MAX, PATH_MAX.
58709         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58711 2013-08-13  Andreas Schwab  <schwab@suse.de>
58713         [BZ #15749]
58714         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58715         of fabs.
58716         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58717         LDBL_MAX_EXP >= 16384]: Add tests for it.
58719 2013-08-12  David S. Miller  <davem@davemloft.net>
58721         * version.h (RELEASE): Set to "development".
58722         (VERSION): Set to "2.18.90".
58723         * NEWS: Add 2.19 section.
58725 2013-08-03  David S. Miller  <davem@davemloft.net>
58727         * po/ko.po: Update Korean translation from translation project.
58729 2013-08-01  David S. Miller  <davem@davemloft.net>
58731         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58732         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58733         Bilka.
58735 2013-07-30  David S. Miller  <davem@davemloft.net>
58737         * po/fr.po: Update French translation from translation project.
58739 2013-07-28  David S. Miller  <davem@davemloft.net>
58741         * po/cs.po: Update Czech translation from translation project.
58743         * po/sv.po: Update Swedish translation from translation project.
58745 2013-07-27  David S. Miller  <davem@davemloft.net>
58747         * po/eo.po: Update Esperanto translation from translation project.
58749         * po/vi.po: Update Vietnamese translation from translation project.
58751         * po/de.po: Update German translation from translation project.
58753 2013-07-26  David S. Miller  <davem@davemloft.net>
58755         * po/bg.po: Update Bulgarian translation from translation project.
58757         * po/nl.po: Update Dutch translation from translation project.
58758         * po/pl.po: Update Polish translation from translation project.
58759         * po/ru.po: Update Russian translation from translation project.
58761 2013-07-24  David S. Miller  <davem@davemloft.net>
58763         * po/libc.pot: Update.
58765 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58767         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58768         variable page size.
58769         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58770         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58773 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58775         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58777 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58778             Andreas Schwab  <schwab@suse.de>
58779             Roland McGrath  <roland@hack.frob.com>
58780             Joseph Myers  <joseph@codesourcery.com>
58781             Carlos O'Donell  <carlos@redhat.com>
58783         [BZ #15755]
58784         * config.h.in: Define HAVE_PT_CHOWN.
58785         * config.make.in (build-pt-chown): New variable.
58786         * configure.in (--enable-pt_chown): New configure option.
58787         * configure: Regenerate.
58788         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58789         build-pt-chown is enabled.
58790         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58791         pt_chown to fix pty ownership.
58792         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58793         CLOSE_ALL_FDS.
58794         * manual/install.texi (Configuring and compiling): Mention
58795         --enable-pt_chown. Add @findex for grantpt.
58796         * INSTALL: Regenerate.
58798 2013-07-20  David S. Miller  <davem@davemloft.net>
58800         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58801         difference between 32-bit and 64-bit.
58803 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58805         [BZ #15711]
58806         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58807         Avoid system header dependency with -ffreestanding.
58808         ($(objpfx)bits/syscall%d): Likewise.
58810 2013-07-13  David S. Miller  <davem@davemloft.net>
58812         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58813         underflows from atanl/atan2l due to bug 15319.
58814         (casinh_test_data): Likewise.
58816 2013-07-07  David S. Miller  <davem@davemloft.net>
58818         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58820 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58822         * sysdeps/i386/fpu/libm-test-ulps: Update.
58823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58825 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58827         * configure.in (--enable-lock-elision): Fix message text.
58828         * INSTALL: Regenerate.
58829         * configure: Regenerate.
58831 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58835 2013-07-03  Andreas Jaeger  <aj@suse.de>
58837         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58838         define.
58839         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58840         (ptrace_peeksiginfo_args): Add.
58841         (__ptrace_peeksiginfo_flags): Add.
58842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58843         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58844         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58846 2013-07-03  Allan McRae  <allan@archlinux.org>
58848         * sysdeps/i386/fpu/libm-test-ulps: Update.
58850 2013-07-02  David S. Miller  <davem@davemloft.net>
58852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58854 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58858 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58860         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58863 2013-07-02  Andi Kleen <ak@linux.intel.com>
58865         * config.h.in (ENABLE_LOCK_ELISION): Add.
58866         * configure.in (--enable-lock-elision): Add option.
58867         * manual/install.texi: Document --enable lock elision.
58868         * configure: Regenerate
58869         * INSTALL: Regenerate.
58871 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58873         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58874         SSE4.2 strcasecmp for libc.a.
58875         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58877 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58879         [BZ #13304]
58880         * soft-fp/op-common.h (_FP_FMA): New macro.
58881         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58882         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58883         (_FP_MUL_MEAT_1_imm): ... here.
58884         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58885         (_FP_MUL_MEAT_1_wide): ... here.
58886         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58887         (_FP_MUL_MEAT_1_hard): ... here.
58888         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58889         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58890         (_FP_MUL_MEAT_2_wide): ... here.
58891         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58892         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58893         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58894         (_FP_MUL_MEAT_2_gmp): ... here.
58895         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58896         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58897         (_FP_MUL_MEAT_4_wide): ... here.
58898         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58899         (_FP_MUL_MEAT_4_gmp): ... here.
58900         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58901         (_FP_WFRACBITS_DW_S): Likewise.
58902         (_FP_WFRACXBITS_DW_S): Likewise.
58903         (_FP_HIGHBIT_DW_S): Likewise.
58904         (FP_FMA_S): Likewise.
58905         (_FP_FRAC_HIGH_DW_S): Likewise.
58906         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58907         (_FP_WFRACBITS_DW_D): Likewise.
58908         (_FP_WFRACXBITS_DW_D): Likewise.
58909         (_FP_HIGHBIT_DW_D): Likewise.
58910         (FP_FMA_D): Likewise.
58911         (_FP_FRAC_HIGH_DW_D): Likewise.
58912         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58913         (_FP_WFRACBITS_DW_E): Likewise.
58914         (_FP_WFRACXBITS_DW_E): Likewise.
58915         (_FP_HIGHBIT_DW_E): Likewise.
58916         (FP_FMA_E): Likewise.
58917         (_FP_FRAC_HIGH_DW_E): Likewise.
58918         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58919         (_FP_WFRACBITS_DW_Q): Likewise.
58920         (_FP_WFRACXBITS_DW_Q): Likewise.
58921         (_FP_HIGHBIT_DW_Q): Likewise.
58922         (FP_FMA_Q): Likewise.
58923         (_FP_FRAC_HIGH_DW_Q): Likewise.
58924         * soft-fp/fmasf4.c: New file.
58925         * soft-fp/fmadf4.c: Likewise.
58926         * soft-fp/fmatf4.c: Likewise.
58928 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58931         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58932         Silvermont.
58933         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58934         macro.
58935         (index_Slow_SSE4_2): Likewise.
58936         (index_Prefer_PMINUB_for_stringop): Likewise.
58937         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58938         bit_Slow_SSE4_2 is set.
58939         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58940         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58942 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58944         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58945         rtld_global._dl_hwcap2.
58946         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58947         POWER8.
58948         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58949         POWER8 feature descriptions defined in _dl_hwcap2.
58950         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58951         string handling for POWER8 feature bits.
58952         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58953         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58954         _dl_powerpc_cap_flags.
58955         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58956         * sysdeps/powerpc/rtld-global-offsets.sym
58957         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58958         _dl_hwcap2 in the rtld_global_ro structure.
58960 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58962         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58963         hardware capabilities in support of AT_HWCAP2.
58964         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58965         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58966         GLRO(dl_hwcap2).
58967         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58968         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58969         explicitly the unknown a_type display mechanism is used.
58970         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58971         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58972         struct member.
58973         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58974         to macro prototype for AT_HWCAP2 support.
58975         * sysdeps/i386/dl-procinfo.h: Likewise.
58976         * sysdeps/s390/dl-procinfo.h: Likewise.
58977         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58978         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58979         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58980         return -1 for unknown a_type display fallback.
58981         * sysdeps/sparc/dl-procinfo.h: Likewise.
58982         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58983         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58985 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58987         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58988         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58990 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58992         [BZ #12492]
58993         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58994         mprotect making __stack_prot writable.
58996 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58997             Joseph Myers  <joseph@codesourcery.com>
58999         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59000         as being properly aligned.
59002 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59004         * dlfcn/modstatic5.c: New file.
59005         * dlfcn/tststatic5.c: New file.
59006         * dlfcn/Makefile (tests): Add tststatic5.
59007         (tests-static): Likewise.
59008         (modules-names): Add modstatic5.
59009         (tststatic5-ENV): New variable.
59010         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59012         [BZ #15022]
59013         * elf/dl-support.c (_dl_main_map): New variable.
59014         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59015         (_dl_nns, _dl_load_adds): Set to 1.
59016         (_dl_initial_searchlist): Refer to _dl_main_map.
59017         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59018         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59019         call to _dl_get_origin.
59020         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59021         around call_map.
59022         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59023         * dlfcn/modstatic3.c: New file.
59024         * dlfcn/tststatic3.c: New file.
59025         * dlfcn/tststatic4.c: New file.
59026         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59027         (tests-static): Likewise.
59028         (modules-names): Add modstatic3.
59029         (tststatic3-ENV, tststatic4-ENV): New variables.
59030         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59031         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59033 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59035         * configure.in (CC): Require GCC version 4.4 or later.
59036         * configure: Regenerated.
59037         * manual/install.texi (Tools for Compilation): Update GCC version
59038         requirement.
59039         * INSTALL: Regenerated.
59041 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59043         [BZ #15674]
59044         * string/test-memcmp.c (check2): New.
59045         (main): Call check2.
59047         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59049 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59051         [BZ #15022]
59052         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59053         over to...
59054         (dl_open_worker) [!SHARED]: ... here.
59056 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59058         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59060 2013-06-25  Richard Henderson  <rth@redhat.com>
59062         * locale/programs/locarchive.c: Include <libc-internal.h>
59064 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59066         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59067         trailing whitespace removed.
59069 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59071         [BZ #10283]
59072         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59073         * locale/programs/locarchive.c: Include libc-mmap.h.
59074         (prepare_address_space): Take two new outputs (the mmap base and len).
59075         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59076         values.
59077         (create_archive): Declare new mmap base and len values for
59078         prepare_address_space, and store the result in ah.
59079         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59080         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59081         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59082         Declare new mmap base and len values for
59083         prepare_address_space, and store the result in new_ah.
59084         (open_archive): Declare new mmap base and len values for
59085         prepare_address_space, and store the result in ah.
59086         (close_archive): If ah->mmap_base is not NULL, use that and
59087         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59088         * sysdeps/generic/libc-mmap.h: New file.
59090 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59092         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59093         (ALIGN_UP): Likewise.
59094         (PTR_ALIGN_DOWN): Likewise.
59095         (PTR_ALIGN_UP): Likewise.
59097 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59099         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59100         entry mapped to PPC_PLATFORM_POWER8.
59101         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59102         POWER8.
59103         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59104         (_dl_string_platform): Add case for exporting platform position for
59105         POWER8.
59106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59107         search path to sysdeps/powerpc/powerpc32/power8 directory.
59108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59109         search path to sysdeps/powerpc/powerpc64/power8 directory.
59110         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59111         power7 directories.
59112         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59113         power7 directories.
59115 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59117         * INSTALL: Regenerate.
59119         * nscd/connections.c (nscd_init): Fix comment.
59121 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59123         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59125         [BZ #15667]
59126         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59127         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59129 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59131         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59132         DL_DST_REQ_STATIC.
59133         (DL_DST_REQ_STATIC): Remove macro.
59135 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59137         [BZ #7006]
59138         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59139         with a shift of 0 bits.
59141 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59143         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59144         $(tststatic-ENV).
59146 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59148         [BZ #15655]
59149         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59151 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59153         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59154         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59155         accepts -fno-tree-loop-distribute-patterns.
59156         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59157         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59158         recursive call.
59159         * string/memset.c (memset): Likewise.
59160         * string/test-memmove.c (simple_memmove): Disable loop transformation
59161         to library calls.
59162         * string/test-memset.c (simple_memset): Likewise.
59163         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59164         * benchtests/bench-memset.c (simple_memset): Likewise.
59165         * configure: Regenerated.
59167 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59169         * math/test-misc.c (main): Ignore fesetround failure when failures
59170         of subsequent rounding tests would be ignored.
59172         [BZ #15654]
59173         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59174         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59175         * math/fegetenv.c (__fegetenv): Return 0.
59176         * math/fegetexcept.c (fegetexcept): Return 0.
59177         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59178         FE_TONEAREST.
59179         * math/feholdexcpt.c (feholdexcept): Return 0.
59180         * math/fesetenv.c (__fesetenv): Return 0.
59181         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59182         argument FE_TONEAREST.
59183         * math/feupdateenv.c (__feupdateenv): Return 0.
59184         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59186 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59188         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59189         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59190         ($(objpfx)rtld-%.os rules): Use them.
59192 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59194         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59195         fields.
59197 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59199         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59200         length of target pattern, then descending length of dependency pattern.
59201         * configure.in (AWK): Require gawk 3.1.2 or newer.
59202         * manual/install.texi (Tools for Compilation): Say that we do.
59203         * configure: Regenerated.
59205         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59206         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59207         * scripts/sysd-rules.awk: ... this new script.
59208         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59209         than a glob-style pattern.
59211 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59213         * math/test-misc.c (main): Do not treat incorrectly rounded
59214         conversions as failure unless ROUNDING_TESTS passes.
59216 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59218         [BZ #15631]
59219         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59220         restore exception state around main square root computation, then
59221         check for inexactness explicitly.
59223         * math/libm-test.inc (fma_test_data): Add another test.
59225 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59227         * manual/threads.texi (Non-POSIX Extensions): New document
59228         node.  Document pthread_getattr_default_np and
59229         pthread_setattr_default_np.
59231         * Versions.def (libpthread): Add GLIBC_2.18.
59232         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59234         Likewise.
59235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59236         Likewise.
59237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59238         Likewise.
59239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59240         Likewise.
59241         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59242         Likewise.
59243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59244         Likewise.
59245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59246         Likewise.
59247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59248         Likewise.
59249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59250         Likewise.
59252 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59255         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59257 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59258             H.J. Lu  <hjl.tools@gmail.com>
59260         [BZ #15627]
59261         * sysdeps/x86_64/rtld-memset.c: Remove file.
59262         * sysdeps/x86_64/rtld-memset.S: New file.
59264 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59266         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59267         (test_in_one_mode): Take arguments for whether the rounding mode
59268         is supported for each floating-point type.
59269         (do_test): Pass new arguments to test_in_one_mode using
59270         ROUNDING_TESTS.
59272 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59274         * posix/tst-waitid.c (do_test): Distinguish different instances of
59275         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59276         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59277         before entering the kernel for waitpid.
59279 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59281         * NEWS: Fix note on clock function precision.  Text by Roland
59282         McGrath.
59284 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59286         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59287         it into place only when and if the sanity check passes.
59289 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59291         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59292         output for whether conversion result is exact.  Take argument
59293         indicating whether type is IBM long double.
59294         (round_for_all): Change need_exact field to ibm_ld.
59295         * stdlib/tst-strtod-round.c (struct exactness): New type.
59296         (struct test): Change bool ld_ok field to struct exactness exact.
59297         (TEST): Update all definitions for change to field.
59298         (tests): Regenerate array contents.
59299         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59300         field value.  Check for IBM long double here.
59301         (do_test): Update calls to test_in_one_mode.
59303 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59305         [BZ #12515]
59306         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59307         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59309 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59311         [BZ #15605]
59312         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59313         generated by the compiler on loop optimizations.
59314         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59315         general definitions.
59317 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59319         * math/bug-nextafter.c: Include <math-tests.h>.
59320         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59321         the relevant type.
59322         * math/bug-nexttoward.c: Include <math-tests.h>.
59323         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59324         the relevant type.
59325         * math/test-misc.c: Include <math-tests.h>.
59326         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59327         the relevant type.
59329 2013-06-12  Andreas Jaeger  <aj@suse.de>
59331         * po/ia.po: Update Interlingua translation from translation
59332         project.
59334 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59336         * include/fenv.h: Include stdbool.h.
59337         (struct rm_ctx): New structure.
59338         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59339         Define macro.
59340         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59341         (SET_RESTORE_ROUNDF): Likewise.
59342         (SET_RESTORE_ROUNDL): Likewise.
59343         (SET_RESTORE_ROUND_NOEX): Likewise.
59344         (SET_RESTORE_ROUND_NOEXF): Likewise.
59345         (SET_RESTORE_ROUND_NOEXL): Likewise.
59346         (SET_RESTORE_ROUND_53BIT): Likewise.
59347         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59348         (libc_feresetround_noexf_ctx): Likewise.
59349         (libc_feresetround_noexl_ctx): Likewise.
59350         (libc_feholdsetround_53bit_ctx): Likewise.
59351         (libc_feresetround_53bit_ctx): Likewise.
59352         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59353         (libc_feholdexcept_setround_sse_ctx): New function.
59354         (libc_fesetenv_sse_ctx): Likewise.
59355         (libc_feupdateenv_sse_ctx): Likewise.
59356         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59357         (libc_feholdexcept_setround_387_ctx): Likewise.
59358         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59359         (libc_feholdsetround_387_prec_ctx): Likewise.
59360         (libc_feholdsetround_387_ctx): Likewise.
59361         (libc_feholdsetround_387_53bit_ctx): Likewise.
59362         (libc_feholdsetround_sse_ctx): Likewise.
59363         (libc_feresetround_sse_ctx): Likewise.
59364         (libc_feresetround_387_ctx): Likewise.
59365         (libc_feupdateenv_387_ctx): Likewise.
59366         (libc_feholdexcept_setroundf_ctx): Define macro.
59367         (libc_fesetenvf_ctx): Likewise.
59368         (libc_feupdateenvf_ctx): Likewise.
59369         (libc_feholdsetroundf_ctx): Likewise.
59370         (libc_feresetroundf_ctx): Likewise.
59371         (libc_feholdexcept_setround_ctx): Likewise.
59372         (libc_fesetenv_ctx): Likewise.
59373         (libc_feupdateenv_ctx): Likewise.
59374         (libc_feholdsetround_ctx): Likewise.
59375         (libc_feresetround_ctx): Likewise.
59376         (libc_feholdexcept_setroundl_ctx): Likewise.
59377         (libc_feupdateenvl_ctx): Likewise.
59378         (libc_feholdsetroundl_ctx): Likewise.
59379         (libc_feresetroundl_ctx): Likewise.
59380         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59381         (libc_feresetround_53bit_ctx): Likewise.
59383 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59385         * locale/iso-639.def: Convert to UTF-8.
59387 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59389         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59390         (EXCEPTION_TESTS_double): Likewise.
59391         (EXCEPTION_TESTS_long_double): Likewise.
59392         (EXCEPTION_TESTS): Likewise.
59393         * math/libm-test.inc (test_exceptions): Only test exceptions if
59394         EXCEPTION_TESTS (FLOAT).
59396 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59398         * benchtests/Makefile (string-bench): Add strcpy_chk and
59399         stpcpy_chk.
59400         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59401         * benchtests/bench-stpcpy_chk.c: New file.
59402         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59403         * benchtests/bench-strcpy_chk.c: New file.
59404         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59405         code.
59406         (do_test): Likewise.
59408 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59410         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59411         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59412         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59413         with tabs where appropriate.
59414         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59415         dl-procinfo.h.
59416         [PPC_PLATFORM_PPC440]: Likewise.
59417         [PPC_PLATFORM_PPC464]: Likewise.
59418         [PPC_PLATFORM_PPC476]: Likewise.
59419         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59420         ppc464, and ppc476 platform strings merging from ports/
59421         dl-procinfo.h.
59423 2013-06-11  Andreas Schwab  <schwab@suse.de>
59425         [BZ #14991]
59426         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59427         (from_ucs4_idx): Regenerate.
59428         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59429         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59430         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59431         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59432         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59433         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59434         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59435         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59436         from FROM_LOOP and TO_LOOP specific macros.
59437         (BODY): Handle combining characters.
59438         * iconvdata/BIG5HKSCS.irreversible: Update.
59439         * iconvdata/BIG5HKSCS.precomposed: New file.
59440         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59441         characters.
59442         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59444 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59446         * include/sys/time.h: Fix indentation and add copyright header.
59448         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59449         (do_test): Likewise.
59450         * string/test-memchr.c (do_one_test): Likewise.
59451         (do_test): Likewise.
59452         * string/test-memcmp.c (do_one_test): Likewise.
59453         (do_test): Likewise.
59454         * string/test-memcpy.c (do_one_test): Likewise.
59455         (do_test): Likewise.
59456         * string/test-memmem.c (do_one_test): Likewise.
59457         (do_test): Likewise.
59458         (do_random_tests): Likewise.
59459         * string/test-memmove.c (do_one_test): Likewise.
59460         (do_test): Likewise.
59461         * string/test-memset.c (do_one_test): Likewise.
59462         (do_test): Likewise.
59463         * string/test-rawmemchr.c (do_one_test): Likewise.
59464         (do_test): Likewise.
59465         * string/test-strcasecmp.c (do_one_test): Likewise.
59466         (do_test): Likewise.
59467         * string/test-strcasestr.c (do_one_test): Likewise.
59468         (do_test): Likewise.
59469         * string/test-strcat.c (do_one_test): Likewise.
59470         (do_test): Likewise.
59471         * string/test-strchr.c (do_one_test): Likewise.
59472         (do_test): Likewise.
59473         * string/test-strcmp.c (do_one_test): Likewise.
59474         (do_test): Likewise.
59475         * string/test-strcpy.c (do_one_test): Likewise.
59476         (do_test): Likewise.
59477         * string/test-string.h: Likewise.
59478         (test_init): Likewise.
59479         * string/test-strlen.c (do_one_test): Likewise.
59480         (do_test): Likewise.
59481         * string/test-strncasecmp.c (do_one_test): Likewise.
59482         (do_test): Likewise.
59483         * string/test-strncat.c (do_one_test): Likewise.
59484         (do_test): Likewise.
59485         * string/test-strncmp.c (do_one_test): Likewise.
59486         (do_test_limit): Likewise.
59487         (do_test): Likewise.
59488         * string/test-strncpy.c (do_one_test): Likewise.
59489         (do_test): Likewise.
59490         * string/test-strnlen.c (do_one_test): Likewise.
59491         (do_test): Likewise.
59492         * string/test-strpbrk.c (do_one_test): Likewise.
59493         (do_test): Likewise.
59494         * string/test-strrchr.c (do_one_test): Likewise.
59495         (do_test): Likewise.
59496         * string/test-strspn.c (do_one_test): Likewise.
59497         (do_test): Likewise.
59498         * string/test-strstr.c (do_one_test): Likewise.
59499         (do_test): Likewise.
59501         * benchtests/Makefile (string-bench): Add string benchmarks.
59502         * benchtests/bench-bcopy-ifunc.c: New file.
59503         * benchtests/bench-bcopy.c: New file.
59504         * benchtests/bench-bzero-ifunc.c: New file.
59505         * benchtests/bench-bzero.c: New file.
59506         * benchtests/bench-memccpy-ifunc.c: New file.
59507         * benchtests/bench-memccpy.c: New file.
59508         * benchtests/bench-memchr-ifunc.c: New file.
59509         * benchtests/bench-memchr.c: New file.
59510         * benchtests/bench-memcmp-ifunc.c: New file.
59511         * benchtests/bench-memcmp.c: New file.
59512         * benchtests/bench-memmem-ifunc.c: New file.
59513         * benchtests/bench-memmem.c: New file.
59514         * benchtests/bench-memmove-ifunc.c: New file.
59515         * benchtests/bench-memmove.c: New file.
59516         * benchtests/bench-mempcpy-ifunc.c: New file.
59517         * benchtests/bench-mempcpy.c: New file.
59518         * benchtests/bench-memset-ifunc.c: New file.
59519         * benchtests/bench-memset.c: New file.
59520         * benchtests/bench-rawmemchr-ifunc.c: New file.
59521         * benchtests/bench-rawmemchr.c: New file.
59522         * benchtests/bench-stpcpy-ifunc.c: New file.
59523         * benchtests/bench-stpcpy.c: New file.
59524         * benchtests/bench-stpncpy-ifunc.c: New file.
59525         * benchtests/bench-stpncpy.c: New file.
59526         * benchtests/bench-strcasecmp-ifunc.c: New file.
59527         * benchtests/bench-strcasecmp.c: New file.
59528         * benchtests/bench-strcasestr-ifunc.c: New file.
59529         * benchtests/bench-strcasestr.c: New file.
59530         * benchtests/bench-strcat-ifunc.c: New file.
59531         * benchtests/bench-strcat.c: New file.
59532         * benchtests/bench-strchr-ifunc.c: New file.
59533         * benchtests/bench-strchr.c: New file.
59534         * benchtests/bench-strchrnul-ifunc.c: New file.
59535         * benchtests/bench-strchrnul.c: New file.
59536         * benchtests/bench-strcmp-ifunc.c: New file.
59537         * benchtests/bench-strcmp.c: New file.
59538         * benchtests/bench-strcpy-ifunc.c: New file.
59539         * benchtests/bench-strcpy.c: New file.
59540         * benchtests/bench-strcspn-ifunc.c: New file.
59541         * benchtests/bench-strcspn.c: New file.
59542         * benchtests/bench-strlen-ifunc.c: New file.
59543         * benchtests/bench-strlen.c: New file.
59544         * benchtests/bench-strncasecmp-ifunc.c: New file.
59545         * benchtests/bench-strncasecmp.c: New file.
59546         * benchtests/bench-strncat-ifunc.c: New file.
59547         * benchtests/bench-strncat.c: New file.
59548         * benchtests/bench-strncmp-ifunc.c: New file.
59549         * benchtests/bench-strncmp.c: New file.
59550         * benchtests/bench-strncpy-ifunc.c: New file.
59551         * benchtests/bench-strncpy.c: New file.
59552         * benchtests/bench-strnlen-ifunc.c: New file.
59553         * benchtests/bench-strnlen.c: New file.
59554         * benchtests/bench-strpbrk-ifunc.c: New file.
59555         * benchtests/bench-strpbrk.c: New file.
59556         * benchtests/bench-strrchr-ifunc.c: New file.
59557         * benchtests/bench-strrchr.c: New file.
59558         * benchtests/bench-strspn-ifunc.c: New file.
59559         * benchtests/bench-strspn.c: New file.
59560         * benchtests/bench-strstr-ifunc.c: New file.
59561         * benchtests/bench-strstr.c: New file.
59563         * benchtests/Makefile: Disable parallel execution of targets.
59564         (string-bench): Add memcpy.
59565         (benchset): New variable to store a list of benchmark sets.
59566         (bench-func): Renamed from bench.
59567         (bench-set): New target.
59568         (bench): Depend on bench-func and bench-set.
59569         * benchtests/README: Add section on benchmark sets.
59570         * benchtests/bench-memcpy-ifunc.c: New file.
59571         * benchtests/bench-memcpy.c: New file.
59572         * benchtests/bench-string.h: New file.
59574 2013-06-11  Andreas Schwab  <schwab@suse.de>
59576         [BZ #15577]
59577         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59578         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59579         values in the triple.
59580         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59581         terminator in the group key.
59583 2013-06-11  Andreas Jaeger  <aj@suse.de>
59585         * po/zh_TW.po: Update Chinese (traditional) translation from
59586         translation project.
59588 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59590         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59591         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59592         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59593         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59594         (clock_getcpuclockid): Likewise.
59595         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59596         Add weak_alias and libc_hidden_def.
59597         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59598         * rt/clock_gettime.c (clock_gettime): Rename to
59599         __clock_gettime.  Add weak_alias and libc_hidden_def.
59600         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59601         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59602         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59603         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59604         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59605         Likewise.
59606         * rt/clock_settime.c (clock_settime): Rename to
59607         __clock_settime.  Add weak_alias and libc_hidden_def.
59608         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59610 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59612         * mach/err_boot.sub: Remove trailing whitespace.
59613         * mach/err_ipc.sub: Likewise.
59614         * mach/err_mach.sub: Likewise.
59616         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59617         (ROUNDING_TESTS_double): Likewise.
59618         (ROUNDING_TESTS_long_double): Likewise.
59619         (ROUNDING_TESTS): Likewise.
59620         * math/libm-test.inc: Include <math-tests.h>.
59621         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59622         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59623         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59624         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59626 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59628         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59629         of assigning.
59631 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59633         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59634         otherwise empty TRANS lines.
59635         * sysdeps/gnu/errlist.c: Regenerated.
59637         * catgets/gencat.c (error_print): Use (void) in function
59638         definition.
59639         * crypt/crypt_util.c (__init_des): Likewise.
59640         * crypt/speeds.c (Stop): Likewise.
59641         (main): Likewise.
59642         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59643         * inet/ruserpass.c (token): Likewise.
59644         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59645         * intl/localealias.c (extend_alias_table): Likewise.
59646         * intl/plural-exp.c (init_germanic_plural): Likewise.
59647         * libio/fcloseall.c (__fcloseall): Likewise.
59648         * libio/genops.c (_IO_flush_all): Likewise.
59649         (_IO_flush_all_linebuffered): Likewise.
59650         (_IO_cleanup): Likewise.
59651         (_IO_iter_begin): Likewise.
59652         (_IO_iter_end): Likewise.
59653         (_IO_list_lock): Likewise.
59654         (_IO_list_unlock): Likewise.
59655         (_IO_list_resetlock): Likewise.
59656         * libio/getchar.c (getchar): Likewise.
59657         * libio/getchar_u.c (getchar_unlocked): Likewise.
59658         * libio/getwchar.c (getwchar): Likewise.
59659         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59660         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59661         * login/getpt.c (__getpt): Likewise.
59662         * login/tst-utmp.c (main): Likewise.
59663         * malloc/hooks.c (__malloc_check_init): Likewise.
59664         * malloc/malloc.c (__malloc_stats): Likewise.
59665         * malloc/mtrace.c (tr_break): Likewise.
59666         (mtrace): Likewise.
59667         (muntrace): Likewise.
59668         * misc/fstab.c (endfsent): Likewise.
59669         * misc/getclktck.c (__getclktck): Likewise.
59670         * misc/getdtsz.c (__getdtablesize): Likewise.
59671         * misc/gethostid.c (gethostid): Likewise.
59672         * misc/getpagesize.c (__getpagesize): Likewise.
59673         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59674         (__get_nprocs): Likewise.
59675         (__get_phys_pages): Likewise.
59676         (__get_avphys_pages): Likewise.
59677         * misc/getttyent.c (getttyent): Likewise.
59678         (setttyent): Likewise.
59679         (endttyent): Likewise.
59680         * misc/getusershell.c (getusershell): Likewise.
59681         (endusershell): Likewise.
59682         (setusershell): Likewise.
59683         (initshells): Likewise.
59684         * misc/hsearch.c (__hdestroy): Likewise.
59685         * misc/sync.c (sync): Likewise.
59686         * misc/syslog.c (closelog_internal): Likewise.
59687         (closelog): Likewise.
59688         * misc/ttyslot.c (ttyslot): Likewise.
59689         * misc/vhangup.c (vhangup): Likewise.
59690         * posix/fork.c (__fork): Likewise.
59691         * posix/getegid.c (__getegid): Likewise.
59692         * posix/geteuid.c (__geteuid): Likewise.
59693         * posix/getgid.c (__getgid): Likewise.
59694         * posix/getpid.c (__getpid): Likewise.
59695         * posix/getppid.c (__getppid): Likewise.
59696         * posix/getuid.c (__getuid): Likewise.
59697         * posix/pause.c (pause): Likewise.
59698         * posix/setpgrp.c (setpgrp): Likewise.
59699         * posix/setsid.c (__setsid): Likewise.
59700         * posix/test-vfork.c (noop): Likewise.
59701         * resolv/gethnamaddr.c (_endhtent): Likewise.
59702         (_gethtent): Likewise.
59703         (ht_endhostent): Likewise.
59704         (gethostent): Likewise.
59705         (dns_service): Likewise.
59706         * stdlib/drand48.c (drand48): Likewise.
59707         * stdlib/lrand48.c (lrand48): Likewise.
59708         * stdlib/mrand48.c (mrand48): Likewise.
59709         * stdlib/rand.c (rand): Likewise.
59710         * stdlib/random.c (__random): Likewise.
59711         * stdlib/setenv.c (clearenv): Likewise.
59712         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59713         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59714         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59715         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59716         (__get_nprocs): Likewise.
59717         (__get_phys_pages): Likewise.
59718         (__get_avphys_pages): Likewise.
59719         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59720         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59721         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59722         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59723         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59724         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59725         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59726         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59727         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59728         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59729         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59730         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59731         * sysdeps/posix/clock.c (clock): Likewise.
59732         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59733         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59734         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59735         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59736         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59738         (__get_nprocs_conf): Likewise.
59739         (__get_phys_pages): Likewise.
59740         (__get_avphys_pages): Likewise.
59741         * time/clock.c (clock): Likewise.
59742         * time/tzset.c (__tzname_max): Likewise.
59744 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59746         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59747         (__bswap_32): Do not use "register".
59748         * crypt/crypt.c (_ufc_doit_r): Likewise.
59749         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59750         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59751         * gmon/gmon.c (__monstartup): Likewise.
59752         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59753         * hurd/hurdmalloc.c (more_memory): Likewise.
59754         (malloc): Likewise.
59755         (free): Likewise.
59756         (realloc): Likewise.
59757         (malloc_fork_prepare): Likewise.
59758         (malloc_fork_parent): Likewise.
59759         (malloc_fork_child): Likewise.
59760         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59761         (_svcauth_des): Likewise.
59762         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59763         * inet/inet_net.c (inet_network): Likewise.
59764         * inet/inet_netof.c (inet_netof): Likewise.
59765         * inet/rcmd.c (__validuser2_sa): Likewise.
59766         * io/fts.c (fts_open): Likewise.
59767         (fts_load): Likewise.
59768         (fts_close): Likewise.
59769         (fts_read): Likewise.
59770         (fts_children): Likewise.
59771         (fts_build): Likewise.
59772         (fts_stat): Likewise.
59773         (fts_sort): Likewise.
59774         (fts_alloc): Likewise.
59775         (fts_lfree): Likewise.
59776         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59777         (_IO_file_xsgetn): Likewise.
59778         (_IO_file_xsgetn_mmap): Likewise.
59779         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59780         (_IO_cookie_write): Likewise.
59781         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59782         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59783         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59784         * malloc/obstack.c (_obstack_begin): Likewise.
59785         (_obstack_begin_1): Likewise.
59786         (_obstack_newchunk): Likewise.
59787         (_obstack_allocated_p): Likewise.
59788         (obstack_free): Likewise.
59789         (_obstack_memory_used): Likewise.
59790         * misc/getttyent.c (getttynam): Likewise.
59791         (getttyent): Likewise.
59792         (skip): Likewise.
59793         (value): Likewise.
59794         * misc/getusershell.c (initshells): Likewise.
59795         * misc/syslog.c (__vsyslog_chk): Likewise.
59796         * misc/ttyslot.c (ttyslot): Likewise.
59797         * nis/nis_hash.c (__nis_hash): Likewise.
59798         * posix/fnmatch_loop.c (FCT): Likewise.
59799         * posix/getconf.c (print_all): Likewise.
59800         (main): Likewise.
59801         * posix/getopt.c (exchange): Likewise.
59802         * posix/glob.c (globfree): Likewise.
59803         (prefix_array): Likewise.
59804         (__glob_pattern_type): Likewise.
59805         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59806         (NS_GET32): Likewise.
59807         (NS_PUT16): Likewise.
59808         (NS_PUT32): Likewise.
59809         * resolv/gethnamaddr.c (getanswer): Likewise.
59810         (gethostbyname2): Likewise.
59811         (gethostbyaddr): Likewise.
59812         (_gethtent): Likewise.
59813         (_gethtbyname2): Likewise.
59814         (_gethtbyaddr): Likewise.
59815         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59816         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59817         * resolv/res_init.c (__res_vinit): Likewise.
59818         (net_mask): Likewise.
59819         * resolv/res_mkquery.c (outchar): Likewise.
59820         (PRINT): Likewise.
59821         * stdio-common/printf_fp.c (outchar): Likewise.
59822         (PRINT): Likewise.
59823         * stdio-common/printf_fphex.c (outchar): Likewise.
59824         (PRINT): Likewise.
59825         * stdio-common/printf_size.c (outchar): Likewise.
59826         (PRINT): Likewise.
59827         * stdio-common/test_rdwr.c (main): Likewise.
59828         * stdio-common/tfformat.c (matches): Likewise.
59829         * stdio-common/vfprintf.c (outchar): Likewise.
59830         (printf_unknown): Likewise.
59831         (buffered_vfprintf): Likewise.
59832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59833         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59834         (ReadFile): Likewise.
59835         * stdlib/qsort.c (SWAP): Likewise.
59836         (_quicksort): Likewise.
59837         * stdlib/setenv.c (__add_to_environ): Likewise.
59838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59839         * stdlib/strtol_l.c (__strtol_l): Likewise.
59840         * stdlib/tst-strtod.c (main): Likewise.
59841         * stdlib/tst-strtol.c (main): Likewise.
59842         * stdlib/tst-strtoll.c (main): Likewise.
59843         * string/bits/string2.h (__strcmp_cc): Likewise.
59844         (__strcmp_cg): Likewise.
59845         (__strcspn_c1): Likewise.
59846         (__strcspn_c2): Likewise.
59847         (__strcspn_c3): Likewise.
59848         (__strspn_c1): Likewise.
59849         (__strspn_c2): Likewise.
59850         (__strspn_c3): Likewise.
59851         (__strsep_1c): Likewise.
59852         (__strsep_2c): Likewise.
59853         (__strsep_3c): Likewise.
59854         * string/memccpy.c (__memccpy): Likewise.
59855         * string/stpcpy.c (__stpcpy): Likewise.
59856         * string/strcmp.c (strcmp): Likewise.
59857         * string/strrchr.c (strrchr): Likewise.
59858         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59859         Likewise.
59860         * sysdeps/mach/hurd/getcwd.c
59861         (_hurd_canonicalize_directory_name_internal): Likewise.
59862         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59863         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59864         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59865         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59866         Likewise, in both definitions.
59867         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59868         definitions.
59869         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59870         64] (__bswap_64): Likewise.
59871         * time/test_time.c (main): Likewise.
59872         * time/tzfile.c (__tzfile_read): Likewise.
59873         (__tzfile_compute): Likewise.
59874         * time/tzset.c (__tzset_parse_tz): Likewise.
59875         (tzset_internal): Likewise.
59876         (compute_change): Likewise.
59877         * wcsmbs/wcscat.c (__wcscat): Likewise.
59878         * wcsmbs/wcschr.c (wcschr): Likewise.
59879         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59880         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59881         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59882         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59883         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59884         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59885         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59886         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59887         * wcsmbs/wmemset.c (wmemset): Likewise.
59889 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59891         * scripts/config.guess: Update to version 2013-05-16.
59892         * scripts/config.sub: Update to version 2013-04-24.
59893         * scripts/install-sh: Update to version 2011-11-20.07.
59894         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59895         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59897 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59899         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59900         * elf/sln.c: Likewise.
59901         * hurd/hurd/ioctl.h: Likewise.
59902         * hurd/hurdmalloc.c: Likewise.
59903         * hurd/xattr.c: Likewise.
59904         * include/shlib-compat.h: Likewise.
59905         * inet/ruserpass.c: Likewise.
59906         * libio/iofgets_u.c: Likewise.
59907         * libio/iofgetws_u.c: Likewise.
59908         * locale/programs/ld-identification.c: Likewise.
59909         * locale/programs/ld-time.c: Likewise.
59910         * mach/msg-destroy.c: Likewise.
59911         * nss/nss_files/files-netgrp.c: Likewise.
59912         * resolv/res_data.c: Likewise.
59913         * soft-fp/op-1.h: Likewise.
59914         * soft-fp/op-2.h: Likewise.
59915         * soft-fp/op-4.h: Likewise.
59916         * soft-fp/op-common.h: Likewise.
59917         * stdio-common/printf_fphex.c: Likewise.
59918         * stdlib/strtod_l.c: Likewise.
59919         * sunrpc/rpc/clnt.h: Likewise.
59920         * sysdeps/generic/framestate.c: Likewise.
59921         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59922         * sysdeps/i386/bsd-setjmp.S: Likewise.
59923         * sysdeps/i386/__longjmp.S: Likewise.
59924         * sysdeps/i386/setjmp.S: Likewise.
59925         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59926         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59927         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59928         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59930         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59931         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59934         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59935         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59938         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59939         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59940         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59941         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59942         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59943         * sysdeps/ieee754/support.c: Likewise.
59944         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59945         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59946         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59947         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59948         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59949         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59950         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59951         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59952         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59953         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59954         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59955         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59956         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59957         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59958         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59959         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59960         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59963 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59965         * posix/transbug.c: Remove executable mode.
59967 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59969         * crypt/speeds.c: Remove trailing whitespace.
59970         * dlfcn/default.c: Likewise.
59971         * elf/ifuncdep2.c: Likewise.
59972         * elf/ifuncmain1.c: Likewise.
59973         * elf/ifuncmain1vis.c: Likewise.
59974         * elf/testobj.h: Likewise.
59975         * elf/tst-stackguard1.c: Likewise.
59976         * gmon/sys/gmon.h: Likewise.
59977         * hurd/hurdmsg.c: Likewise.
59978         * hurd/new-fd.c: Likewise.
59979         * hurd/ports-get.c: Likewise.
59980         * iconvdata/ibm1008_420.c: Likewise.
59981         * inet/tst-getni1.c: Likewise.
59982         * inet/tst-getni2.c: Likewise.
59983         * libio/ioungetc.c: Likewise.
59984         * libio/wfiledoalloc.c: Likewise.
59985         * manual/libm-err-tab.pl: Likewise.
59986         * math/w_dremf.c: Likewise.
59987         * misc/ftruncate.c: Likewise.
59988         * posix/bug-glob2.c: Likewise.
59989         * posix/tst-pcre.c: Likewise.
59990         * posix/wait4.c: Likewise.
59991         * resolv/README: Likewise.
59992         * resolv/res_debug.h: Likewise.
59993         * resolv/tst-inet_ntop.c: Likewise.
59994         * setjmp/bug269-setjmp.c: Likewise.
59995         * soft-fp/extended.h: Likewise.
59996         * soft-fp/op-1.h: Likewise.
59997         * soft-fp/op-2.h: Likewise.
59998         * soft-fp/op-4.h: Likewise.
59999         * soft-fp/op-8.h: Likewise.
60000         * soft-fp/testit.c: Likewise.
60001         * stdio-common/bug16.c: Likewise.
60002         * stdlib/random.c: Likewise.
60003         * sunrpc/rpcsvc/rquota.x: Likewise.
60004         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60005         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60006         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60007         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60008         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60009         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60010         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60011         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60012         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60013         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60014         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60015         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60017         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60019         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60020         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60021         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60022         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60023         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60024         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60025         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60026         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60027         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60028         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60029         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60031         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60032         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60033         * sysdeps/ieee754/s_lib_version.c: Likewise.
60034         * sysdeps/mach/hurd/check_fds.c: Likewise.
60035         * sysdeps/mach/hurd/getsockname.c: Likewise.
60036         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60037         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60038         * sysdeps/powerpc/bits/link.h: Likewise.
60039         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60040         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60041         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60042         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60043         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60044         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60045         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60046         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60047         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60048         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60049         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60050         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60051         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60052         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60053         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60054         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60056         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60057         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60058         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60059         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60060         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60062         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60063         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60064         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60065         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60066         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60067         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60068         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60069         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60070         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60071         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60073         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60074         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60075         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60076         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60077         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60078         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60079         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60080         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60081         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60082         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60083         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60084         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60085         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60086         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60087         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60088         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60091         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60092         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60093         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60094         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60095         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60096         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60097         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60098         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60099         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60100         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60101         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60102         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60103         * sysdeps/powerpc/sysdep.h: Likewise.
60104         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60105         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60106         * sysdeps/sh/dl-trampoline.S: Likewise.
60107         * sysdeps/sh/memset.S: Likewise.
60108         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60109         * sysdeps/sh/strlen.S: Likewise.
60110         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60111         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60112         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60113         * sysdeps/sparc/sparc32/rem.S: Likewise.
60114         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60115         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60116         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60117         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60118         * sysdeps/sparc/sparc32/urem.S: Likewise.
60119         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60120         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60121         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60122         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60123         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60124         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60125         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60126         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60127         * sysdeps/unix/bsd/times.c: Likewise.
60128         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60129         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60133         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60134         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60135         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60136         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60137         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60138         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60139         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60140         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60141         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60142         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60143         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60144         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60145         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60146         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60147         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60148         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60149         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60150         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60151         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60152         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60153         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60154         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60156         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60157         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60158         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60159         * sysdeps/x86_64/strcspn.S: Likewise.
60161 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60163         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60164         generated file.  Regenerate properly from gen-translit.pl.
60165         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60166         locale/C-translit.h.
60168 2013-06-05  Andreas Schwab  <schwab@suse.de>
60170         [BZ #15100]
60171         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60172         week as 6 instead of -1.
60173         * time/tst-strptime.c (day_tests): Add test case.
60175 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60177         * sysdeps/generic/math_private.h
60178         (libc_feholdexcept_setround_53bit): Replace with
60179         libc_feholdsetround_53bit.
60180         (libc_feupdateenv_53bit): Replace with
60181         libc_feresetround_53bit.
60182         (SET_RESTORE_ROUND_53BIT): Adjust.
60184 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60186         * string/test-strchrnul.c: Add copyright header.
60188         * posix/tst-getaddrinfo4.c: Increase test timeout.
60190 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60192         [BZ #15536]
60193         * math/libm-test.inc (MAX_EXP): Remove
60194         (MIN_EXP): Define.
60195         (ulp): Use MIN_EXP - MANT_DIG.
60196         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60198 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60200         * po/be.po: Revert last change.
60201         * po/zh_CN.po: Likewise.
60202         * po/header.pot: Likewise.
60204 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60206         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60207         link-libc-deps to empty as target-specific variable.
60208         * Makerules (link-libc-args): New variable.
60209         (libc-for-link): Likewise.
60210         (link-libc-deps): Likewise.
60211         (lib%.so): Depend on $(link-libc-deps).  Link with
60212         $(link-libc-args).
60213         (build-module): Link with $(link-libc-args).
60214         (build-module-asneeded): Likewise.
60215         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60216         list of objects.
60217         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60218         target-specific variable.
60219         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60220         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60221         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60222         libc.
60223         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60224         libc and ld.so.
60225         ($(objpfx)libpcprofile.so): Likewise.
60226         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60227         libc_nonshared.a.
60228         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60229         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60230         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60231         $(link-libc-deps).
60232         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60233         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60234         * login/Makefile ($(objpfx)libutil.so): Likewise.
60235         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60236         * math/Makefile ($(objpfx)libm.so): Likewise.
60237         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60238         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60239         variable instead of depending directly on libc.
60240         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60241         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60242         $(link-libc-deps).
60243         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60244         libc.
60245         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60246         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60247         ($(objpfx)libanl.so): Likewise.
60248         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60249         ld.so.
60250         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60251         $(link-libc-deps).
60252         * sysdeps/i386/fpu/Makefile: Remove file.
60253         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60254         ($(objpfx)libm.so): Remove dependency on ld.so.
60256 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60258         [BZ # 15553]
60259         * nis/yp_xdr.c (XDRMAXNAME): Define.
60260         (XDRMAXRECORD): Define.
60261         (xdr_domainname): Use XDRMAXNAME.
60262         (xdr_mapname): Likewise.
60263         (xdr_peername): Likewise.
60264         (xdr_keydat): Use XDRMAXRECORD.
60265         (xdr_valdat): Likewise.
60267 2013-05-30  Jeff Law  <law@redhat.com>
60269         [BZ #14256]
60270         * manual/errno.texi (ESTALE): Update to account for more than
60271         just NFS file systems.
60272         * sysdeps/gnu/errlist.c: Regenerated.
60274 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60276         [BZ #15465]
60277         * elf/Makefile (tests): Add tst-null-argv.
60278         (modules-names):  Add tst-null-argv-lib.
60279         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60280         (tst-null-argv-ENV): Set environment for tst-null-argv.
60281         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60282         (RTLD_PROGNAME): New macro.
60283         * elf/tst-null-argv.c: New test case.
60284         * elf/tst-null-argv-lib.c: Library for test case.
60285         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60286         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60287         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60288         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60289         * elf/dl-init.c (call_init): Likewise.
60290         (_dl_init): Likewise.
60291         * elf/dl-load.c (print_search_path): Likewise.
60292         (_dl_map_object): Likewise.
60293         * elf/dl-lookup.c (do_lookup_x): Likewise.
60294         (add_dependency): Likewise.
60295         (_dl_lookup_symbol_x): Likewise.
60296         (_dl_debug_bindings): Likewise.
60297         * elf/dl-open.c (_dl_show_scope): Likewise.
60298         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60299         * elf/dl-version.c (match_symbol): Likewise.
60300         (_dl_check_map_versions): Likewise.
60301         * elf/rtld.c (dl_main): Likewise.
60302         (print_unresolved): Use RTLD_PROGNAME.
60303         (print_missing_version): Likewise.
60304         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60305         (elf_machine_rela): Likewise.
60306         * sysdeps/powerpc/powerpc32/dl-machine.c
60307         (__process_machine_rela): Likewise.
60308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60309         Likewise.
60310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60311         Likewise.
60312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60313         Likewise.
60314         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60316         Likewise.
60317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60318         Likewise.
60319         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60321 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60323         * po/be.po: Add descriptive title.
60324         * po/zh_CN.po: Likewise.
60325         * po/header.pot: Likewise.
60327 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60329         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60330         error message.
60331         (enlarge_archive): Likewise.
60333 2013-05-28  Ben North  <ben@redfrontdoor.org>
60335         * manual/arith.texi (frexp): It is the magnitude of the return
60336         value which lies in [0.5, 1), not the return value itself.
60338 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60342 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60344         * stdio-common/bug26.c (main): Correct fscanf template.
60346         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60347         declare _dl_skip_args.
60349         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60350         Don't declare.
60352         * manual/platform.texi: Add missing @end deftypefun.
60354 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60356         [BZ #15529]
60357         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60358         bit of mantissa of 2^16382.
60359         * math/libm-test.inc (hypot_test_data): Add more tests.
60361         * math/libm-test.inc: Add drem and pow10 to list of tested
60362         functions.
60363         (pow10_test): New function.
60364         (drem_test): Likewise.
60365         (drem_test_tonearest): Likewise.
60366         (drem_test_towardzero): Likewise.
60367         (drem_test_downward): Likewise.
60368         (drem_test_upward): Likewise.
60369         (main): Call the new functions.
60371         * math/libm-test.inc (finite_test_data): Remove.
60372         (finite_test): Run tests from isfinite_test_data.
60373         (gamma_test_data): Remove.
60374         (gamma_test): Run tests from lgamma_test_data.
60375         * sysdeps/i386/fpu/libm-test-ulps: Update.
60376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60378 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60380         * manual/platform.texi: Add PowerPC PPR function set documentation.
60381         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60382         implementation.
60384 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60386         * math/libm-test.inc (MAX_EXP): Define.
60387         (ULPDIFF): Define.
60388         (ulp): New function.
60389         (check_float_internal): Use ULPDIFF.
60390         (cpow_test): Disable failing test.
60391         (check_ulp): Test ulp() implementation.
60392         (main): Call check_ulp before starting tests.
60394 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60396         * math/gen-libm-test.pl (generate_testfile): Do not handle
60397         START_DATA and END_DATA.
60398         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60399         END_DATA.
60400         (acos_tonearest_test_data): Likewise.
60401         (acos_towardzero_test_data): Likewise.
60402         (acos_downward_test_data): Likewise.
60403         (acos_upward_test_data): Likewise.
60404         (acosh_test_data): Likewise.
60405         (asin_test_data): Likewise.
60406         (asin_tonearest_test_data): Likewise.
60407         (asin_towardzero_test_data): Likewise.
60408         (asin_downward_test_data): Likewise.
60409         (asin_upward_test_data): Likewise.
60410         (asinh_test_data): Likewise.
60411         (atan_test_data): Likewise.
60412         (atanh_test_data): Likewise.
60413         (atan2_test_data): Likewise.
60414         (cabs_test_data): Likewise.
60415         (cacos_test_data): Likewise.
60416         (cacosh_test_data): Likewise.
60417         (carg_test_data): Likewise.
60418         (casin_test_data): Likewise.
60419         (casinh_test_data): Likewise.
60420         (catan_test_data): Likewise.
60421         (catanh_test_data): Likewise.
60422         (cbrt_test_data): Likewise.
60423         (ccos_test_data): Likewise.
60424         (ccosh_test_data): Likewise.
60425         (ceil_test_data): Likewise.
60426         (cexp_test_data): Likewise.
60427         (cimag_test_data): Likewise.
60428         (clog_test_data): Likewise.
60429         (clog10_test_data): Likewise.
60430         (conj_test_data): Likewise.
60431         (copysign_test_data): Likewise.
60432         (cos_test_data): Likewise.
60433         (cos_tonearest_test_data): Likewise.
60434         (cos_towardzero_test_data): Likewise.
60435         (cos_downward_test_data): Likewise.
60436         (cos_upward_test_data): Likewise.
60437         (cosh_test_data): Likewise.
60438         (cosh_tonearest_test_data): Likewise.
60439         (cosh_towardzero_test_data): Likewise.
60440         (cosh_downward_test_data): Likewise.
60441         (cosh_upward_test_data): Likewise.
60442         (cpow_test_data): Likewise.
60443         (cproj_test_data): Likewise.
60444         (creal_test_data): Likewise.
60445         (csin_test_data): Likewise.
60446         (csinh_test_data): Likewise.
60447         (csqrt_test_data): Likewise.
60448         (ctan_test_data): Likewise.
60449         (ctan_tonearest_test_data): Likewise.
60450         (ctan_towardzero_test_data): Likewise.
60451         (ctan_downward_test_data): Likewise.
60452         (ctan_upward_test_data): Likewise.
60453         (ctanh_test_data): Likewise.
60454         (ctanh_tonearest_test_data): Likewise.
60455         (ctanh_towardzero_test_data): Likewise.
60456         (ctanh_downward_test_data): Likewise.
60457         (ctanh_upward_test_data): Likewise.
60458         (erf_test_data): Likewise.
60459         (erfc_test_data): Likewise.
60460         (exp_test_data): Likewise.
60461         (exp_tonearest_test_data): Likewise.
60462         (exp_towardzero_test_data): Likewise.
60463         (exp_downward_test_data): Likewise.
60464         (exp_upward_test_data): Likewise.
60465         (exp10_test_data): Likewise.
60466         (exp2_test_data): Likewise.
60467         (expm1_test_data): Likewise.
60468         (fabs_test_data): Likewise.
60469         (fdim_test_data): Likewise.
60470         (finite_test_data): Likewise.
60471         (floor_test_data): Likewise.
60472         (fma_test_data): Likewise.
60473         (fma_towardzero_test_data): Likewise.
60474         (fma_downward_test_data): Likewise.
60475         (fma_upward_test_data): Likewise.
60476         (fmax_test_data): Likewise.
60477         (fmin_test_data): Likewise.
60478         (fmod_test_data): Likewise.
60479         (fpclassify_test_data): Likewise.
60480         (frexp_test_data): Likewise.
60481         (gamma_test_data): Likewise.
60482         (hypot_test_data): Likewise.
60483         (ilogb_test_data): Likewise.
60484         (isfinite_test_data): Likewise.
60485         (isgreater_test_data): Likewise.
60486         (isgreaterequal_test_data): Likewise.
60487         (isinf_test_data): Likewise.
60488         (isless_test_data): Likewise.
60489         (islessequal_test_data): Likewise.
60490         (islessgreater_test_data): Likewise.
60491         (isnan_test_data): Likewise.
60492         (isnormal_test_data): Likewise.
60493         (issignaling_test_data): Likewise.
60494         (isunordered_test_data): Likewise.
60495         (j0_test_data): Likewise.
60496         (j1_test_data): Likewise.
60497         (jn_test_data): Likewise.
60498         (ldexp_test_data): Likewise.
60499         (lgamma_test_data): Likewise.
60500         (lrint_test_data): Likewise.
60501         (lrint_tonearest_test_data): Likewise.
60502         (lrint_towardzero_test_data): Likewise.
60503         (lrint_downward_test_data): Likewise.
60504         (lrint_upward_test_data): Likewise.
60505         (llrint_test_data): Likewise.
60506         (llrint_tonearest_test_data): Likewise.
60507         (llrint_towardzero_test_data): Likewise.
60508         (llrint_downward_test_data): Likewise.
60509         (llrint_upward_test_data): Likewise.
60510         (log_test_data): Likewise.
60511         (log10_test_data): Likewise.
60512         (log1p_test_data): Likewise.
60513         (log2_test_data): Likewise.
60514         (logb_test_data): Likewise.
60515         (logb_downward_test_data): Likewise.
60516         (lround_test_data): Likewise.
60517         (llround_test_data): Likewise.
60518         (modf_test_data): Likewise.
60519         (nearbyint_test_data): Likewise.
60520         (nextafter_test_data): Likewise.
60521         (nexttoward_test_data): Likewise.
60522         (pow_test_data): Likewise.
60523         (pow_tonearest_test_data): Likewise.
60524         (pow_towardzero_test_data): Likewise.
60525         (pow_downward_test_data): Likewise.
60526         (pow_upward_test_data): Likewise.
60527         (remainder_test_data): Likewise.
60528         (remainder_tonearest_test_data): Likewise.
60529         (remainder_towardzero_test_data): Likewise.
60530         (remainder_downward_test_data): Likewise.
60531         (remainder_upward_test_data): Likewise.
60532         (remquo_test_data): Likewise.
60533         (rint_test_data): Likewise.
60534         (rint_tonearest_test_data): Likewise.
60535         (rint_towardzero_test_data): Likewise.
60536         (rint_downward_test_data): Likewise.
60537         (rint_upward_test_data): Likewise.
60538         (round_test_data): Likewise.
60539         (scalb_test_data): Likewise.
60540         (scalbn_test_data): Likewise.
60541         (scalbln_test_data): Likewise.
60542         (signbit_test_data): Likewise.
60543         (sin_test_data): Likewise.
60544         (sin_tonearest_test_data): Likewise.
60545         (sin_towardzero_test_data): Likewise.
60546         (sin_downward_test_data): Likewise.
60547         (sin_upward_test_data): Likewise.
60548         (sincos_test_data): Likewise.
60549         (sinh_test_data): Likewise.
60550         (sinh_tonearest_test_data): Likewise.
60551         (sinh_towardzero_test_data): Likewise.
60552         (sinh_downward_test_data): Likewise.
60553         (sinh_upward_test_data): Likewise.
60554         (sqrt_test_data): Likewise.
60555         (tan_test_data): Likewise.
60556         (tan_tonearest_test_data): Likewise.
60557         (tan_towardzero_test_data): Likewise.
60558         (tan_downward_test_data): Likewise.
60559         (tan_upward_test_data): Likewise.
60560         (tanh_test_data): Likewise.
60561         (tgamma_test_data): Likewise.
60562         (trunc_test_data): Likewise.
60563         (y0_test_data): Likewise.
60564         (y1_test_data): Likewise.
60565         (yn_test_data): Likewise.
60566         (significand_test_data): Likewise.
60568         * math/gen-libm-test.pl (@functions): Remove variable.
60569         (generate_testfile): Don't handle START and END lines.
60570         * math/libm-test.inc (START): New macro.
60571         (END): Likewise.
60572         (END_COMPLEX): Likewise.
60573         (acos_test): Use END macro without arguments.
60574         (acos_test_tonearest): Likewise.
60575         (acos_test_towardzero): Likewise.
60576         (acos_test_downward): Likewise.
60577         (acos_test_upward): Likewise.
60578         (acosh_test): Likewise.
60579         (asin_test): Likewise.
60580         (asin_test_tonearest): Likewise.
60581         (asin_test_towardzero): Likewise.
60582         (asin_test_downward): Likewise.
60583         (asin_test_upward): Likewise.
60584         (asinh_test): Likewise.
60585         (atan_test): Likewise.
60586         (atanh_test): Likewise.
60587         (atan2_test): Likewise.
60588         (cabs_test): Likewise.
60589         (cacos_test): Use END_COMPLEX macro without arguments.
60590         (cacosh_test): Likewise.
60591         (carg_test): Use END macro without arguments.
60592         (casin_test): Use END_COMPLEX macro without arguments.
60593         (casinh_test): Likewise.
60594         (catan_test): Likewise.
60595         (catanh_test): Likewise.
60596         (cbrt_test): Use END macro without arguments.
60597         (ccos_test): Use END_COMPLEX macro without arguments.
60598         (ccosh_test): Likewise.
60599         (ceil_test): Use END macro without arguments.
60600         (cexp_test): Use END_COMPLEX macro without arguments.
60601         (cimag_test): Use END macro without arguments.
60602         (clog_test): Use END_COMPLEX macro without arguments.
60603         (clog10_test): Likewise.
60604         (conj_test): Likewise.
60605         (copysign_test): Use END macro without arguments.
60606         (cos_test): Likewise.
60607         (cos_test_tonearest): Likewise.
60608         (cos_test_towardzero): Likewise.
60609         (cos_test_downward): Likewise.
60610         (cos_test_upward): Likewise.
60611         (cosh_test): Likewise.
60612         (cosh_test_tonearest): Likewise.
60613         (cosh_test_towardzero): Likewise.
60614         (cosh_test_downward): Likewise.
60615         (cosh_test_upward): Likewise.
60616         (cpow_test): Use END_COMPLEX macro without arguments.
60617         (cproj_test): Likewise.
60618         (creal_test): Use END macro without arguments.
60619         (csin_test): Use END_COMPLEX macro without arguments.
60620         (csinh_test): Likewise.
60621         (csqrt_test): Likewise.
60622         (ctan_test): Likewise.
60623         (ctan_test_tonearest): Likewise.
60624         (ctan_test_towardzero): Likewise.
60625         (ctan_test_downward): Likewise.
60626         (ctan_test_upward): Likewise.
60627         (ctanh_test): Likewise.
60628         (ctanh_test_tonearest): Likewise.
60629         (ctanh_test_towardzero): Likewise.
60630         (ctanh_test_downward): Likewise.
60631         (ctanh_test_upward): Likewise.
60632         (erf_test): Use END macro without arguments.
60633         (erfc_test): Likewise.
60634         (exp_test): Likewise.
60635         (exp_test_tonearest): Likewise.
60636         (exp_test_towardzero): Likewise.
60637         (exp_test_downward): Likewise.
60638         (exp_test_upward): Likewise.
60639         (exp10_test): Likewise.
60640         (exp2_test): Likewise.
60641         (expm1_test): Likewise.
60642         (fabs_test): Likewise.
60643         (fdim_test): Likewise.
60644         (finite_test): Likewise.
60645         (floor_test): Likewise.
60646         (fma_test): Likewise.
60647         (fma_test_towardzero): Likewise.
60648         (fma_test_downward): Likewise.
60649         (fma_test_upward): Likewise.
60650         (fmax_test): Likewise.
60651         (fmin_test): Likewise.
60652         (fmod_test): Likewise.
60653         (fpclassify_test): Likewise.
60654         (frexp_test): Likewise.
60655         (gamma_test): Likewise.
60656         (hypot_test): Likewise.
60657         (ilogb_test): Likewise.
60658         (isfinite_test): Likewise.
60659         (isgreater_test): Likewise.
60660         (isgreaterequal_test): Likewise.
60661         (isinf_test): Likewise.
60662         (isless_test): Likewise.
60663         (islessequal_test): Likewise.
60664         (islessgreater_test): Likewise.
60665         (isnan_test): Likewise.
60666         (isnormal_test): Likewise.
60667         (issignaling_test): Likewise.
60668         (isunordered_test): Likewise.
60669         (j0_test): Likewise.
60670         (j1_test): Likewise.
60671         (jn_test): Likewise.
60672         (ldexp_test): Likewise.
60673         (lgamma_test): Likewise.
60674         (lrint_test): Likewise.
60675         (lrint_test_tonearest): Likewise.
60676         (lrint_test_towardzero): Likewise.
60677         (lrint_test_downward): Likewise.
60678         (lrint_test_upward): Likewise.
60679         (llrint_test): Likewise.
60680         (llrint_test_tonearest): Likewise.
60681         (llrint_test_towardzero): Likewise.
60682         (llrint_test_downward): Likewise.
60683         (llrint_test_upward): Likewise.
60684         (log_test): Likewise.
60685         (log10_test): Likewise.
60686         (log1p_test): Likewise.
60687         (log2_test): Likewise.
60688         (logb_test): Likewise.
60689         (logb_test_downward): Likewise.
60690         (lround_test): Likewise.
60691         (llround_test): Likewise.
60692         (modf_test): Likewise.
60693         (nearbyint_test): Likewise.
60694         (nextafter_test): Likewise.
60695         (nexttoward_test): Likewise.
60696         (pow_test): Likewise.
60697         (pow_test_tonearest): Likewise.
60698         (pow_test_towardzero): Likewise.
60699         (pow_test_downward): Likewise.
60700         (pow_test_upward): Likewise.
60701         (remainder_test): Likewise.
60702         (remainder_test_tonearest): Likewise.
60703         (remainder_test_towardzero): Likewise.
60704         (remainder_test_downward): Likewise.
60705         (remainder_test_upward): Likewise.
60706         (remquo_test): Likewise.
60707         (rint_test): Likewise.
60708         (rint_test_tonearest): Likewise.
60709         (rint_test_towardzero): Likewise.
60710         (rint_test_downward): Likewise.
60711         (rint_test_upward): Likewise.
60712         (round_test): Likewise.
60713         (scalb_test): Likewise.
60714         (scalbn_test): Likewise.
60715         (scalbln_test): Likewise.
60716         (signbit_test): Likewise.
60717         (sin_test): Likewise.
60718         (sin_test_tonearest): Likewise.
60719         (sin_test_towardzero): Likewise.
60720         (sin_test_downward): Likewise.
60721         (sin_test_upward): Likewise.
60722         (sincos_test): Likewise.
60723         (sinh_test): Likewise.
60724         (sinh_test_tonearest): Likewise.
60725         (sinh_test_towardzero): Likewise.
60726         (sinh_test_downward): Likewise.
60727         (sinh_test_upward): Likewise.
60728         (sqrt_test): Likewise.
60729         (tan_test): Likewise.
60730         (tan_test_tonearest): Likewise.
60731         (tan_test_towardzero): Likewise.
60732         (tan_test_downward): Likewise.
60733         (tan_test_upward): Likewise.
60734         (tanh_test): Likewise.
60735         (tgamma_test): Likewise.
60736         (trunc_test): Likewise.
60737         (y0_test): Likewise.
60738         (y1_test): Likewise.
60739         (yn_test): Likewise.
60740         (significand_test): Likewise.
60742 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60744         [BZ #15381]
60745         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60747 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60749         [BZ #14894]
60750         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60751         __ppc_mdoio and __ppc_mdoom.
60752         * manual/platform.texi: Document new functions __ppc_yield,
60753         __ppc_mdoio and __ppc_mdoom.
60755 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60757         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60758         (main): Mention "tls" pseudo-hwcap is legacy.
60759         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60761 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60763         * math/gen-libm-test.pl (parse_args): Output only string of
60764         arguments as text for test name, not full call or descriptions of
60765         tests for extra outputs.
60766         (generate_testfile): Do not pass function name to parse_args.
60767         Generate this_func variable from START.
60768         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60769         field to arg_str.
60770         (struct test_ff_f_data): Likewise.
60771         (test_ff_f_data_nexttoward): Likewise.
60772         (struct test_fi_f_data): Likewise.
60773         (struct test_fl_f_data): Likewise.
60774         (struct test_if_f_data): Likewise.
60775         (struct test_fff_f_data): Likewise.
60776         (struct test_c_f_data): Likewise.
60777         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60778         (struct test_fF_f1_data): Likewise.
60779         (struct test_ffI_f1_data): Likewise.
60780         (struct test_c_c_data): Rename test_name field to arg_str.
60781         (struct test_cc_c_data): Likewise.
60782         (struct test_f_i_data): Likewise.
60783         (struct test_ff_i_data): Likewise.
60784         (struct test_f_l_data): Likewise.
60785         (struct test_f_L_data): Likewise.
60786         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60787         and extra2_name.
60788         (COMMON_TEST_SETUP): New macro.
60789         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60790         (COMMON_TEST_CLEANUP): Likewise.
60791         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60792         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60793         macros.
60794         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60795         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60796         macros.
60797         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60798         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60799         cleanup macros.
60800         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60801         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60802         macros.
60803         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60804         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60805         macros.
60806         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60807         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60808         cleanup macros.
60809         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60810         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60811         cleanup macros.
60812         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60813         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60814         cleanup macros.
60815         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60816         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60817         macros.
60818         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60819         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60820         macros.
60821         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60822         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60823         macros.
60824         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60825         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60826         cleanup macros.
60827         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60828         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60829         cleanup macros.
60830         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60831         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60832         macros.
60833         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60834         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60835         cleanup macros.
60836         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60837         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60838         macros.
60839         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60840         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60841         macros.
60842         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60843         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60844         cleanup macros.
60845         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60847 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60849         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60850         to _sifields.sigfault.
60851         (si_addr_lsb): Define new macro.
60852         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60853         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60854         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60856 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60858         [BZ #15441]
60859         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60860         returns -1.
60861         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60862         null return -1.
60863         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60864         loading the domain.
60866 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60868         * math/gen-libm-test.pl (parse_args): Do not include expected
60869         result in test name.
60870         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60872         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60873         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60877 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60879         * benchtests/Makefile: Sort function entries.
60881         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60882         tanh, asinh, acosh, atanh.
60883         * benchtests/acos-inputs: New file.
60884         * benchtests/acosh-inputs: New file.
60885         * benchtests/asin-inputs: New file.
60886         * benchtests/asinh-inputs: New file.
60887         * benchtests/atanh-inputs: New file.
60888         * benchtests/cosh-inputs: New file.
60889         * benchtests/log-inputs: New file.
60890         * benchtests/sinh-inputs: New file.
60891         * benchtests/tanh-inputs: New file.
60893 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60895         [BZ #15339]
60896         * posix/tst-getaddrinfo4.c: New test.
60897         * posix/Makefile (tests): Add it.
60899 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60901         [BZ #15339]
60902         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60903         when no services were used.
60904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60905         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60907 2013-05-21  Andreas Schwab  <schwab@suse.de>
60909         [BZ #15014]
60910         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60911         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60912         successful.
60913         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60914         redundant variable declarations and reallocation of buffer when
60915         parsing as IPv6 address.  Always set NSS status when called from
60916         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60917         buffer too small.  Correct computation of needed size.
60918         * nss/Makefile (tests): Add test-digits-dots.
60919         * nss/test-digits-dots.c: New test.
60921 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60923         * benchtests/Makefile: Remove instructions for adding
60924         benchmark tests.
60925         * benchtests/README: New file to explain how to execute and
60926         enhance the benchmark tests.
60928 2013-05-21  Andreas Schwab  <schwab@suse.de>
60930         [BZ #15493]
60931         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60932         * setjmp/tst-sigsetjmp.c: New test.
60934 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60936         * sysdeps/x86_64/memset.S (memset): New implementation.
60937         (__bzero): Likewise.
60938         (__memset_tail): New function.
60940 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60942         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60943         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60944         __memcpy_sse2_unaligned ifunc selection.
60945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60946         Add memcpy-sse2-unaligned.S.
60947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60948         Add: __memcpy_sse2_unaligned.
60950 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60952         [BZ #15490]
60953         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60954         math_force_eval before restoring floating-point envrionment.
60955         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60956         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60957         Likewise.
60958         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60959         <math_private.h>.
60960         (__nearbyintl): Use math_force_eval before restoring
60961         floating-point environment.
60962         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60964         * math/gen-libm-test.pl (special_functions): Remove.
60965         (parse_args): Don't handle TEST_extra.  Handle functions with no
60966         return value.
60967         * math/libm-test.inc (struct test_sincos_data): Replace with
60968         struct test_fFF_11_data.
60969         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60970         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60971         (sincos_test_data): Change element type to struct
60972         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60973         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60974         RUN_TEST_LOOP_sincos.
60975         * math/README.libm-test: Don't mention special handling of
60976         individual functions.
60977         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60978         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60980         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60984         * math/gen-libm-test.pl (get_variable): Remove function.
60985         (parse_args): Don't show pointer parameters to call in test
60986         names.  Use "extra output N" in test names for extra outputs
60987         rather than naming variables.
60989 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60991         [BZ #15488]
60992         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60993         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60994         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60995         double tests.
60996         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60997         disable.
60998         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60999         check_long_double.
61001         * math/gen-libm-test.pl (@tests): Remove variable.
61002         ($count): Likewise.
61003         (new_test): Remove function.
61004         (show_exceptions): New function.
61005         (special_functions): Use show_exceptions instead of new_test.
61006         (parse_args): Likewise.
61007         (generate_testfile): Pass only function name in generated call to
61008         print_max_error or print_complex_max_error.
61009         (get_ulps): Do not handle complex tests specially.
61010         (output_test): Rename to ...
61011         (get_all_ulps_for_test): ... this.  Return a string rather than
61012         printing to a file.  Require ulps to be present.
61013         (output_ulps): Generate arrays rather than #defines.
61014         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61015         (struct ulp_data): New type.
61016         (BUILD_COMPLEX_ULP): Remove macro.
61017         (compare_ulp_data): New function.
61018         (find_ulps): Likewise.
61019         (find_test_ulps): Likewise.
61020         (find_function_ulps): Likewise.
61021         (find_complex_function_ulps): Likewise.
61022         (print_max_error): Determine allowed ulps using
61023         find_function_ulps.
61024         (print_complex_max_error): Determine allowed ulps using
61025         find_complex_function_ulps.
61026         (check_float_internal): Determine max ulps using find_test_ulps.
61027         (check_float): Do not take max_ulp parameter.  Update call to
61028         check_float_internal.
61029         (check_complex): Likewise.
61030         (check_int): Do not take max_ulp parameter.
61031         (check_long): Likewise.
61032         (check_bool): Likewise.
61033         (check_longlong): Likewise.
61034         (struct test_f_f_data): Remove max_ulp field.
61035         (struct test_ff_f_data): Likewise.
61036         (struct test_ff_f_data_nexttoward): Likewise.
61037         (struct test_fi_f_data): Likewise.
61038         (struct test_fl_f_data): Likewise.
61039         (struct test_if_f_data): Likewise.
61040         (struct test_fff_f_data): Likewise.
61041         (struct test_c_f_data): Likewise.
61042         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61043         (struct test_fF_f1_data): Likewise.
61044         (struct test_ffI_f1_data): Likewise.
61045         (struct test_c_c_data): Remove max_ulp field.
61046         (struct test_cc_c_data): Likewise.
61047         (struct test_f_i_data): Likewise.
61048         (struct test_ff_i_data): Likewise.
61049         (struct test_f_l_data): Likewise.
61050         (struct test_f_L_data): Likewise.
61051         (struct test_sincos_data): Likewise.
61052         (RUN_TEST_f_f): Do not handle ulps.
61053         (RUN_TEST_LOOP_f_f): Likewise.
61054         (RUN_TEST_2_f): Likewise.
61055         (RUN_TEST_LOOP_2_f): Likewise.
61056         (RUN_TEST_fff_f): Likewise.
61057         (RUN_TEST_LOOP_fff_f): Likewise.
61058         (RUN_TEST_c_f): Likewise.
61059         (RUN_TEST_LOOP_c_f): Likewise.
61060         (RUN_TEST_f_f1): Likewise.
61061         (RUN_TEST_LOOP_f_f1): Likewise.
61062         (RUN_TEST_fF_f1): Likewise.
61063         (RUN_TEST_LOOP_fF_f1): Likewise.
61064         (RUN_TEST_fI_f1): Likewise.
61065         (RUN_TEST_LOOP_fI_f1): Likewise.
61066         (RUN_TEST_ffI_f1): Likewise.
61067         (RUN_TEST_LOOP_ffI_f1): Likewise.
61068         (RUN_TEST_c_c): Likewise.
61069         (RUN_TEST_LOOP_c_c): Likewise.
61070         (RUN_TEST_cc_c): Likewise.
61071         (RUN_TEST_LOOP_cc_c): Likewise.
61072         (RUN_TEST_f_i): Likewise.
61073         (RUN_TEST_LOOP_f_i): Likewise.
61074         (RUN_TEST_f_i_tg): Likewise.
61075         (RUN_TEST_LOOP_f_i_tg): Likewise.
61076         (RUN_TEST_ff_i_tg): Likewise.
61077         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61078         (RUN_TEST_f_b): Likewise.
61079         (RUN_TEST_LOOP_f_b): Likewise.
61080         (RUN_TEST_f_b_tg): Likewise.
61081         (RUN_TEST_LOOP_f_b_tg): Likewise.
61082         (RUN_TEST_f_l): Likewise.
61083         (RUN_TEST_LOOP_f_l): Likewise.
61084         (RUN_TEST_f_L): Likewise.
61085         (RUN_TEST_LOOP_f_L): Likewise.
61086         (RUN_TEST_sincos): Likewise.
61087         (RUN_TEST_LOOP_sincos): Likewise.
61089 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61091         [BZ #15480]
61092         [BZ #15485]
61093         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61094         main case of finite arguments, set rounding mode to FE_TONEAREST
61095         and discard exceptions.
61096         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61097         exceptions.
61098         (remainder_tonearest_test_data): New variable.
61099         (remainder_test_tonearest): New function.
61100         (remainder_towardzero_test_data): New variable.
61101         (remainder_test_towardzero): New function.
61102         (remainder_downward_test_data): New variable.
61103         (remainder_test_downward): New function.
61104         (remainder_upward_test_data): New variable.
61105         (remainder_test_upward): New function.
61106         (main): Call the new test functions.
61108         * math/libm-test.inc (struct test_f_f1_data): Remove field
61109         extra_init.
61110         (struct test_fF_f1_data): Likewise.
61111         (struct test_ffI_f1_data): Likewise.
61112         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61113         based on value of EXTRA_EXPECTED.
61114         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61115         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61116         EXTRA_VAR based on value of EXTRA_EXPECTED.
61117         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61118         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61119         EXTRA_VAR based on value of EXTRA_EXPECTED.
61120         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61121         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61122         EXTRA_VAR based on value of EXTRA_EXPECTED.
61123         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61124         * math/gen-libm-test.pl (parse_args): Don't output initializers
61125         for extra output values.
61127         * math/libm-test.inc (check_int): Expect result to be exactly
61128         equal to expected value and do not handle ulps.
61129         (check_long): Likewise.
61130         (check_longlong): Likewise.
61132         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61133         exceptions.
61134         (cimag_test_data): Likewise.
61135         (conj_test_data): Likewise.
61136         (copysign_test_data): Likewise.
61137         (cproj_test_data): Likewise.
61138         (creal_test_data): Likewise.
61139         (fabs_test_data): Likewise.
61140         (fdim_test_data): Likewise.
61141         (finite_test_data): Likewise.
61142         (floor_test_data): Likewise.
61143         (fmax_test_data): Likewise.
61144         (fmin_test_data): Likewise.
61145         (fmod_test_data): Likewise.
61146         (fpclassify_test_data): Likewise.
61147         (frexp_test_data): Likewise.
61148         (ilogb_test_data): Likewise.
61149         (isfinite_test_data): Likewise.
61150         (isgreater_test_data): Likewise.
61151         (isgreaterequal_test_data): Likewise.
61152         (isinf_test_data): Likewise.
61153         (isless_test_data): Likewise.
61154         (islessequal_test_data): Likewise.
61155         (islessgreater_test_data): Likewise.
61156         (isnan_test_data): Likewise.
61157         (isnormal_test_data): Likewise.
61158         (issignaling_test_data): Likewise.
61159         (isunordered_test_data): Likewise.
61160         (ldexp_test_data): Likewise.
61161         (lrint_test_data): Likewise.
61162         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61163         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61164         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61165         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61166         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61167         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61168         test input.
61169         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61170         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61171         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61172         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61173         that test input.
61174         (lrint_downward_test_data): Test for "inexact" exceptions.
61175         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61176         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61177         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61178         test input.
61179         (lrint_upward_test_data): Test for "inexact" exceptions.
61180         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61181         test input.
61182         (llrint_test_data): Test for "inexact" exceptions.
61183         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61184         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61185         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61186         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61187         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61188         (llrint_downward_test_data): Test for "inexact" exceptions.
61189         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61190         (llrint_upward_test_data): Test for "inexact" exceptions.
61191         (logb_test_data): Likewise.
61192         (logb_downward_test_data): Likewise.
61193         (nextafter_test_data): Likewise.
61194         (nexttoward_test_data): Likewise.
61195         (remainder_test_data): Likewise.
61196         (remquo_test_data): Likewise.
61197         (scalbn_test_data): Likewise.
61198         (scalbln_test_data): Likewise.
61199         (signbit_test_data): Likewise.
61200         (sqrt_test_data): Likewise.
61201         (significand_test_data): Likewise.
61203 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61205         [BZ #15424]
61206         * benchtests/bench-modf.c (struct args): Mark arg0 as
61207         volatile.
61208         * scripts/bench.pl: Mark members of struct args as volatile.
61210 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61212         [BZ # 15497]
61213         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61214         negative infinity on POWER6 or lower.
61215         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61217 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61219         [BZ #15442]
61220         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61221         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61222         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61223         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61224         (_FP_SETQNAN): New macro.
61225         (_FP_SETQNAN_SEMIRAW): Likewise.
61226         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61227         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61228         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61229         (FP_EXTEND): Use _FP_FRAC_SNANP.
61230         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61231         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61232         into account.
61233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61234         New macro.
61235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61236         Likewise.
61238 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61240         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61241         with DIVIDE_BY_ZERO_EXCEPTION.
61242         (gamma_test_data): Likewise.
61243         (lgamma_test_data): Likewise.
61244         (log_test_data): Likewise.
61245         (log10_test_data): Likewise.
61246         (log2_test_data): Likewise.
61247         (tgamma_test_data): Likewise.
61249         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61250         (acos_test_tonearest): Likewise.
61251         (acos_test_towardzero): Likewise.
61252         (acos_test_downward): Likewise.
61253         (acos_test_upward): Likewise.
61254         (acosh_test): Likewise.
61255         (asin_test): Likewise.
61256         (asin_test_tonearest): Likewise.
61257         (asin_test_towardzero): Likewise.
61258         (asin_test_downward): Likewise.
61259         (asin_test_upward): Likewise.
61260         (asinh_test): Likewise.
61261         (atan_test): Likewise.
61262         (atanh_test): Likewise.
61263         (atan2_test): Likewise.
61264         (cabs_test): Likewise.
61265         (cacos_test): Likewise.
61266         (cacosh_test): Likewise.
61267         (casin_test): Likewise.
61268         (casinh_test): Likewise.
61269         (catan_test): Likewise.
61270         (catanh_test): Likewise.
61271         (cbrt_test): Likewise.
61272         (ccos_test): Likewise.
61273         (ccosh_test): Likewise.
61274         (cexp_test): Likewise.
61275         (clog_test): Likewise.
61276         (clog10_test): Likewise.
61277         (cos_test): Likewise.
61278         (cos_test_tonearest): Likewise.
61279         (cos_test_towardzero): Likewise.
61280         (cos_test_downward): Likewise.
61281         (cos_test_upward): Likewise.
61282         (cosh_test): Likewise.
61283         (cosh_test_tonearest): Likewise.
61284         (cosh_test_towardzero): Likewise.
61285         (cosh_test_downward): Likewise.
61286         (cosh_test_upward): Likewise.
61287         (cpow_test): Likewise.
61288         (csin_test): Likewise.
61289         (csinh_test): Likewise.
61290         (csqrt_test): Likewise.
61291         (ctan_test): Likewise.
61292         (ctan_test_tonearest): Likewise.
61293         (ctan_test_towardzero): Likewise.
61294         (ctan_test_downward): Likewise.
61295         (ctan_test_upward): Likewise.
61296         (ctanh_test): Likewise.
61297         (ctanh_test_tonearest): Likewise.
61298         (ctanh_test_towardzero): Likewise.
61299         (ctanh_test_downward): Likewise.
61300         (ctanh_test_upward): Likewise.
61301         (erf_test): Likewise.
61302         (erfc_test): Likewise.
61303         (exp_test): Likewise.
61304         (exp_test_tonearest): Likewise.
61305         (exp_test_towardzero): Likewise.
61306         (exp_test_downward): Likewise.
61307         (exp_test_upward): Likewise.
61308         (exp10_test): Likewise.
61309         (exp2_test): Likewise.
61310         (expm1_test): Likewise.
61311         (fmod_test): Likewise.
61312         (gamma_test): Likewise.
61313         (hypot_test): Likewise.
61314         (j0_test): Likewise.
61315         (j1_test): Likewise.
61316         (jn_test): Likewise.
61317         (lgamma_test): Likewise.
61318         (log_test): Likewise.
61319         (log10_test): Likewise.
61320         (log1p_test): Likewise.
61321         (log2_test): Likewise.
61322         (logb_test_downward): Likewise.
61323         (pow_test): Likewise.
61324         (pow_test_tonearest): Likewise.
61325         (pow_test_towardzero): Likewise.
61326         (pow_test_downward): Likewise.
61327         (pow_test_upward): Likewise.
61328         (remainder_test): Likewise.
61329         (remquo_test): Likewise.
61330         (sin_test): Likewise.
61331         (sin_test_tonearest): Likewise.
61332         (sin_test_towardzero): Likewise.
61333         (sin_test_downward): Likewise.
61334         (sin_test_upward): Likewise.
61335         (sincos_test): Likewise.
61336         (sinh_test): Likewise.
61337         (sinh_test_tonearest): Likewise.
61338         (sinh_test_towardzero): Likewise.
61339         (sinh_test_downward): Likewise.
61340         (sinh_test_upward): Likewise.
61341         (sqrt_test): Likewise.
61342         (tan_test): Likewise.
61343         (tan_test_tonearest): Likewise.
61344         (tan_test_towardzero): Likewise.
61345         (tan_test_downward): Likewise.
61346         (tan_test_upward): Likewise.
61347         (tanh_test): Likewise.
61348         (tgamma_test): Likewise.
61349         (y0_test): Likewise.
61350         (y1_test): Likewise.
61351         (yn_test): Likewise.
61353         * math/gen-libm-test.pl (adjust_arg): Remove function.
61354         (special_function): Remove argument $in_func.  Only handle
61355         generating output for tables of tests, not inside functions.
61356         (parse_args): Likewise.
61357         (generate_testfile): Remove variable $in_func.  Update call to
61358         parse_args.
61359         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61360         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61361         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61362         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61363         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61364         (MAX_VALUE_INIT): Rename macro to max_value.
61365         (MIN_VALUE_INIT): Rename macro to min_value.
61366         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61367         (plus_zero): Remove variable.
61368         (minus_zero): Likewise.
61369         (plus_infty): Likewise.
61370         (minus_infty): Likewise.
61371         (qnan_value): Likewise.
61372         (max_value): Likewise.
61373         (min_value): Likewise.
61374         (min_subnorm_value): Likewise.
61376 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61378         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61379         uint64_t or uint32_t usage.
61380         * crypt/sha256-block.c: Likewise.
61381         * crypt/sha256-crypt.c: Likewise.
61382         * crypt/sha256.c: Likewise.
61383         * crypt/sha512-block.c: Likewise.
61384         * crypt/sha512-crypt.c: Likewise.
61385         * crypt/sha512.c: Likewise.
61386         * debug/backtrace-tst.c: Likewise.
61387         * debug/pcprofiledump.c: Likewise.
61388         * elf/cache.c: Likewise.
61389         * elf/dl-cache.c: Likewise.
61390         * elf/dl-misc.c: Likewise.
61391         * elf/dl-profile.c: Likewise.
61392         * elf/dl-support.c: Likewise.
61393         * elf/ldconfig.c: Likewise.
61394         * elf/sprof.c: Likewise.
61395         * iconv/dummy-repertoire.c: Likewise.
61396         * iconv/iconv_charmap.c: Likewise.
61397         * iconv/skeleton.c: Likewise.
61398         * iconvdata/8bit-generic.c: Likewise.
61399         * iconvdata/cp737.h: Likewise.
61400         * iconvdata/cp775.h: Likewise.
61401         * iconvdata/ibm1008.h: Likewise.
61402         * iconvdata/ibm1025.h: Likewise.
61403         * iconvdata/ibm1046.h: Likewise.
61404         * iconvdata/ibm1097.h: Likewise.
61405         * iconvdata/ibm1112.h: Likewise.
61406         * iconvdata/ibm1122.h: Likewise.
61407         * iconvdata/ibm1123.h: Likewise.
61408         * iconvdata/ibm1124.h: Likewise.
61409         * iconvdata/ibm1129.h: Likewise.
61410         * iconvdata/ibm1130.h: Likewise.
61411         * iconvdata/ibm1132.h: Likewise.
61412         * iconvdata/ibm1133.h: Likewise.
61413         * iconvdata/ibm1137.h: Likewise.
61414         * iconvdata/ibm1140.h: Likewise.
61415         * iconvdata/ibm1141.h: Likewise.
61416         * iconvdata/ibm1142.h: Likewise.
61417         * iconvdata/ibm1143.h: Likewise.
61418         * iconvdata/ibm1144.h: Likewise.
61419         * iconvdata/ibm1145.h: Likewise.
61420         * iconvdata/ibm1146.h: Likewise.
61421         * iconvdata/ibm1147.h: Likewise.
61422         * iconvdata/ibm1148.h: Likewise.
61423         * iconvdata/ibm1149.h: Likewise.
61424         * iconvdata/ibm1153.h: Likewise.
61425         * iconvdata/ibm1154.h: Likewise.
61426         * iconvdata/ibm1155.h: Likewise.
61427         * iconvdata/ibm1156.h: Likewise.
61428         * iconvdata/ibm1157.h: Likewise.
61429         * iconvdata/ibm1158.h: Likewise.
61430         * iconvdata/ibm1160.h: Likewise.
61431         * iconvdata/ibm1161.h: Likewise.
61432         * iconvdata/ibm1162.h: Likewise.
61433         * iconvdata/ibm1163.h: Likewise.
61434         * iconvdata/ibm1164.h: Likewise.
61435         * iconvdata/ibm1166.h: Likewise.
61436         * iconvdata/ibm1167.h: Likewise.
61437         * iconvdata/ibm12712.h: Likewise.
61438         * iconvdata/ibm1390.h: Likewise.
61439         * iconvdata/ibm1399.h: Likewise.
61440         * iconvdata/ibm16804.h: Likewise.
61441         * iconvdata/ibm4517.h: Likewise.
61442         * iconvdata/ibm4899.h: Likewise.
61443         * iconvdata/ibm4909.h: Likewise.
61444         * iconvdata/ibm4971.h: Likewise.
61445         * iconvdata/ibm5347.h: Likewise.
61446         * iconvdata/ibm803.h: Likewise.
61447         * iconvdata/ibm856.h: Likewise.
61448         * iconvdata/ibm901.h: Likewise.
61449         * iconvdata/ibm902.h: Likewise.
61450         * iconvdata/ibm9030.h: Likewise.
61451         * iconvdata/ibm9066.h: Likewise.
61452         * iconvdata/ibm921.h: Likewise.
61453         * iconvdata/ibm922.h: Likewise.
61454         * iconvdata/ibm9448.h: Likewise.
61455         * iconvdata/isiri-3342.h: Likewise.
61456         * iconvdata/jis0201.h: Likewise.
61457         * include/link.h: Likewise.
61458         * include/netdb.h: Likewise.
61459         * inet/check_native.c: Likewise.
61460         * inet/check_pf.c: Likewise.
61461         * inet/getipv4sourcefilter.c: Likewise.
61462         * inet/getnameinfo.c: Likewise.
61463         * inet/getsourcefilter.c: Likewise.
61464         * inet/htonl.c: Likewise.
61465         * inet/setipv4sourcefilter.c: Likewise.
61466         * inet/setsourcefilter.c: Likewise.
61467         * inet/test-inet6_opt.c: Likewise.
61468         * inet/tst-network.c: Likewise.
61469         * locale/C-collate.c: Likewise.
61470         * locale/C-ctype.c: Likewise.
61471         * locale/C-time.c: Likewise.
61472         * locale/C-translit.h: Likewise.
61473         * locale/loadarchive.c: Likewise.
61474         * locale/programs/3level.h: Likewise.
61475         * locale/programs/charmap.c: Likewise.
61476         * locale/programs/charmap.h: Likewise.
61477         * locale/programs/ld-address.c: Likewise.
61478         * locale/programs/ld-collate.c: Likewise.
61479         * locale/programs/ld-ctype.c: Likewise.
61480         * locale/programs/ld-identification.c: Likewise.
61481         * locale/programs/ld-measurement.c: Likewise.
61482         * locale/programs/ld-messages.c: Likewise.
61483         * locale/programs/ld-monetary.c: Likewise.
61484         * locale/programs/ld-name.c: Likewise.
61485         * locale/programs/ld-numeric.c: Likewise.
61486         * locale/programs/ld-paper.c: Likewise.
61487         * locale/programs/ld-telephone.c: Likewise.
61488         * locale/programs/ld-time.c: Likewise.
61489         * locale/programs/linereader.c: Likewise.
61490         * locale/programs/locale.c: Likewise.
61491         * locale/programs/locarchive.c: Likewise.
61492         * locale/programs/locfile.h: Likewise.
61493         * locale/programs/repertoire.c: Likewise.
61494         * locale/programs/simple-hash.c: Likewise.
61495         * locale/programs/simple-hash.h: Likewise.
61496         * malloc/memusage.c: Likewise.
61497         * malloc/memusagestat.c: Likewise.
61498         * nis/nis_defaults.c: Likewise.
61499         * nis/nis_hash.c: Likewise.
61500         * nis/nis_print.c: Likewise.
61501         * nis/nis_xdr.c: Likewise.
61502         * nscd/connections.c: Likewise.
61503         * nscd/hstcache.c: Likewise.
61504         * nscd/nscd_gethst_r.c: Likewise.
61505         * nscd/nscd_getserv_r.c: Likewise.
61506         * nscd/nscd_helper.c: Likewise.
61507         * nscd/servicescache.c: Likewise.
61508         * nss/makedb.c: Likewise.
61509         * nss/nss_db/db-XXX.c: Likewise.
61510         * nss/nss_db/db-initgroups.c: Likewise.
61511         * nss/nss_db/db-netgrp.c: Likewise.
61512         * nss/nss_files/files-network.c: Likewise.
61513         * nss/nss_files/files-parse.c: Likewise.
61514         * posix/bug-regex5.c: Likewise.
61515         * posix/fnmatch_loop.c: Likewise.
61516         * posix/regcomp.c: Likewise.
61517         * posix/regexec.c: Likewise.
61518         * posix/tst-rfc3484-2.c: Likewise.
61519         * posix/tst-rfc3484-3.c: Likewise.
61520         * posix/tst-rfc3484.c: Likewise.
61521         * resolv/nss_dns/dns-canon.c: Likewise.
61522         * resolv/nss_dns/dns-network.c: Likewise.
61523         * resolv/res_init.c: Likewise.
61524         * resolv/res_mkquery.c: Likewise.
61525         * resolv/tst-aton.c: Likewise.
61526         * stdlib/cxa_atexit.c: Likewise.
61527         * stdlib/cxa_finalize.c: Likewise.
61528         * stdlib/gen-fpioconst.c: Likewise.
61529         * stdlib/strtol_l.c: Likewise.
61530         * string/tst-endian.c: Likewise.
61531         * sunrpc/auth_des.c: Likewise.
61532         * sunrpc/clnt_udp.c: Likewise.
61533         * sunrpc/rtime.c: Likewise.
61534         * sunrpc/svcauth_des.c: Likewise.
61535         * sunrpc/xdr.c: Likewise.
61536         * sunrpc/xdr_intXX_t.c: Likewise.
61537         * sunrpc/xdr_rec.c: Likewise.
61538         * sysdeps/generic/ldconfig.h: Likewise.
61539         * sysdeps/generic/ldsodefs.h: Likewise.
61540         * sysdeps/generic/memusage.h: Likewise.
61541         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61542         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61543         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61545         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61547         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61548         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61549         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61551         * sysdeps/posix/getaddrinfo.c: Likewise.
61552         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61553         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61554         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61555         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61556         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61557         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61558         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61559         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61560         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61561         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61562         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61563         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61564         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61565         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61566         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61567         * sysdeps/x86_64/dl-tls.h: Likewise.
61568         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61569         * time/alt_digit.c: Likewise.
61570         * time/era.c: Likewise.
61571         * wcsmbs/tst-c16c32-1.c: Likewise.
61573 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61575         * math/libm-test.inc (struct test_sincos_data): New type.
61576         (RUN_TEST_LOOP_sincos): New macro.
61577         (sincos_test_data): New variable.
61578         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61580 2013-05-16  Richard Henderson  <rth@redhat.com>
61582         * math/atest-exp2.c (LIMB64): New macro.
61583         (CONSTSZ): New macro.
61584         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61585         (hexdig): Move ...
61586         (print_mpn_fp): ... to function scope.
61587         (read_mpn_hex): Remove.
61588         (get_log2): Remove.
61589         (exp2_mpn): Use mp_log2.
61590         (main): Use mp_exp1.
61592 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61594         * math/libm-test.inc: Remove comment about not testing "inexact"
61595         exceptions.
61596         (INEXACT_EXCEPTION): New macro.
61597         (NO_INEXACT_EXCEPTION): Likewise.
61598         (INVALID_EXCEPTION_OK): Update value.
61599         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61600         (OVERFLOW_EXCEPTION_OK): Likewise.
61601         (UNDERFLOW_EXCEPTION_OK): Likewise.
61602         (IGNORE_ZERO_INF_SIGN): Likewise.
61603         (ERRNO_UNCHANGED): Likewise.
61604         (ERRNO_EDOM): Likewise.
61605         (ERRNO_ERANGE): Likewise.
61606         (test_exceptions): Handle testing "inexact" exceptions.
61607         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61608         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61609         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61610         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61611         INEXACT_EXCEPTION.
61612         (rint_towardzero_test_data): Likewise.
61613         (rint_downward_test_data): Likewise.
61614         (rint_upward_test_data): Likewise.
61616         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61617         with OVERFLOW_EXCEPTION.
61618         (exp10_test_data): Likewise.
61619         (exp2_test_data): Likewise.
61620         (expm1_test_data): Likewise.
61621         (lgamma_test_data): Likewise.
61622         (pow_test_data): Likewise.
61623         (tgamma_test_data): Likewise.
61624         (yn_test_data): Remove duplicate test of overflow.
61626         * math/libm-test.inc (struct test_cc_c_data): New type.
61627         (RUN_TEST_LOOP_cc_c): New macro.
61628         (cpow_test_data): New variable.
61629         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61631         * math/libm-test.inc (struct test_f_L_data): New type.
61632         (RUN_TEST_LOOP_f_L): New macro.
61633         (llrint_test_data): New variable.
61634         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61635         (llrint_tonearest_test_data): New variable.
61636         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61637         (llrint_towardzero_test_data): New variable.
61638         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61639         (llrint_downward_test_data): New variable.
61640         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61641         (llrint_upward_test_data): New variable.
61642         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61643         (llround_test_data): New variable.
61644         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61646 2013-05-13  Peter Collingbourne  <pcc@google.com>
61648         * math/atest-exp2.c (get_log2): Remove const attribute.
61650 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61652         * math/libm-test.inc (struct test_f_l_data): New type.
61653         (RUN_TEST_LOOP_f_l): New macro.
61654         (lrint_test_data): New variable.
61655         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61656         (lrint_tonearest_test_data): New variable.
61657         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61658         (lrint_towardzero_test_data): New variable.
61659         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61660         (lrint_downward_test_data): New variable.
61661         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61662         (lrint_upward_test_data): New variable.
61663         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61664         (lround_test_data): New variable.
61665         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61667 2013-05-15  Peter Collingbourne  <pcc@google.com>
61669         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61670         (EXTRACT_WORDS64) Use where appropriate.
61671         (INSERT_WORDS64) Likewise.
61673         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61674         constraints with x constraints.
61675         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61677         * malloc/obstack.c (_obstack_compat): Add initializer.
61679 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61681         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61682         si_trapno and add si_addr_lsb to _sifields.sigfault.
61683         (si_trapno): Remove macro.
61684         (si_addr_lsb): Define new macro.
61685         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61687 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61689         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61690         instead of TEST_f_l.
61691         (llrint_test_tonearest): Likewise.
61692         (llrint_test_towardzero): Likewise.
61693         (llrint_test_downward): Likewise.
61694         (llrint_test_upward): Likewise.
61695         (llround_test): Likewise.
61697         * math/libm-test.inc (struct test_f_i_data): Add comment.
61698         (RUN_TEST_LOOP_f_b): New macro.
61699         (RUN_TEST_LOOP_f_b_tg): Likewise.
61700         (finite_test_data): New variable.
61701         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61702         (isfinite_test_data): New variable.
61703         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61704         (isinf_test_data): New variable.
61705         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61706         (isnan_test_data): New variable.
61707         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61708         (isnormal_test_data): New variable.
61709         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61710         (issignaling_test_data): New variable.
61711         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61712         (signbit_test_data): New variable.
61713         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61715         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61716         with INVALID_EXCEPTION.
61717         (acosh_test_data): Likewise.
61718         (asin_test_data): Likewise.
61719         (atanh_test_data): Likewise.
61720         (fmod_test_data): Likewise.
61721         (log_test_data): Likewise.
61722         (log10_test_data): Likewise.
61723         (log2_test_data): Likewise.
61724         (pow_test_data): Likewise.
61725         (sqrt_test_data): Likewise.
61726         (y0_test_data): Likewise.
61727         (y1_test_data): Likewise.
61728         (yn_test_data): Likewise.
61730         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61731         function contents.
61733         * math/libm-test.inc (struct test_ff_i_data): New type.
61734         (RUN_TEST_LOOP_ff_i_tg): New macro.
61735         (isgreater_test_data): New variable.
61736         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61737         (isgreaterequal_test_data): New variable.
61738         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61739         (isless_test_data): New variable.
61740         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61741         (islessequal_test_data): New variable.
61742         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61743         (islessgreater_test_data): New variable.
61744         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61745         (isunordered_test_data): New variable.
61746         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61748 2013-05-14  David S. Miller  <davem@davemloft.net>
61750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61752 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61754         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61756         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61757         extra_test to int.
61758         (struct test_f_i_data): Change type of max_ulp to int.
61760         * math/libm-test.inc (test_ffI_f1_data): New type.
61761         (RUN_TEST_LOOP_ffI_f1): New macro.
61762         (remquo_test_data): New variable.
61763         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61765         * setjmp/tst-setjmp-fp.c: New file.
61766         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61767         (link-libm): New variable.
61768         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61770         * math/libm-test.inc (struct test_f_i_data): New type.
61771         (RUN_TEST_LOOP_f_i): New macro.
61772         (RUN_TEST_LOOP_f_i_tg): Likewise.
61773         (fpclassify_test_data): New variable.
61774         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61775         (ilogb_test_data): New variable.
61776         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61778         * math/libm-test.inc (scalbln_test): Correct function name in END
61779         call.
61781         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61782         (RUN_TEST_LOOP_fI_f1): New macro.
61783         (frexp_test_data): New variable.
61784         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61786         * math/libm-test.inc (struct test_fF_f1_data): New type.
61787         (RUN_TEST_LOOP_fF_f1): New macro.
61788         (modf_test_data): New variable.
61789         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61791         * math/libm-test.inc (struct test_f_f1_data): New type.
61792         (RUN_TEST_LOOP_f_f1): New macro.
61793         (gamma_test_data): New variable.
61794         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61795         (lgamma_test_data): New variable.
61796         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61798 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61800         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61801         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61802         (main): Comment "tls" pseudo-hwcap.
61804 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61806         * math/libm-test.inc (struct test_fl_f_data): New type.
61807         (RUN_TEST_LOOP_fl_f): New variable.
61808         (scalbln_test_data): New variable.
61809         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61811         * math/libm-test.inc (struct test_fi_f_data): New type.
61812         (RUN_TEST_LOOP_fi_f): New macro.
61813         (ldexp_test_data): New variable.
61814         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61815         (scalbn_test_data): New variable.
61816         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61818         * math/libm-test.inc (struct test_c_f_data): New type.
61819         (RUN_TEST_LOOP_c_f): New macro.
61820         (cabs_test_data): New variable.
61821         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61822         (carg_test_data): New variable.
61823         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61824         (cimag_test_data): New variable.
61825         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61826         (creal_test_data): New variable.
61827         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61829         * math/libm-test.inc (struct test_if_f_data): New type.
61830         (RUN_TEST_LOOP_if_f): New macro.
61831         (jn_test_data): New variable.
61832         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61833         (yn_test_data): New variable.
61834         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61836         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61838 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61840         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61841         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61843 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61845         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61846         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61847         (bench-deps): Add bench-timing.h.
61848         * benchtests-bench-skeleton.c: Include bench-timing.h.
61849         (main): Use TIMING_* macros instead of clock_gettime.
61850         * benchtests/bench-timing.h: New file.
61852         [BZ #14582]
61853         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61854         Renamed from _LIB_VERSION.
61855         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61857 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61859         * math/libm-test.inc (struct test_fff_f_data): New type.
61860         (RUN_TEST_LOOP_fff_f): New macro.
61861         (fma_test_data): New variable.
61862         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61863         (fma_towardzero_test_data): New variable.
61864         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61865         (fma_downward_test_data): New variable.
61866         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61867         (fma_upward_test_data): New variable.
61868         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61870         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61871         (struct test_c_c_data): New type.
61872         (RUN_TEST_LOOP_c_c): New macro.
61873         (cacos_test_data): New variable.
61874         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61875         (cacosh_test_data): New variable.
61876         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61877         (casin_test_data): New variable.
61878         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61879         (casinh_test_data): New variable.
61880         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61881         (catan_test_data): New variable.
61882         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61883         (catanh_test_data): New variable.
61884         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61885         (ccos_test_data): New variable.
61886         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61887         (ccosh_test_data): New variable.
61888         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61889         (cexp_test_data): New variable.
61890         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61891         (clog_test_data): New variable.
61892         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61893         (clog10_test_data): New variable.
61894         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61895         (conj_test_data): New variable.
61896         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61897         (cproj_test_data): New variable.
61898         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61899         (csin_test_data): New variable.
61900         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61901         (csinh_test_data): New variable.
61902         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61903         (csqrt_test_data): New variable.
61904         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61905         (ctan_test_data): New variable.
61906         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61907         (ctan_tonearest_test_data): New variable.
61908         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61909         (ctan_towardzero_test_data): New variable.
61910         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61911         (ctan_downward_test_data): New variable.
61912         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61913         (ctan_upward_test_data): New variable.
61914         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61915         (ctanh_test_data): New variable.
61916         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61917         (ctanh_tonearest_test_data): New variable.
61918         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61919         (ctanh_towardzero_test_data): New variable.
61920         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61921         (ctanh_downward_test_data): New variable.
61922         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61923         (ctanh_upward_test_data): New variable.
61924         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61925         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61926         of BUILD_COMPLEX.
61928         * math/libm-test.inc (struct test_ff_f_data): New type.
61929         (struct test_ff_f_data_nexttoward): Likewise.
61930         (RUN_TEST_LOOP_2_f): New macro.
61931         (RUN_TEST_LOOP_ff_f): Likewise.
61932         (atan2_test_data): New variable.
61933         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61934         (copysign_test_data): New variable.
61935         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61936         (fdim_test_data): New variable.
61937         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61938         (fmax_test_data): New variable.
61939         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61940         (fmin_test_data): New variable.
61941         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61942         (fmod_test_data): New variable.
61943         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61944         (hypot_test_data): New variable.
61945         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61946         (nextafter_test_data): New variable.
61947         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61948         (nexttoward_test_data): New variable.
61949         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61950         (pow_test_data): New variable.
61951         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61952         (pow_tonearest_test_data): New variable.
61953         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61954         (pow_towardzero_test_data): New variable.
61955         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61956         (pow_downward_test_data): New variable.
61957         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61958         (pow_upward_test_data): New variable.
61959         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61960         (remainder_test_data): New variable.
61961         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61962         (scalb_test_data): New variable.
61963         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61964         * sysdeps/i386/fpu/libm-test-ulps: Update.
61966 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61968         * math/libm-test.inc (fma_test): Use max_value instead of local
61969         variable fltmax.
61970         (nextafter_test): Likewise.
61972         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61973         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61974         (acos_downward_test_data): New variable.
61975         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61976         (acos_upward_test_data): New variable.
61977         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61978         (acosh_test_data): New variable.
61979         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61980         (asin_test_data): New variable.
61981         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61982         (asin_tonearest_test_data): New variable.
61983         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61984         (asin_towardzero_test_data): New variable.
61985         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61986         (asin_downward_test_data): New variable.
61987         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61988         (asin_upward_test_data): New variable.
61989         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61990         (asinh_test_data): New variable.
61991         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61992         (atan_test_data): New variable.
61993         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61994         (atanh_test_data): New variable.
61995         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61996         (cbrt_test_data): New variable.
61997         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61998         (ceil_test_data): New variable.
61999         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62000         (cos_test_data): New variable.
62001         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62002         (cos_tonearest_test_data): New variable.
62003         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62004         (cos_towardzero_test_data): New variable.
62005         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62006         (cos_downward_test_data): New variable.
62007         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62008         (cos_upward_test_data): New variable.
62009         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62010         (cosh_test_data): New variable.
62011         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62012         (cosh_tonearest_test_data): New variable.
62013         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62014         (cosh_towardzero_test_data): New variable.
62015         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62016         (cosh_downward_test_data): New variable.
62017         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62018         (cosh_upward_test_data): New variable.
62019         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62020         (erf_test_data): New variable.
62021         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62022         (erfc_test_data): New variable.
62023         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62024         (exp_test_data): New variable.
62025         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62026         (exp_tonearest_test_data): New variable.
62027         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62028         (exp_towardzero_test_data): New variable.
62029         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62030         (exp_downward_test_data): New variable.
62031         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62032         (exp_upward_test_data): New variable.
62033         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62034         (exp10_test_data): New variable.
62035         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62036         (exp2_test_data): New variable.
62037         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62038         (expm1_test_data): New variable.
62039         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62040         (fabs_test_data): New variable.
62041         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62042         (floor_test_data): New variable.
62043         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62044         (j0_test_data): New variable.
62045         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62046         (j1_test_data): New variable.
62047         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62048         (log_test_data): New variable.
62049         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62050         (log10_test_data): New variable.
62051         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62052         (log1p_test_data): New variable.
62053         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62054         (log2_test_data): New variable.
62055         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62056         (logb_test_data): New variable.
62057         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62058         (logb_downward_test_data): New variable.
62059         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62060         (nearbyint_test_data): New variable.
62061         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62062         (rint_test_data): New variable.
62063         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62064         (rint_tonearest_test_data): New variable.
62065         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62066         (rint_towardzero_test_data): New variable.
62067         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62068         (rint_downward_test_data): New variable.
62069         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62070         (rint_upward_test_data): New variable.
62071         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62072         (round_test_data): New variable.
62073         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62074         (sin_test_data): New variable.
62075         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62076         (sin_tonearest_test_data): New variable.
62077         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62078         (sin_towardzero_test_data): New variable.
62079         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62080         (sin_downward_test_data): New variable.
62081         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62082         (sin_upward_test_data): New variable.
62083         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62084         (sinh_test_data): New variable.
62085         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62086         (sinh_tonearest_test_data): New variable.
62087         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62088         (sinh_towardzero_test_data): New variable.
62089         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62090         (sinh_downward_test_data): New variable.
62091         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62092         (sinh_upward_test_data): New variable.
62093         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62094         (sqrt_test_data): New variable.
62095         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62096         (tan_test_data): New variable.
62097         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62098         (tan_tonearest_test_data): New variable.
62099         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62100         (tan_towardzero_test_data): New variable.
62101         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62102         (tan_downward_test_data): New variable.
62103         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62104         (tan_upward_test_data): New variable.
62105         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62106         (tanh_test_data): New variable.
62107         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62108         (tgamma_test_data): New variable.
62109         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62110         (trunc_test_data): New variable.
62111         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62112         (y0_test_data): New variable.
62113         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62114         (y1_test_data): New variable.
62115         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62116         (significand_test_data): New variable.
62117         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62119 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62121         [BZ #12387]
62122         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62124 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62126         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62128 2013-05-10  Andreas Jaeger  <aj@suse.de>
62130         [BZ #15448]
62131         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62132         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62134 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62136         * math/gen-libm-test.pl (adjust_arg): New function.
62137         (special_functions): Handle generating output in both functions
62138         and arrays.
62139         (parse_args): Likewise.
62140         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62141         $in_func argument to parse_args.
62142         * math/libm-test.inc (struct test_f_f_data): New type.
62143         (IF_ROUND_INIT_): New macro.
62144         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62145         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62146         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62147         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62148         (ROUND_RESTORE_): Likewise.
62149         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62150         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62151         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62152         (ROUND_RESTORE_FE_UPWARD): Likewise.
62153         (RUN_TEST_LOOP_f_f): New macro.
62154         (acos_test_data): New variable.
62155         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62156         (acos_tonearest_test_data): New variable.
62157         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62159 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62161         * benchtests/bench-skeleton.c (startup): Fix coding style.
62163 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62165         [BZ #6809]
62166         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62167         negative infinity argument.
62168         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62169         negative infinity argument.
62170         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62171         negative infinity argument.
62172         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62173         domain errors.
62175 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62177         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62178         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62179         * iconv/iconv_prog.c (main): Likewise.
62180         * locale/programs/charmap-dir.c (charmap_readdir)
62181         (fopen_uncompressed): Likewise.
62182         * locale/programs/locfile.c (siblings_uncached)
62183         (write_locale_data): Use lstat64 instead of lstat.
62184         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62185         stat.
62187 2013-05-10  Andreas Jaeger  <aj@suse.de>
62189         [BZ #15395]
62190         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62191         localization.
62192         Include <locale.h>.
62194 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62196         * elf/dl-close.c (_dl_close_worker): Add comments.
62198 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62200         [BZ #15359]
62201         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62202         high part of pi/2.
62203         (__ieee754_rem_pio2l): Update comments.
62205         [BZ #15429]
62206         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62207         high part of pi/2.
62208         (__ieee754_rem_pio2l): Update comments.
62210         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62211         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62213         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62214         M_PI_4l.
62216         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62217         (M_PI_34_LOG10El): Likewise.
62218         (M_PI2_LOG10El): Likewise.
62219         (M_PI4_LOG10El): Likewise.
62220         (M_PI_LOG10El): Likewise.
62222 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62226 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62228         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62229         (MINUS_ZERO_INIT): Likewise.
62230         (PLUS_INFTY_INIT): Likewise.
62231         (MINUS_INFTY_INIT): Likewise.
62232         (QNAN_VALUE_INIT): Likewise.
62233         (MAX_VALUE_INIT): Likewise.
62234         (MIN_VALUE_INIT): Likewise.
62235         (MIN_SUBNORM_VALUE_INIT): Likewise.
62236         (plus_zero): Initialize with PLUS_ZERO_INIT.
62237         (minus_zero): Initialize with MINUS_ZERO_INIT.
62238         (plus_infty): Initialize with PLUS_INFTY_INIT.
62239         (minus_infty): Initialize with MINUS_INFTY_INIT.
62240         (qnan_value): Initialize with QNAN_VALUE_INIT.
62241         (max_value): Initialize with MAX_VALUE_INIT.
62242         (min_value): Initialize with MIN_VALUE_INIT.
62243         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62245         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62246         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62247         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62248         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62250         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62251         (RUN_TEST_2_f): Likewise.
62252         (RUN_TEST_ff_f): Likewise.
62253         (RUN_TEST_fi_f): Likewise.
62254         (RUN_TEST_fl_f): Likewise.
62255         (RUN_TEST_fff_f): Likewise.
62256         (RUN_TEST_c_f): Likewise.
62257         (RUN_TEST_f_f1): Likewise.
62258         (RUN_TEST_fF_f1): Likewise.
62259         (RUN_TEST_fI_f1): Likewise.
62260         (RUN_TEST_ffI_f1): Likewise.
62261         (RUN_TEST_c_c): Likewise.
62262         (RUN_TEST_cc_c): Likewise.
62263         (RUN_TEST_f_i): Likewise.
62264         (RUN_TEST_f_i_tg): Likewise.
62265         (RUN_TEST_ff_i_tg): Likewise.
62266         (RUN_TEST_f_b): Likewise.
62267         (RUN_TEST_f_b_tg): Likewise.
62268         (RUN_TEST_f_l): Likewise.
62269         (RUN_TEST_f_L): Likewise.
62270         (RUN_TEST_sincos): Likewise.
62271         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62272         whether to show exceptions.  Do not include ");\n" in return
62273         value.
62274         (special_functions): Output call to RUN_TEST_sincos instead of
62275         check_float calls.  Update calls to new_test.
62276         (parse_args): Output call to single RUN_TEST_* macro instead of
62277         check_* calls and other assignments.  Update calls to new_test.
62279         [BZ #2546]
62280         [BZ #2560]
62281         [BZ #5159]
62282         [BZ #15426]
62283         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62284         input to result for tgamma overflow.
62285         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62286         (gamma_coeff): New variable.
62287         (NCOEFF): New macro.
62288         (gamma_positive): New function.
62289         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62290         underflow here.  Use gamma_positive instead of exp (lgamma) for
62291         other arguments.
62292         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62293         (gamma_coeff): New variable.
62294         (NCOEFF): New macro.
62295         (gammaf_positive): New function.
62296         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62297         underflow here.  Use gamma_positive instead of exp (lgamma) for
62298         other arguments.
62299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62300         (gamma_coeff): New variable.
62301         (NCOEFF): New macro.
62302         (gammal_positive): New function.
62303         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62304         underflow here.  Use gamma_positive instead of exp (lgamma) for
62305         other arguments.
62306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62307         (gamma_coeff): New variable.
62308         (NCOEFF): New macro.
62309         (gammal_positive): New function.
62310         (__ieee754_gammal_r): Handle positive infinity, overflow and
62311         underflow here.  Handle NaN the same as positive infinity.  Remove
62312         check x < 0xffffffff for negative integers.  Use gamma_positive
62313         instead of exp (lgamma) for other arguments.
62314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62315         (gamma_coeff): New variable.
62316         (NCOEFF): New macro.
62317         (gammal_positive): New function.
62318         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62319         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62320         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62321         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62322         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62323         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62324         * sysdeps/generic/math_private.h (__gamma_productf): New
62325         prototype.
62326         (__gamma_product): Likewise.
62327         (__gamma_productl): Likewise.
62328         * math/Makefile (libm-calls): Add gamma_product.
62329         * math/libm-test.inc (tgamma_test): Add more tests.
62330         * sysdeps/i386/fpu/libm-test-ulps: Update.
62331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62333 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62335         * benchtests/bench-skeleton.c (main): Preheat CPU.
62337 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62339         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62341 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62343         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62344         and _dl_skip_args_internal.
62346 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62348         * manual/message.texi (Message Translation): Talk about users.
62349         Message to key mapping impacts design.
62351 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62353         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62355         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62357         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62358         * sysdeps/wordsize-64/glob64.c: ... here.
62360         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62361         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62362         New macros.
62364         * debug/getlogin_r_chk.c: Moved to ...
62365         * login/getlogin_r_chk.c: ... here.
62366         * debug/Makefile (routines): Move getlogin_r_chk to ...
62367         * login/Makefile (routines): ... here.
62368         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62369         * login/Versions (libc: GLIBC_2.4): ... here.
62371         * io/poll.c (__poll): Renamed from poll.
62372         Add libc_hidden_def.
62373         (poll): Define as weak alias.
62375         * debug/ptsname_r_chk.c: Moved to ...
62376         * login/ptsname_r_chk.c: ... here.
62377         * debug/Makefile (routines): Move ptsname_r_chk to ...
62378         * login/Makefile (routines): ... here.
62379         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62380         * login/Versions (libc: GLIBC_2.4): ... here.
62382         * posix/getlogin.c: Moved to ...
62383         * login/getlogin.c: ... here.
62384         * posix/getlogin_r.c: Moved to ...
62385         * login/getlogin_r.c: ... here.
62386         * posix/getlogin_r.c: Moved to ...
62387         * login/getlogin_r.c: ... here.
62388         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62389         * login/Makefile (routines): ... here.
62390         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62391         * login/Versions (libc: GLIBC_2.0): ... here.
62393         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62394         (setrlimit): Define as weak alias.
62396         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62397         Call __ names for open, ftruncate, and close.
62398         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62399         (truncate): Define as weak alias.
62401 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62403         * math/gen-libm-test.pl (parse_args): Initialize x before each
62404         test of frexp, modf and remquo.
62406         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62407         test signgam value.
62409 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62411         [BZ #15418]
62412         [BZ #15419]
62413         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62414         internal tests.
62415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62417 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62419         * elf/dl-writev.h: New file.
62420         * elf/dl-misc.c: Include it.
62421         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62422         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62424 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62426         * math/libm-test.inc (noXFails): Remove variable.
62427         (noXPasses): Likewise.
62428         (BUILD_COMPLEX_INT): Remove macro.
62429         (print_screen): Remove xfail argument.
62430         (print_screen_max_error): Likewise.
62431         (update_stats): Likewise.
62432         (print_max_error): Likewise.  Update calls to other affected
62433         functions.
62434         (print_complex_max_error): Likewise.
62435         (test_single_exception): Update calls to print_screen.
62436         (test_single_errno): Likewise.
62437         (check_float_internal): Remove xfail argument.  Update calls to
62438         other affected functions.
62439         (check_float): Likewise.
62440         (check_complex): Likewise.
62441         (check_int): Likewise.
62442         (check_long): Likewise.
62443         (check_bool): Likewise.
62444         (check_longlong): Likewise.
62445         (main): Don't print noXFails and noXPasses.
62446         * math/gen-libm-test.pl (top level): Don't mention expected
62447         failure handling in comment.
62448         (new_test): Don't handle expected failures.
62449         (parse_args): Don't mention expected failure handling in comment.
62450         (generate_testfile): Don't handle expected failures.
62451         (parse_ulps): Likewise.
62452         (print_ulps_file): Likewise.
62453         (get_failure): Remove function.
62454         (output_test): Don't handle expected failures.
62455         * make/README.libm-test: Don't mention expected failure handling.
62457         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62458         (minus_zero): Likewise.
62459         (plus_infty): Likewise.
62460         (minus_infty): Likewise.
62461         (qnan_value): Likewise.
62462         (max_value): Likewise.
62463         (min_value): Likewise.
62464         (min_subnorm_value): Likewise.
62465         (initialize): Do not initialize those variables dynamically.
62467 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62469         * io/open.c (__open_2): Moved to ...
62470         * io/open_2.c: ... this new file.
62471         * io/open64.c (__open64_2): Moved to ...
62472         * io/open64_2.c: ... this new file.
62473         * io/openat.c (__openat_2): Moved to ...
62474         * io/openat_2.c: ... this new file.
62475         * io/openat64.c (__openat64_2): Moved to ...
62476         * io/openat64_2.c: ... this new file.
62477         * io/Makefile (routines): Add them.
62478         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62479         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62480         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62481         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62482         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62483         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62484         (__openat64): Add hidden_ver.
62485         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62486         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62488         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62489         Separately conditionalize setting of GLRO(dl_sysinfo) so
62490         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62491         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62493 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62495         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62497         definition.
62498         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62499         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62500         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62501         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62502         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62504 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62506         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62507         test signgam value.
62509         * math/libm-test.inc (hypot_test): Do not use
62510         IGNORE_ZERO_INF_SIGN.
62512 2013-05-03  Andreas Jaeger  <aj@suse.de>
62514         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62515         Linux 3.9.
62516         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62517         (PF_MAX): Adjust for VSOCK change.
62519 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62523 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62525         [BZ #15264]
62526         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62527         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62528         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62530 2013-05-02  David S. Miller  <davem@davemloft.net>
62532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62534 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62536         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62538 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62540         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62542 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62544         [BZ #14952]
62545         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62546         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62547         Use __attribute__ ((__gnu_inline__)).
62548         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62549         Don't use __attribute__ ((__gnu_inline__)).
62551 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62553         [BZ #15423]
62554         * math/s_catan.c (__catan): Handle small real or imaginary part of
62555         input specially to avoid spurious underflow.
62556         * math/s_catanf.c (__catanf): Likewise.
62557         * math/s_catanh.c (__catanh): Likewise.
62558         * math/s_catanhf.c (__catanhf): Likewise.
62559         * math/s_catanhl.c (__catanhl): Likewise.
62560         * math/s_catanl.c (__catanl): Likewise.
62561         * math/libm-test.inc (catan_test): Add more tests.
62562         (catanh_test): Likewise.
62563         * sysdeps/i386/fpu/libm-test-ulps: Update.
62564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62566 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62570 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62572         [BZ #15416]
62573         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62574         accurately for denominator in atan2.
62575         * math/s_catanf.c (__catanf): Likewise.
62576         * math/s_catanh.c (__catanh): Likewise.
62577         * math/s_catanhf.c (__catanhf): Likewise.
62578         * math/s_catanhl.c (__catanhl): Likewise.
62579         * math/s_catanl.c (__catanl): Likewise.
62580         * math/libm-test.inc (catan_test): Add more tests.
62581         (catanh_test): Likewise.
62582         * sysdeps/i386/fpu/libm-test-ulps: Update.
62583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62585 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62587         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62589         * benchtests/Makefile (bench): Remove slow benchmarks.
62590         * benchtests/atan-inputs: Add slow benchmark inputs.
62591         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62592         (BENCH_FUNC): Accept variant offset.
62593         (VARIANT): Define.
62594         * benchtests/bench-skeleton.c (main): Run benchmark for each
62595         variant.
62596         * benchtests/cos-inputs: Add slow benchmark inputs.
62597         * benchtests/exp-inputs: Likewise.
62598         * benchtests/pow-inputs: Likewise.
62599         * benchtests/sin-inputs: Likewise.
62600         * benchtests/slowatan-inputs: Remove.
62601         * benchtests/slowatan.c: Remove.
62602         * benchtests/slowcos-inputs: Remove.
62603         * benchtests/slowcos.c: Remove.
62604         * benchtests/slowexp-inputs: Remove.
62605         * benchtests/slowexp.c: Remove.
62606         * benchtests/slowpow-inputs: Remove.
62607         * benchtests/slowpow.c: Remove.
62608         * benchtests/slowsin-inputs: Remove.
62609         * benchtests/slowsin.c: Remove.
62610         * benchtests/slowtan-inputs: Remove.
62611         * benchtests/slowtan.c: Remove.
62612         * benchtests/tan-inputs: Add slow benchmark inputs.
62613         * scripts/bench.pl: Parse comments and directives.
62615         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62616         in CPPFLAGS.
62617         ($(objpfx)bench-%.c): Remove *-ITER.
62618         * benchtests/bench-modf.c: Remove definition of ITER.
62619         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62620         (main): Loop for DURATION seconds instead of fixed number of
62621         iterations.
62622         * scripts/bench.pl: Don't expect iterations in parameters.
62624 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62626         * io/fchdir.c (__fchdir): Renamed from fchdir.
62627         (fchdir): Define as weak alias.
62629 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62631         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62632         (ERRNO_EDOM): Likewise.
62633         (ERRNO_ERANGE): Likewise.
62634         (noErrnoTests): New variable.
62635         (init_max_error): Set errno to 0.
62636         (test_single_errno): New function.
62637         (test_errno): Likewise.
62638         (check_float_internal): Call test_errno.  Set errno to 0.
62639         (check_complex): Refer to errno tests in comment.
62640         (check_int): Call test_errno.  Set errno to 0.
62641         (check_long): Likewise.
62642         (check_bool): Likewise.
62643         (check_longlong): Likewise.
62644         (cos_test): Use ERRNO_* flags for errno tests instead of
62645         check_int.
62646         (expm1_test): Likewise.
62647         (fmod_test): Likewise.
62648         (ilogb_test): Likewise.
62649         (lgamma_test): Likewise.
62650         (pow_test): Likewise.
62651         (remainder_test): Likewise.
62652         (sin_test): Likewise.
62653         (tan_test): Likewise.
62654         (yn_test): Likewise.
62655         (initialize): Set errno to 0.
62656         (main): Print number of errno tests.
62657         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62659 2013-04-29  Andreas Jaeger  <aj@suse.de>
62661         [BZ #15084]
62662         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62663         and RES_USEVC.
62665         [BZ #15085]
62666         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62667         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62668         unimplemented.
62670         [BZ #15380]
62671         * stdlib/random.c (__initstate): Return NULL if
62672         __initstate fails.
62674         [BZ #15086]
62675         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62676         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62677         RES_SNGLKUPREOP.
62679 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62683 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62685         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62686         of individual tests.
62687         (casin_test): Likewise.
62688         (casinh_test): Likewise.
62690 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62692         [BZ #15409]
62693         * math/s_catan.c (__catan): Handle arguments with large real or
62694         imaginary part separately without squaring.
62695         * math/s_catanf.c (__catanf): Likewise.
62696         * math/s_catanh.c (__catanh): Likewise.
62697         * math/s_catanhf.c (__catanhf): Likewise.
62698         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62699         and redefine.
62700         (__catanhl): Handle arguments with large real or imaginary part
62701         separately without squaring.
62702         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62703         and redefine.
62704         (__catanl): Handle arguments with large real or imaginary part
62705         separately without squaring.
62706         * math/libm-test.inc (catan_test): Add more tests.
62707         (catanh_test): Likewise.
62708         * sysdeps/i386/fpu/libm-test-ulps: Update.
62709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62711 2013-04-27  Andreas Jaeger  <aj@suse.de>
62713         [BZ #15007]
62714         * stdlib/stdlib.h: Update guards for qecvt.
62715         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62716         <stdlib.h>.
62718 2013-04-27  Allan McRae  <allan@archlinux.org>
62720         * sysdeps/i386/fpu/libm-test-ulps: Update.
62722 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62724         [BZ #15406]
62725         * math/s_catan.c: Include <float.h>.
62726         (__catan): Ensure underflow exception occurs for underflowed
62727         result.
62728         * math/s_catanf.c: Include <float.h>.
62729         (__catanf): Ensure underflow exception occurs for underflowed
62730         result.
62731         * math/s_catanh.c: Include <float.h>.
62732         (__catanh): Ensure underflow exception occurs for underflowed
62733         result.
62734         * math/s_catanhf.c: Include <float.h>.
62735         (__catanhf): Ensure underflow exception occurs for underflowed
62736         result.
62737         * math/s_catanhl.c: Include <float.h>.
62738         (__catanhl): Ensure underflow exception occurs for underflowed
62739         result.
62740         * math/s_catanl.c: Include <float.h>.
62741         (__catanl): Ensure underflow exception occurs for underflowed
62742         result.
62743         * math/libm-test.inc (catan_test): Add more tests.
62744         (catanh_test): Likewise.
62746         [BZ #15405]
62747         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62748         underflowed result.
62749         * math/s_ccoshf.c (__ccoshf): Likewise.
62750         * math/s_ccoshl.c (__ccoshl): Likewise.
62751         * math/s_csin.c (__csin): Likewise.
62752         * math/s_csinf.c (__csinf): Likewise.
62753         * math/s_csinh.c (__csinh): Likewise.
62754         * math/s_csinhf.c (__csinhf): Likewise.
62755         * math/s_csinhl.c (__csinhl): Likewise.
62756         * math/s_csinl.c (__csinl): Likewise.
62757         * math/libm-test.inc (ccos_test): Add more tests.
62758         (ccosh_test): Likewise.
62759         (csin_test): Likewise.
62760         (csinh_test): Likewise.
62762 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62764         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62765         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62766         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62767         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62768         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62769         powerpc/power5+/fpu folders.
62770         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62773 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62777 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62779         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62780         additions to variable.
62781         [$(config-machine) = x86_64] (modules-names): Likewise.
62782         ($(objpfx)tst-audit3): Remove dependency.
62783         ($(objpfx)tst-audit3.out): Likewise.
62784         ($(objpfx)tst-audit4): Likewise.
62785         ($(objpfx)tst-audit4.out): Likewise.
62786         ($(objpfx)tst-audit5): Likewise.
62787         ($(objpfx)tst-audit5.out): Likewise.
62788         ($(objpfx)tst-audit6): Likewise.
62789         ($(objpfx)tst-audit6.out): Likewise.
62790         ($(objpfx)tst-audit7): Likewise.
62791         ($(objpfx)tst-audit7.out): Likewise.
62792         (tst-audit3-ENV): Remove variable.
62793         (tst-audit4-ENV): Likewise.
62794         (tst-audit5-ENV): Likewise.
62795         (tst-audit6-ENV): Likewise.
62796         (tst-audit7-ENV): Likewise.
62797         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62798         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62799         addition to variable.
62800         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62801         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62802         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62803         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62804         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62805         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62806         tst-audit3, tst-audit4 and tst-audit5.
62807         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62808         tst-audit6 and tst-audit7.
62809         [$(subdir) = elf] (modules-names): Add audit modules for those
62810         tests.
62811         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62812         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62813         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62814         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62815         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62816         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62817         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62818         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62819         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62820         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62821         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62822         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62823         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62824         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62825         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62826         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62827         Likewise.
62828         [$(subdir) = elf && $(config-cflags-avx) = yes]
62829         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62830         [$(subdir) = elf && $(config-cflags-avx) = yes]
62831         (CFLAGS-tst-auditmod4a.c): Likewise.
62832         [$(subdir) = elf && $(config-cflags-avx) = yes]
62833         (CFLAGS-tst-auditmod4b.c): Likewise.
62834         [$(subdir) = elf && $(config-cflags-avx) = yes]
62835         (CFLAGS-tst-auditmod6b.c): Likewise.
62836         [$(subdir) = elf && $(config-cflags-avx) = yes]
62837         (CFLAGS-tst-auditmod6c.c): Likewise.
62838         [$(subdir) = elf && $(config-cflags-avx) = yes]
62839         (CFLAGS-tst-auditmod7b.c): Likewise.
62840         * elf/tst-audit3.c: Move to ...
62841         * sysdeps/x86_64/tst-audit3.c: ... here.
62842         * elf/tst-audit4.c: Move to ...
62843         * sysdeps/x86_64/tst-audit4.c: ... here.
62844         * elf/tst-audit5.c: Move to ...
62845         * sysdeps/x86_64/tst-audit5.c: ... here.
62846         * elf/tst-audit6.c: Move to ...
62847         * sysdeps/x86_64/tst-audit6.c: ... here.
62848         * elf/tst-audit7.c: Move to ...
62849         * sysdeps/x86_64/tst-audit7.c: ... here.
62850         * elf/tst-auditmod3a.c: Move to ...
62851         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62852         * elf/tst-auditmod3b.c: Move to ...
62853         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62854         * elf/tst-auditmod4a.c: Move to ...
62855         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62856         * elf/tst-auditmod4b.c: Move to ...
62857         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62858         * elf/tst-auditmod5a.c: Move to ...
62859         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62860         * elf/tst-auditmod5b.c: Move to ...
62861         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62862         * elf/tst-auditmod6a.c: Move to ...
62863         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62864         * elf/tst-auditmod6b.c: Move to ...
62865         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62866         * elf/tst-auditmod6c.c: Move to ...
62867         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62868         * elf/tst-auditmod7a.c: Move to ...
62869         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62870         * elf/tst-auditmod7b.c: Move to ...
62871         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62873 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62875         [BZ #15366]
62876         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62877         define unconditionally.
62878         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62879         define unconditionally.
62880         (INT8_C, INT16_C, etc.): Likewise.
62882 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62884         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62885         __ehdr_start with hidden visibility.
62887         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62889 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62891         * math/libm-test.inc (cos_test): Use accurate hex constants.
62892         (sincost_test): Likewise.
62894 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62896         * math/libm-test.inc (catan_test): Add more tests.
62897         (catanh_test): Likewise.
62899         * math/s_catanf.c (__catanf): Use suffixed floating-point
62900         constants.
62901         * math/s_catanhf.c (__catanhf): Likewise.
62902         * math/s_catanhl.c (__catanhl): Likewise.
62903         * math/s_catanl.c (__catanl): Likewise.
62905         [BZ #15394]
62906         * math/s_catan.c (__catan): Calculate imaginary part of result
62907         with log1p not log unless computing log of number close to 0.
62908         * math/s_catanf.c (__catanf): Likewise.
62909         * math/s_catanl.c (__catanl): Likewise.
62910         * math/s_catanh.c (__catanh): Calculate real part of result with
62911         log1p not log unless computing log of number close to 0.
62912         * math/s_catanhf.c (__catanhf): Likewise.
62913         * math/s_catanhl.c (__catanhl): Likewise.
62914         * math/libm-test.inc (catan_test): Add more tests.
62915         (catanh_test): Likewise.
62916         * sysdeps/i386/fpu/libm-test-ulps: Update.
62917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62919 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62921         * benchtests/Makefile: Mention files in which fast and slow
62922         paths of math functions are implemented.
62924 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62926         * sysdeps/posix/timespec_get.c: New file.
62928 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62930         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62931         POWER.
62932         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62933         for POWER.
62934         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62935         powerpc/power5/fpu folders.
62936         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62937         * benchtests/Makefile: Add modf testcase.
62938         * benchtests/bench-modf.c: New file: Benchmark test for mo
62940 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62942         [BZ #14888]
62943         * time/Makefile (tests): Add tst-strptime-whitespace.
62944         * time/strptime_l.c (get_number): Use ISSPACE.
62945         (__strptime_internal): Likewise.
62946         * time/tst-strptime-whitespace.c: New test case.
62948 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62950         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62951         member.
62952         (_nss_files_init): Set it here.
62954 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62956         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62957         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62958         unsigned.
62960 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62962         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62964 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62967         size just once.
62969 2013-04-21  David S. Miller  <davem@davemloft.net>
62971         * po/ru.po: Update Russion translation from translation project.
62973 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62975         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62976         and setfsgid.
62978 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62980         * configure.in: Remove i386 configure warning. Remove i386 case.
62981         * configure: Regenerate.
62982         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62983         Add example to error message.
62984         * sysdeps/i386/configure: Regenerate.
62986 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62988         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62989         slowtan.
62990         * benchtests/cos-inputs: New file.
62991         * benchtests/slowcos-inputs: New file.
62992         * benchtests/slowcos.c: New file.
62993         * benchtests/slowtan-inputs: New file.
62994         * benchtests/slowtan.c: New file.
62995         * benchtests/tan-inputs: New file.
62997 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62999         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63000         considered kosher.
63002 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63004         * benchtests/Makefile: Include cppflags-iterator.mk to add
63005         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63007         * Makefile.in (bench-clean): New target.
63008         * benchtests/Makefile (bench-clean): Likewise.
63010 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63012         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63014 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63016         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63018 2013-04-15  Andreas Schwab  <schwab@suse.de>
63020         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63022         * nscd/pwdcache.c (cache_addpw): Likewise.
63023         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63024         more than recsize.
63026 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63028         * benchtests/Makefile (bench): Write all output to
63029         bench-out.tmp together.
63031 2013-04-15  Andreas Schwab  <schwab@suse.de>
63033         * nscd/nscd.c (main): Don't fork again after closing files.
63035 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63037         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63039         * benchtests/Rules (bench-deps): Collect dependencies into a
63040         single variable.  Add Makefile to dependencies.
63041         ($(objpfx)bench-%.c): Depend on bench-deps.
63043 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63044             Xavier Roche  <roche+kml2@exalead.com>
63046         [BZ #15361]
63047         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63048         just that it's a file descriptor.
63049         * manual/llio.texi (Synchronizing AIO Operations): Update description
63050         for EBADF error from aio_fsync.
63052 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63054         * Rules (bench): Move target definition...
63055         * benchtests/Makefile: ... here.
63057 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63059         * math/libm-test.inc (cos_test): Fix PI/2 test.
63060         (sincos_test): Likewise.
63061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63062         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63064 2013-04-11  Andreas Schwab  <schwab@suse.de>
63066         [BZ #13988]
63067         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63068         accept exponent character only when digits were seen.
63069         * stdio-common/Makefile (tests): Add bug26.
63070         * stdio-common/bug26.c: New file.
63072         [BZ #14293]
63073         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63074         non-freeable.
63076 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63078         * Makeconfig (rtld-prefix): Define built linker prefix.
63079         * Rules (run-bench): Use it.
63080         * math/Makefile (run-regen-ulps): Likewise.
63082         * Rules (bench): Remove eval.
63084 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63085             Roland McGrath  <roland@hack.frob.com>
63086             Ondrej Bilka  <neleai@seznam.cz>
63088         [BZ #15346]
63089         * time/getdate.c: Include ctype.h and alloca.h.
63090         (__getdate_r): Trim leading and trailing spaces of input.
63091         * time/tst-getdate.c (tests): Add tests with leading and
63092         trailing spaces.
63094 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63096         [BZ #14280]
63097         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63098         when computing value.
63100 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63102         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63103         Use testrun.sh to run libm tests.
63105         [BZ #15309]
63106         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63108 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63110         [BZ #15264]
63111         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63113 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63115         * Makefile.in (regen-ulps): New target.
63116         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63117         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63118         [ifneq (no,$(PERL)] (regen-ulps): New target.
63119         [ifeq (no,$(PERL)] (regen-ulps): New target.
63120         * math/libm-test.inc (ulps_file_name): Define.
63121         (output_dir): New variable.
63122         (options): Add "output-dir" option.
63123         (parse_opt): Handle 'o' case.
63124         (main): If output_dir is non-NULL use it as a prefix
63125         otherwise use "".
63126         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63128 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63130         [BZ #10060, #10062]
63131         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63132         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63133         fail configure if __sync_val_compare_and_swap is not inlined.
63134         * sysdeps/i386/configure: Regenerate.
63135         * configure.in: Build for i686 when configured for i386.
63136         * configure: Regenerate.
63137         * README: Remove i386 reference.
63139 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63141         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63142         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63144 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63146         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63147         (lmsnanval): New variables.
63148         (F): Add conversion tests.
63149         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63150         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63152         * stdio-common/tstdiomisc.c (F): Properly collect individual
63153         tests' results.
63155         [BZ #14686, #15336]
63156         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63157         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63158         Instead, use input NaN values or generate a qNaN by arithmetic
63159         operation.  Also fix bugs to comply with the standard.
63160         * math/libm-test.inc (remainder_test): Add more tests.
63162         [BZ #15335, #15342]
63163         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63165         input NaN values or generate a qNaN by arithmetic operation.
63167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63168         unreachable code.
63170         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63171         definitions.
63173 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63175         [BZ #14478]
63176         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63177         underflowed result.
63178         * math/s_cexpf.c (__cexpf): Likewise.
63179         * math/s_cexpl.c (__cexpl): Likewise.
63180         * math/libm-test.inc (cexp_test): Add more tests.
63182 2013-04-03  Andreas Schwab  <schwab@suse.de>
63184         [BZ #15330]
63185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63186         order arrays from heap if bigger than alloca cutoff.
63188 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63190         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63191         (SNAN_TESTS_double): Refer to GCC PR56831.
63192         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63193         GCC PR56828.
63195 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63197         * Rules (bench): Move bench.out after the run is complete.
63199         * Rules (bench): Echo currently running benchmark.
63201         * benchtests/Makefile (bench): Add atan and slowatan.
63202         * benchtests/atan-inputs: New file.
63203         * benchtests/slowatan-inputs: New file.
63204         * benchtests/slowatan.c: New file.
63206         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63208         its value.
63210         [BZ #15305]
63211         * sysdeps/unix/sysv/linux/kernel-features.h
63212         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63213         __ASSUME_XFS_RESTRICTED_CHOWN.
63214         * sysdeps/unix/sysv/linux/pathconf.c
63215         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63216         Save and restore errno.
63218 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63220         [BZ #15327]
63221         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63222         arguments using __kernel_casinh.
63223         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63224         arguments using __kernel_casinhf.
63225         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63226         arguments using __kernel_casinhl.
63227         * math/libm-test.inc (cacosh_test): Add more tests.
63228         * sysdeps/i386/fpu/libm-test-ulps: Update.
63229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63231 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63233         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63236         * bench/Makefile (bench): Add sin and slowsin.
63237         * benchtests/sin-inputs: New file.
63238         * benchtests/slowsin-inputs: New file.
63239         * benchtests/slowsin.c: New file.
63241         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63242         (bench): Add slowexp and slowpow.
63243         (exp-ITER): Increase iterations.
63244         (pow-ITER): Likewise.
63245         * benchtests/exp-inputs: Change input.
63246         * benchtests/pow-inputs: Likewise.
63247         * benchtests/slowexp-inputs: New file.
63248         * benchtests/slowexp.c: New file.
63249         * benchtests/slowpow-inputs: New file.
63250         * benchtests/slowpow.c: New file.
63252 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63254         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63255         instructions.
63256         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63257         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63258         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63259         * benchtests/Makefile: Add rint benchtest.
63260         * benchtests/rint-inputs: Input for rint benchtest.
63262 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63264         * Versions.def (libm): Add GLIBC_2.18.
63265         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63266         hidden libm prototypes.
63267         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63268         * math/Makefile (libm-calls): Add s_issignaling.
63269         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63270         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63271         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63272         declaration.
63273         * math/math.h [__USE_GNU] (issignaling): New macro.
63274         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63275         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63276         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63277         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63278         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63279         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63280         * manual/arith.texi (issignaling): New section.
63281         * manual/libm-err-tab.pl (@all_functions): Update comment.
63282         * math/gen-libm-test.pl (parse_args): Apply special handling for
63283         issignaling.
63284         * math/libm-test.inc (print_float, issignaling_test): New
63285         functions.
63286         (check_float_internal): Add issignaling checks.
63287         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63288         default definition.
63289         * sysdeps/powerpc/math-tests.h: New file.
63290         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63291         tests.
63292         * math/test-snan.c (TEST_FUNC): Likewise.
63294 2013-03-30  David S. Miller  <davem@davemloft.net>
63296         * po/de.po: Update from translation team.
63298 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63300         [BZ #10357]
63301         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63302         imaginary part less than 1.0 and real part less than 0.5
63303         specially.
63304         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63305         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63306         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63307         (cacos_test): Add more tests.
63308         (casin_test): Likewise.
63309         (casinh_test): Likewise.
63310         * sysdeps/i386/fpu/libm-test-ulps: Update.
63311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63313 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63315         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63316         ONE with its value.
63318         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63319         (__pow_mp): Replace ONE and MONE with their values.
63320         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63321         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63322         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63323         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63324         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63325         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63327         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63329         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63330         (__pow_mp): Replace ZERO and MZERO with their values.
63331         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63332         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63333         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63334         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63335         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63336         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63337         (__sqr): Likewise.
63339         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63341         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63343 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63345         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63346         Declare with __attribute__ ((weak)).
63347         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63348         Call __call_tls_dtors only if it's not NULL.
63350 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63352         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63353         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63354         magic __ehdr_start linker symbol if it's defined.
63355         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63356         them up here if it was already done.
63358         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63359         (_dl_aux_init): Use const in cast when setting it.
63360         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63361         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63362         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63364         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63365         Declare them here.
63366         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63367         * csu/libc-tls.c: Nor here.
63368         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63370         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63371         (__libc_message): Never call vsyslog.
63373 2013-03-28  Alan Modra  <amodra@gmail.com>
63375         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63376         Define as empty.
63377         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63378         Likewise.
63380 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63382         [BZ #15214]
63383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63384         underflow.
63385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63387 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63389         [BZ #15304]
63390         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63391         Don't add gid passed as argument.
63393         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63395 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63397         [BZ #15307]
63398         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63399         imaginary part between 1.0 and 1.5 and real part less than 0.5
63400         specially.
63401         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63402         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63403         * math/libm-test.inc (cacos_test): Add more tests.
63404         (casin_test): Likewise.
63405         (casinh_test): Likewise.
63406         * sysdeps/i386/fpu/libm-test-ulps: Update.
63407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63409 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63411         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63412         constants.
63413         (norm): Likewise.
63414         (denorm): Likewise.
63415         (__dbl_mp): Likewise.
63416         (add_magnitudes): Likewise.
63417         (sub_magnitudes): Likewise.
63418         (__add): Likewise.
63419         (__sub): Likewise.
63420         (__mul): Likewise.
63421         (__sqr): Likewise.
63422         (__inv): Likewise.
63423         (__dvd): Likewise.
63425         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63426         commented code.
63427         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63428         (__dubcos): Likewise.
63429         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63430         (__ieee754_acos): Likewise.
63431         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63432         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63433         (__exp1): Likewise.
63434         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63436         (log1): Likewise.
63437         (my_log2): Likewise.
63438         (checkint): Likewise.
63439         * sysdeps/ieee754/dbl-64/e_remainder.c
63440         (__ieee754_remainder): Likewise.
63441         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63443         (bsloww): Likewise.
63444         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63446         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63447         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63448         MANTISSA_STORE_T to store computations on mantissa.  Use
63449         macros for rounding and division.
63450         (denorm): Likewise.
63451         (__dbl_mp): Likewise.
63452         (add_magnitudes): Likewise.
63453         (sub_magnitudes): Likewise.
63454         (__mul): Likewise.
63455         (__sqr): Likewise.
63456         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63457         powers of two in terms of TWOPOW macro.
63458         (mp_no): Make type of mantissa as MANTISSA_T.
63459         [!RADIXI]: Define RADIXI.
63460         [!TWO52]: Define TWO52.
63461         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63463 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63465         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63466         llroundl symbol when building for PPC32.
63468 2013-03-24  Mark H Weaver  <mhw@netris.org>
63470         * manual/arith.texi (Normalization Functions): Fix prototypes for
63471         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63473 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63475         [BZ #13889]
63476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63477         high value to check if expl overflow.
63478         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63479         to check for underflow and overflow.
63480         * math/libm-test.inc: Add exp test.
63482 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63484         [BZ #11120]
63485         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63486         with NOT_IN_libc.
63488 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63490         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63491         symbol.
63493 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63495         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63496         wrap blocks consisting of several statements.
63498         * sysdeps/generic/math-tests.h: New file.
63499         * sysdeps/i386/fpu/math-tests.h: Likewise.
63500         * math/test-snan.c: Include it.
63501         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63503 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63505         [BZ #15285]
63506         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63507         (__ieee754_j0l): Do not improve calculations using cos of twice
63508         input for inputs above LDBL_MAX / 2.0L.
63509         (__ieee754_y0l): Likewise.
63510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63511         (__ieee754_j1l): Do not improve calculations using cos of twice
63512         input for inputs above LDBL_MAX / 2.0L.
63513         (__ieee754_y1l): Likewise.
63514         * math/libm-test.inc (j0_test): Add another test.
63515         (j1_test): Likewise.
63516         (y0_test): Likewise.
63517         (y1_test): Likewise.
63518         * sysdeps/i386/fpu/libm-test-ulps: Update.
63520 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63522         * Rules ($(objpfx)bench-%.c): Include code from a C source
63523         file.
63525 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63527         [BZ #15287]
63528         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63529         imaginary part 1.0 and real part less than 0.5 specially.
63530         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63531         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63532         * math/libm-test.inc (cacos_test): Add more tests.
63533         (casin_test): Likewise.
63534         (casinh_test): Likewise.
63535         * sysdeps/i386/fpu/libm-test-ulps: Update.
63536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63538 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63540         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63541         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63543 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63545         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63546         * config.make.in (config-cflags-sse4): Remove variable.
63547         (config-cflags-avx): Likewise.
63548         (config-cflags-sse2avx): Likewise.
63549         (config-cflags-novzeroupper): Likewise.
63550         (config-asflags-i686): Likewise.
63551         (have-mfma4): Likewise.
63552         (have-as-vis3): Likewise.
63553         (MIG): Likewise.
63554         * configure.in (MIG): Do not AC_SUBST.
63555         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63556         (libc_cv_cc_sse4): Do not AC_SUBST.
63557         (libc_cv_cc_avx): Likewise.
63558         (libc_cv_cc_sse2avx): Likewise.
63559         (libc_cv_cc_novzeroupper): Likewise.
63560         (libc_cv_cc_fma4): Likewise.
63561         (libc_cv_as_i686): Likewise.
63562         (libc_cv_sparc_as_vis3): Likewise.
63563         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63564         LIBC_CONFIG_VAR.
63565         (config-asflags-i686): Likewise.
63566         (config-cflags-avx): Likewise.
63567         (config-cflags-sse2avx): Likewise.
63568         (have-mfma4): Likewise.
63569         (config-cflags-novzeroupper): Likewise.
63570         * sysdeps/mach/configure.in (MIG): Likewise.
63571         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63572         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63573         LIBC_CONFIG_VAR.
63574         (config-cflags-avx): Likewise.
63575         (config-cflags-sse2avx): Likewise.
63576         (have-mfma4): Likewise.
63577         (config-cflags-novzeroupper): Likewise.
63578         * configure: Regenerated.
63579         * sysdeps/i386/configure: Likewise.
63580         * sysdeps/mach/configure: Likewise.
63581         * sysdeps/sparc/configure: Likewise.
63582         * sysdeps/x86_64/configure: Likewise.
63584 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63586         [BZ #14812]
63587         * locale/programs/localedef.c (options): Put N_ translation marker
63588         on argument names, not just descriptions.
63590 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63592         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63594 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63596         [BZ #14176]
63597         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63599 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63601         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63602         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63603         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63604         [!BEFORE_ABORT] (before_abort): New function.
63605         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63606         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63607         (writev_for_fatal): New function.
63608         (WRITEV_FOR_FATAL): New macro; call that.
63609         (backtrace_and_maps): New function.
63610         (BEFORE_ABORT): New macro; call that.
63611         (struct str_list): Type removed.
63612         (__libc_message, __libc_fatal): Functions removed.
63613         Include <sysdeps/posix/libc_fatal.c> instead.
63615 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63617         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63618         constants.
63619         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63620         double constants.
63622 2013-03-19  Andreas Schwab  <schwab@suse.de>
63624         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63625         * sysdeps/gnu/configure: Regenerate.
63627         * configure.in: Substitute libc_cv_rtlddir.
63628         * configure: Regenerate.
63629         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63630         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63631         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63632         * elf/Makefile (install-others, CFLAGS-interp.c)
63633         (ldso_install, common-ldd-rewrite): Likewise.
63634         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63635         $(inst_slibdir)/$(rtld-installed-name).
63636         * scripts/rellns-sh: Add -p option.
63637         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63638         for source.
63640 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63642         * manual/nptl.texi: Renamed to ...
63643         * manual/threads.texi: ... this.
63644         * manual/Makefile (chapters): Update.
63646 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63648         [BZ #14812]
63649         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63650         on argument names, not just descriptions.
63651         * malloc/memusagestat.c (options): Likewise.
63652         * nss/getent.c (options): Likewise.
63654 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63656         [BZ #14812]
63657         * iconv/iconv_prog.c (options): Put N_ translation marker
63658         on argument names, not just descriptions.
63659         * iconv/iconvconfig.c (options): Likewise.
63661 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63663         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63664         implementation which is faster on all x86_64 architectures.
63665         Tested on AMD, Intel Nehalem, SNB, IVB.
63666         * sysdeps/x86_64/strnlen.S: Likewise.
63668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63669         Remove all multiarch strlen and strnlen versions.
63670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63671         Remove strlen and strnlen related parts.
63673         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63674         Inline strlen part.
63675         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63677         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63678         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63679         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63680         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63681         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63682         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63684 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63686         * manual/memory.texi (Malloc Tunable Parameters):
63687         Sort parameters alphabetically. Add comments for missing entries.
63689 2013-03-17  David S. Miller  <davem@davemloft.net>
63691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63693 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63695         [BZ #15283]
63696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63697         for arguments at most half maximum finite value.
63698         * math/libm-test.inc (j0_test): Add more tests.
63699         (j1_test): Likewise.
63700         (y0_test): Likewise.
63701         (y1_test): Likewise.
63702         * sysdeps/i386/fpu/libm-test-ulps: Update.
63703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63705         [BZ #14155]
63706         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63707         1 / x and functions P and Q for arguments above 0x1p256L.
63708         (__ieee754_y0l): Likewise.
63709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63710         (__ieee754_y1l): Likewise.
63711         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63712         (j1_test): Likewise.
63713         (y0_test): Likewise.
63714         (y1_test): Likewise.
63716 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63718         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63719         variable.
63721 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63723         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63724         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63725         zero since it's initialized to EXEC_PAGESIZE.
63727         * sysdeps/unix/sysv/linux/ldsodefs.h
63728         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63729         * sysdeps/generic/ldsodefs.h: ... here.
63731 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63733         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63735         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63736         math/test-snan.c.
63737         * math/test-snan.c: Renamed from
63738         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63739         * math/Makefile (tests): Add test-snan.
63740         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63741         test-powerpc-snan.
63743         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63744         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63745         functions.
63746         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63747         __builtin_nan family of functions.
63748         * math/libm-test.inc (initialize): Initialize qnan_value with
63749         __builtin_nan family of functions.
63750         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63751         Remove variables.
63752         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63753         Remove functions.
63754         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63755         storage class.  Initialize qNaN_var and sNaN_var with
63756         __builtin_nan and __builtin_nans families of functions,
63757         respectively.
63759         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63760         (sqrt_test): Remove duplicate test with qNaN input.
63761         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63762         (round_test, signbit_test, significand_test): Note missing +/-Inf
63763         as well as qNaN tests.
63765         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63766         qNaN_var.  Fix a few strings, too.
63767         * math/libm-test.inc (nan_value): Rename to qnan_value.
63768         * math/gen-libm-test.pl (%beautify): Adjust to that.
63769         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63770         * math/test-misc.c (main): Likewise.
63771         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63772         to __qnan_bytes, and __qnan_union, respectively.
63773         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63774         Likewise.
63775         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63776         and lqnanval, respectively.
63777         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63778         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63779         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63780         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63782         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63783         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63784         doubles.
63786         * math/test-misc.c (main): Fix copy'n'pastos.
63787         * misc/tst-efgcvt.c (special): Likewise.
63789         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63790         Remove declarations.
63792 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63794         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63795         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63796         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63797         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63799 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63802         macro to return vdso values correctly in IFUNC implementations.
63803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63804         Optimization by using IFUNC.
63806 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63807             Richard Henderson  <rth@redhat.com>
63808             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63810         * Makefile.in (bench): New target.
63811         * NEWS: Mention the benchmark framework.
63812         * Rules (bench): Likewise.
63813         (binaries-bench): Generate binaries for functions to
63814         benchmark.
63815         * benchtests/Makefile: New makefile for benchmark tests.
63816         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63817         programs.
63818         * benchtests/exp-inputs: New input file for EXP function.
63819         * benchtests/pow-inputs: New input file for POW function.
63820         * scripts/bench.pl: New script to generate source files for
63821         benchmark programs.
63823 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63825         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63826         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63827         computations on mantissa.  Use macros for rounding and
63828         division.
63829         (denorm): Likewise.
63830         (__dbl_mp): Likewise.
63831         (add_magnitudes): Likewise.
63832         (sub_magnitudes): Likewise.
63833         (__mul): Likewise.
63834         (__sqr): Likewise.
63835         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63836         powers of two in terms of TWOPOW macro.
63837         (mp_no): Make type of mantissa as MANTISSA_T.
63838         [!RADIXI]: Define RADIXI.
63839         [!TWO52]: Define TWO52.
63840         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63842         * manual/nptl.texi (cindex): Modify threads to pthreads.
63844 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63846         * sysdeps/x86_64/preconfigure: Regenerated.
63848 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63850         [BZ #14155]
63851         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63852         0x1p28 and above.
63853         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63854         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63855         0x1p28 and above.
63856         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63857         * math/libm-test.inc (j0_test): Do not allow one spurious
63858         underflow exception.
63859         (y1_test): Likewise.
63861 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63863         * manual/Makefile (chapters): Add nptl.
63864         * manual/debug.texi (Debugging Support): Add link to Threads
63865         chapter.
63866         * manual/nptl.texi: New file.
63868         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63870 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63872         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63873         for non-NULL pointer before the memory validity test. Pointed
63874         out by Holger Brunck <holger.brunck@keymile.com>.
63876 2013-03-13  Andreas Schwab  <schwab@suse.de>
63878         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63879         instead of .os.
63881 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63883         * timezone/zic.c: Update from tzcode 2013b.
63885 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63887         * manual/install.texi (Configuring and compiling):
63888         Mention i686 and i586.
63889         * INSTALL: Regenerate.
63891 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63893         * sysdeps/init_array/elf-init.c: New file.
63894         * csu/elf-init.c
63895         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63896         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63898         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63899         __gmon_start__ as global, but as static with a .preinit_array pointer.
63900         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63901         * sysdeps/init_array/crti.S: New file, empty except for comments.
63902         * sysdeps/init_array/crtn.S: Likewise.
63904 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63906         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63907         definining bcopy.
63908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63909         Remove Prefer_SSE_for_memop.
63910         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63911         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63912         HAS_PREFER_SSE_FOR_MEMOP.
63913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63914         memset-x86-64.
63915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63916         Remove bzero, memset ifunc support.
63917         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63918         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63922 2013-03-11  Andreas Schwab  <schwab@suse.de>
63924         [BZ #15234]
63925         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63926         by SHLIB_COMPAT.
63927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63928         (GLIBC_2.16): Remove pthread_atfork.
63930 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63932         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63933         (ptestcases.h): Likewise.
63935 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63937         * Makeconfig ($(common-objpfx)config.status): Depend on
63938         sysdeps/*/preconfigure{,.in} too.
63940 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63942         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63943         (__free_hook): Use void * instead of __malloc_ptr_t.
63944         (__malloc_hook): Likewise.
63945         (__realloc_hook): Likewise.
63946         (__memalign_hook): Likewise.
63947         (__after_morecore_hook): Likewise.
63948         * malloc/arena.c (save_malloc_hook): Likewise.
63949         (save_free_hook): Likewise.
63950         * malloc/hooks.c (malloc_hook_ini): Likewise.
63951         (realloc_hook_ini): Likewise.
63952         (memalign_hook_ini): Likewise.
63953         * malloc/malloc.c (malloc_hook_ini): Likewise.
63954         (realloc_hook_ini): Likewise.
63955         (memalign_hook_ini): Likewise.
63956         (__free_hook): Likewise.
63957         (__malloc_hook): Likewise.
63958         (__realloc_hook): Likewise.
63959         (__memalign_hook): Likewise.
63960         (__libc_malloc): Likewise.
63961         (__libc_free): Likewise.
63962         (__libc_realloc): Likewise.
63963         (__libc_memalign): Likewise.
63964         (__libc_valloc): Likewise.
63965         (__libc_pvalloc): Likewise.
63966         (__libc_calloc): Likewise.
63967         (__posix_memalign): Likewise.
63968         * malloc/morecore.c (__sbrk): Likewise.
63969         (__default_morecore): Likewise.
63971         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63973         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63974         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63975         __malloc_ptrdiff_t.
63977         * malloc/malloc.h (__malloc_size_t): Remove macro.
63978         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63979         __malloc_size_t.
63980         (old_memalign_hook): Likewise.
63981         (old_realloc_hook): Likewise.
63982         (struct hdr): Likewise.
63983         (flood): Likewise.
63984         (mallochook): Likewise.
63985         (memalignhook): Likewise.
63986         (reallochook): Likewise.
63987         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63988         (tr_old_realloc_hook): Likewise.
63989         (tr_old_memalign_hook): Likewise.
63990         (tr_mallochook): Likewise.
63991         (tr_reallochook): Likewise.
63992         (tr_memalignhook): Likewise.
63994 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63997         default_ldbl_pack and using as default implementation.
63998         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63999         implementation.
64000         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64001         redundant definition.
64002         (ldbl_insert_mantissa): Likewise.
64003         (ldbl_canonicalize): Likewise.
64004         (ldbl_nearbyint): Likewise.
64005         (ldbl_pack): Rename to ldbl_pack_ppc.
64006         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64007         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64008         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64010 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64013         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64014         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64015         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64017         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64018         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64019         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64021 2013-03-07  Andreas Jaeger  <aj@suse.de>
64023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64024         bits/mman-linux.h.
64026 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64028         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64029         Include mpa.h and declare __MPEXP.
64030         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64031         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64032         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64033         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64034         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64035         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64036         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64038         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64039         (__slowpow): Use long double EXPL and LOGL functions to
64040         compute POW.
64041         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64042         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64043         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64044         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64045         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64046         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64049         intermediate variable to calculate exponent.
64050         (__sqr): Likewise.
64051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64052         Likewise.
64053         (__sqr): Likewise.
64055         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64056         [!NO__SQR]: Define __sqr.
64057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64058         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64059         sysdeps/ieee754/dbl-64/mpa.c.
64060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64062         [BZ #12723]
64063         * posix/Makefile (tests): Add tst-pathconf.
64064         * posix/tst-pathconf.c: New test case.
64065         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64066         _PC_PIPE_BUF.
64067         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64069 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64071         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64073 2013-03-06  Andreas Jaeger  <aj@suse.de>
64075         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64076         definition via __MAP_ANONYMOUS.
64078         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64079         it's not part of Linux headers.
64081         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64082         (MAP_HUGE_MASK): Define.
64084         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64085         Define.
64086         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64087         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64088         Define.
64089         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64090         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64091         Define.
64092         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64094         Define.
64095         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64097         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64098         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64099         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64100         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64101         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64102         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64104         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64105         Handle f2fs.
64107         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64108         Handle f2fs and efivarfs.
64110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64111         f2fs.
64113         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64114         (EFIVARFS_MAGIC): Add.
64115         (F2FS_LINK_MAX): Add.
64117 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64119         * stdio-common/vfprintf.c: Replace __builtin_expect with
64120         __glibc_unlikely.
64122 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64124         [BZ #13550]
64125         * sysdeps/generic/bp-sym.h: Remove file.
64126         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64127         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64128         <bp-sym.h> and <bp-asm.h>.
64129         (__longjmp): Don't use BP_SYM.
64130         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64131         and <bp-asm.h>.
64132         (memcpy): Don't use BP_SYM.
64133         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64134         <bp-sym.h> and <bp-asm.h>.
64135         (memcpy): Don't use BP_SYM.
64136         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64137         <bp-asm.h>.
64138         (memcpy): Don't use BP_SYM.
64139         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64140         <bp-asm.h>.
64141         (memset): Don't use BP_SYM.
64142         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64143         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64144         (__bzero): Don't use BP_SYM.
64145         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64146         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64147         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64148         <bp-sym.h> and <bp-asm.h>.
64149         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64150         pointers.
64151         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64152         <bp-sym.h> and <bp-asm.h>.
64153         (memcpy): Don't use BP_SYM.
64154         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64155         <bp-sym.h> and <bp-asm.h>.
64156         (memset): Don't use BP_SYM.
64157         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64158         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64159         (__bzero): Don't use BP_SYM.
64160         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64161         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64163         <bp-sym.h> and <bp-asm.h>.
64164         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64165         pointers.
64166         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64167         <bp-sym.h> and <bp-asm.h>.
64168         (memcpy): Don't use BP_SYM.
64169         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64170         <bp-sym.h> and <bp-asm.h>.
64171         (memset): Don't use BP_SYM.
64172         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64173         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64174         (__bzero): Don't use BP_SYM.
64175         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64176         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64177         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64178         <bp-sym.h> and <bp-asm.h>.
64179         (__memchr): Don't use BP_SYM.
64180         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64181         <bp-sym.h> and <bp-asm.h>.
64182         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64183         pointers.
64184         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64185         <bp-sym.h> and <bp-asm.h>.
64186         (memcpy): Don't use BP_SYM.
64187         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64188         <bp-sym.h> and <bp-asm.h>.
64189         (__mempcpy): Don't use BP_SYM.
64190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64191         <bp-sym.h> and <bp-asm.h>.
64192         (__memrchr): Don't use BP_SYM.
64193         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64194         <bp-sym.h> and <bp-asm.h>.
64195         (memset): Don't use BP_SYM.
64196         (__bzero): Likewise.
64197         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64198         <bp-sym.h> and <bp-asm.h>.
64199         (__rawmemchr): Don't use BP_SYM.
64200         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64201         <bp-sym.h> and <bp-asm.h>.
64202         (__STRCMP): Don't use BP_SYM.
64203         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64204         <bp-sym.h> and <bp-asm.h>.
64205         (strchr): Don't use BP_SYM.
64206         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64207         <bp-sym.h> and <bp-asm.h>.
64208         (__strchrnul): Don't use BP_SYM.
64209         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64210         <bp-sym.h> and <bp-asm.h>.
64211         (strlen): Don't use BP_SYM.
64212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64213         <bp-sym.h> and <bp-asm.h>.
64214         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64215         pointers.
64216         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64217         <bp-sym.h> and <bp-asm.h>.
64218         (__strnlen): Don't use BP_SYM.
64219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64220         <bp-sym.h> and <bp-asm.h>.
64221         (__GI__setjmp): Don't use BP_SYM.
64222         (_setjmp): Likewise.
64223         (__sigsetjmp): Likewise.
64224         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64225         (L(start_addresses)): Don't use BP_SYM.
64226         (_start): Likewise.
64227         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64228         <bp-asm.h>.
64229         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64230         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64231         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64232         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64233         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64234         <bp-asm.h>.
64235         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64236         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64237         about bounded pointers.
64238         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64239         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64240         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64241         <bp-asm.h>.
64242         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64243         about bounded pointers.  Remove GKM FIXME comments.
64244         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64245         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64246         <bp-asm.h>.
64247         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64248         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64249         Remove GKM FIXME comments.
64250         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64251         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64252         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64253         <bp-asm.h>.
64254         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64255         about bounded pointers.  Remove GKM FIXME comment.
64256         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64257         and <bp-asm.h>.
64258         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64259         pointers.
64260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64261         <bp-sym.h> and <bp-asm.h>.
64262         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64264         <bp-sym.h> and <bp-asm.h>.
64265         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64266         comment.
64268 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64270         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64271         call free(NULL).
64273 2013-03-05  David S. Miller  <davem@davemloft.net>
64275         * po/es.po: Update from translation team.
64277 2013-03-05  Andreas Jaeger  <aj@suse.de>
64279         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64280         <bits/mman-linux.h>.
64281         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64282         is fine.
64283         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64284         <bits/mman-linux.h> to end of file.
64285         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64286         is fine.
64287         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64288         <bits/mman-linux.h> to end of file.
64289         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64290         is fine.
64291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64292         <bits/mman-linux.h> to end of file.
64294         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64295         (MCL_CURRENT, MCL_FUTURE): Define here.
64297 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64299         [BZ #15232]
64300         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64301         attribute_hidden.
64302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64304 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64306         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64307         fourth parameter needed for rt_sigprocmask syscall.
64308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64309         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64310         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64312         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64313         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64315 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64317         [BZ #13550]
64318         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64319         comment about bounded pointers.
64320         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64321         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64323 2013-03-04  Andreas Jaeger  <aj@suse.de>
64325         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64326         common definitions.
64328         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64329         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64330         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64331         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64332         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64333         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64335 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64337         [BZ #15055]
64338         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64339         __ieee754_sqrl instead of __sqrl.
64341 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64343         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64344         * sysdeps/powerpc/fpu_control.h: ... here.
64345         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64346         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64347         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64348         * sysdeps/powerpc/bits/mathinline.h: ... here.
64350 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64352         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64353         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64354         to just [NEED_DL_SYSINFO_DSO].
64355         * elf/dl-support.c: Likewise.
64356         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64357         * elf/rtld.c (dl_main): Likewise.
64358         * elf/setup-vdso.h (setup_vdso): Likewise.
64359         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64360         * sysdeps/unix/sysv/linux/dl-sysdep.c
64361         (_dl_discover_osversion): Likewise.
64363 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64365         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64366         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64368 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64370         * NEWS: Mention libm performance improvements and non-x86 PI
64371         futex support.
64373         * csu/libc-start.c (__pthread_initialize_minimal): Change
64374         function arguments.
64375         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64377 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64379         [BZ #13550]
64380         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64381         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64382         <bp-sym.h> and <bp-asm.h>.
64383         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64384         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64385         and <bp-asm.h>.
64386         (memcpy): Don't use BP_SYM.
64387         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64388         <bp-asm.h>.
64389         (__mpn_add_n): Don't use BP_SYM.
64390         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64391         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64392         and <bp-asm.h>.
64393         (__mpn_addmul_1): Don't use BP_SYM.
64394         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64395         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64396         <bp-sym.h>.
64397         (_setjmp): Don't use BP_SYM.
64398         (__novmx_setjmp): Likewise.
64399         (__GI__setjmp): Likewise.
64400         (__vmx_setjmp): Likewise.
64401         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64402         <bp-sym.h>.
64403         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64404         (__bzero): Don't use BP_SYM.
64405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64407         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64408         <bp-sym.h> and <bp-asm.h>.
64409         (memcpy): Don't use BP_SYM.
64410         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64411         <bp-sym.h> and <bp-asm.h>.
64412         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64413         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64414         <bp-sym.h> and <bp-asm.h>.
64415         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64416         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64417         <bp-asm.h>.
64418         (__mpn_lshift): Don't use BP_SYM.
64419         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64420         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64421         <bp-asm.h>.
64422         (memset): Don't use BP_SYM.
64423         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64424         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64425         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64426         <bp-asm.h>.
64427         (__mpn_mul_1): Don't use BP_SYM.
64428         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64430         <bp-sym.h> and <bp-asm.h>.
64431         (memcmp): Don't use BP_SYM.
64432         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64433         <bp-sym.h> and <bp-asm.h>.
64434         (memcpy): Don't use BP_SYM.
64435         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64436         <bp-sym.h> and <bp-asm.h>.
64437         (memset): Don't use BP_SYM.
64438         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64439         <bp-sym.h> and <bp-asm.h>.
64440         (strncmp): Don't use BP_SYM.
64441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64442         <bp-sym.h> and <bp-asm.h>.
64443         (memcpy): Don't use BP_SYM.
64444         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64445         <bp-sym.h> and <bp-asm.h>.
64446         (memset): Don't use BP_SYM.
64447         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64448         <bp-sym.h> and <bp-asm.h>.
64449         (__memchr): Don't use BP_SYM.
64450         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64451         <bp-sym.h> and <bp-asm.h>.
64452         (memcmp): Don't use BP_SYM.
64453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64454         <bp-sym.h> and <bp-asm.h>.
64455         (memcpy): Don't use BP_SYM.
64456         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64457         <bp-sym.h> and <bp-asm.h>.
64458         (__mempcpy): Don't use BP_SYM.
64459         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64460         <bp-sym.h> and <bp-asm.h>.
64461         (__memrchr): Don't use BP_SYM.
64462         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64463         <bp-sym.h> and <bp-asm.h>.
64464         (memset): Don't use BP_SYM.
64465         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64466         <bp-sym.h> and <bp-asm.h>.
64467         (__rawmemchr): Don't use BP_SYM.
64468         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64469         <bp-sym.h> and <bp-asm.h>.
64470         (__STRCMP): Don't use BP_SYM.
64471         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64472         <bp-sym.h> and <bp-asm.h>.
64473         (strchr): Don't use BP_SYM.
64474         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64475         <bp-sym.h> and <bp-asm.h>.
64476         (__strchrnul): Don't use BP_SYM.
64477         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64478         <bp-sym.h> and <bp-asm.h>.
64479         (strlen): Don't use BP_SYM.
64480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64481         <bp-sym.h> and <bp-asm.h>.
64482         (strncmp): Don't use BP_SYM.
64483         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64484         <bp-sym.h> and <bp-asm.h>.
64485         (__strnlen): Don't use BP_SYM.
64486         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64487         <bp-asm.h>.
64488         (__mpn_rshift): Don't use BP_SYM.
64489         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64490         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64491         <bp-sym.h> and <bp-asm.h>.
64492         (__sigsetjmp): Don't use BP_SYM.
64493         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64494         (L(start_addresses)): Don't use BP_SYM.
64495         (_start): Likewise.
64496         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64497         <bp-asm.h>.
64498         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64499         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64500         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64501         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64502         <bp-asm.h>.
64503         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64504         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64505         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64506         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64507         <bp-asm.h>.
64508         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64509         comments.
64510         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64511         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64512         <bp-asm.h>.
64513         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64514         FIXME comments.
64515         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64516         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64517         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64518         <bp-asm.h>.
64519         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64520         comment.
64521         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64522         and <bp-asm.h>.
64523         (strncmp): Don't use BP_SYM,
64524         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64525         <bp-asm.h>.
64526         (__mpn_sub_n): Don't use BP_SYM.
64527         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64528         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64529         and <bp-asm.h>.
64530         (__mpn_submul_1): Don't use BP_SYM.
64531         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64533         <bp-sym.h> and <bp-asm.h>.
64534         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64536         <bp-sym.h> and <bp-asm.h>.
64537         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64538         comment.
64540 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64543         Use ZK to minimize writes to Z.
64544         (sub_magnitudes): Simplify code a bit.
64545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64546         Use ZK to minimize writes to Z.
64547         (sub_magnitudes): Simplify code a bit.
64549 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64551         * csu/gmon-start.c: Add special exception to license text.
64553 2013-02-27  Richard Henderson  <rth@redhat.com>
64555         * scripts/config.guess: Update from config.git.
64556         * scripts/config.sub: Likewise.
64558 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64562         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64564         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64566         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64568         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64570 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64572         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64573         [$(build-shared = yes].
64575 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64577         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64578         (__mul): Reduce iterations for calculating mantissa.
64580         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64581         MPTWO.
64582         (__mpranred): Likewise.
64584         [BZ #15160]
64585         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64586         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64588 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64590         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64591         Define __attribute__.
64593 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64595         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64596         unused.
64597         * posix/regex_internal.h (__attribute): Remove.
64598         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64599         (re_string_context_at): Likewise.
64600         (bitset_not): Use __attribute__ and mark function as possibly
64601         unused.
64602         (bitset_merge): Likewise.
64603         (bitset_mask): Likewise.
64604         (re_string_char_size_at): Likewise.
64605         (re_string_wchar_at): Likewise.
64606         (re_string_elem_size_at): Likewise.
64608 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64610         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64611         code.
64612         (cc32): Likewise.
64614         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64615         (__acr): Likewise.
64616         (__cpy): Likewise.
64617         (norm): Likewise.
64618         (denorm): Likewise.
64619         (__dbl_mp): Likewise.
64620         (add_magnitudes): Likewise.
64621         (sub_magnitudes): Likewise.
64622         (__mul): Likewise.
64623         (__inv): Likewise.
64625         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64626         style.
64628         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64629         style.
64631         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64632         code.
64634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64635         up changes with default code.
64636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64637         Likewise.
64639 2013-02-24  Allan McRae  <allan@archlinux.org>
64641         * manual/socket.texi (The Internet Namespace): Order menu items
64642         to match that in the file.
64644         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64645         node listing of the info page menu.
64647 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64649         [BZ #13550]
64650         * sysdeps/i386/bp-asm.h: Remove file.
64651         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64652         (PARMS): Do not use macros from bp-asm.h.
64653         (S1): Likewise.
64654         (S2): Likewise.
64655         (SIZE): Likewise.
64656         (__mpn_add_n): Do not use BP_SYM
64657         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64658         "bp-asm.h".
64659         (PARMS): Do not use macros from bp-asm.h.
64660         (S1): Likewise.
64661         (SIZE): Likewise.
64662         (__mpn_addmul_1): Do not use BP_SYM
64663         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64664         "bp-asm.h".
64665         (PARMS): Do not use macros from bp-asm.h.
64666         (SIGMSK): Likewise.
64667         (_setjmp): Likewise.  Do not use BP_SYM.
64668         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64669         "bp-asm.h".
64670         (PARMS): Do not use macros from bp-asm.h.
64671         (SIGMSK): Likewise.
64672         (setjmp): Likewise.  Do not use BP_SYM.
64673         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64674         "bp-asm.h".
64675         (PARMS): Do not use macros from bp-asm.h.
64676         (__frexp): Do not use BP_SYM.
64677         (frexp): Likewise.
64678         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64679         "bp-asm.h".
64680         (PARMS): Do not use macros from bp-asm.h.
64681         (__frexpf): Do not use BP_SYM.
64682         (frexpf): Likewise.
64683         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64684         "bp-asm.h".
64685         (PARMS): Do not use macros from bp-asm.h.
64686         (__frexpl): Do not use BP_SYM.
64687         (frexpl): Likewise.
64688         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64689         "bp-asm.h".
64690         (PARMS): Do not use macros from bp-asm.h.
64691         (__remquo): Do not use BP_SYM.
64692         (remquo): Likewise.
64693         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64694         "bp-asm.h".
64695         (PARMS): Do not use macros from bp-asm.h.
64696         (__remquof): Do not use BP_SYM.
64697         (remquof): Likewise.
64698         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64699         "bp-asm.h".
64700         (PARMS): Do not use macros from bp-asm.h.
64701         (__remquol): Do not use BP_SYM.
64702         (remquol): Likewise.
64703         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64704         "bp-asm.h".
64705         (PARMS): Do not use macros from bp-asm.h.
64706         (DEST): Likewise.
64707         (SRC): Likewise.
64708         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64709         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64710         "bp-asm.h".
64711         (PARMS): Do not use macros from bp-asm.h.
64712         (strlen): Do not use BP_SYM.
64713         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64714         "bp-asm.h".
64715         (PARMS): Do not use macros from bp-asm.h.
64716         (S1): Likewise.
64717         (S2): Likewise.
64718         (SIZE): Likewise.
64719         (__mpn_add_n): Do not use BP_SYM.
64720         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64721         "bp-asm.h".
64722         (PARMS): Do not use macros from bp-asm.h.
64723         (S1): Likewise.
64724         (SIZE): Likewise.
64725         (__mpn_addmul_1): Do not use BP_SYM.
64726         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64727         weak_alias.
64728         (bzero): Likewise.
64729         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64730         "bp-asm.h".
64731         (PARMS): Do not use macros from bp-asm.h.
64732         (S): Likewise.
64733         (SIZE): Likewise.
64734         (__mpn_lshift): Do not use BP_SYM.
64735         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64736         "bp-asm.h".
64737         (PARMS): Do not use macros from bp-asm.h.
64738         (DEST): Likewise.
64739         (SRC): Likewise.
64740         (LEN): Likewise.
64741         (memcpy): Likewise.  Do not use BP_SYM.
64742         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64743         libc_hidden_def and weak_alias.
64744         (mempcpy): Do not use BP_SYM in weak_alias.
64745         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64746         "bp-asm.h".
64747         (PARMS): Do not use macros from bp-asm.h.
64748         (DEST): Likewise.
64749         (LEN): Likewise.
64750         [!BZERO_P] (CHR): Likewise.
64751         (memset): Likewise.  Do not use BP_SYM.
64752         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64753         "bp-asm.h".
64754         (PARMS): Do not use macros from bp-asm.h.
64755         (S1): Likewise.
64756         (SIZE): Likewise.
64757         (__mpn_mul_1): Do not use BP_SYM.
64758         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64759         "bp-asm.h".
64760         (PARMS): Do not use macros from bp-asm.h.
64761         (S): Likewise.
64762         (SIZE): Likewise.
64763         (__mpn_rshift): Do not use BP_SYM.
64764         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64765         "bp-asm.h".
64766         (PARMS): Do not use macros from bp-asm.h.
64767         (STR): Likewise.
64768         (CHR): Likewise.
64769         (strchr): Likewise.  Do not use BP_SYM.
64770         (index): Do not use BP_SYM in weak_alias.
64771         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64772         "bp-asm.h".
64773         (PARMS): Do not use macros from bp-asm.h.
64774         (DEST): Likewise.
64775         (SRC): Likewise.
64776         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64777         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64778         "bp-asm.h".
64779         (PARMS): Do not use macros from bp-asm.h.
64780         (strlen): Do not use BP_SYM.
64781         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64782         "bp-asm.h".
64783         (PARMS): Do not use macros from bp-asm.h.
64784         (S1): Likewise.
64785         (S2): Likewise.
64786         (SIZE): Likewise.
64787         (__mpn_sub_n): Do not use BP_SYM.
64788         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64789         "bp-asm.h".
64790         (PARMS): Do not use macros from bp-asm.h.
64791         (S1): Likewise.
64792         (SIZE): Likewise.
64793         (__mpn_submul_1): Do not use BP_SYM.
64794         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64795         "bp-asm.h".
64796         (PARMS): Do not use macros from bp-asm.h.
64797         (S1): Likewise.
64798         (S2): Likewise.
64799         (SIZE): Likewise.
64800         (__mpn_add_n): Do not use BP_SYM.
64801         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64802         weak_alias.
64803         (bzero): Likewise.
64804         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64805         "bp-asm.h".
64806         (PARMS): Do not use macros from bp-asm.h.
64807         (BLK2): Likewise.
64808         (LEN): Likewise.
64809         (memcmp): Do not use BP_SYM.
64810         (bcmp): Do not use BP_SYM in weak_alias.
64811         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64812         "bp-asm.h".
64813         (PARMS): Do not use macros from bp-asm.h.
64814         (DEST): Likewise.
64815         (SRC): Likewise.
64816         (LEN): Likewise.
64817         (memcpy): Likewise.  Do not use BP_SYM.
64818         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64819         "bp-asm.h".
64820         (PARMS): Do not use macros from bp-asm.h.
64821         (DEST): Likewise.
64822         (SRC): Likewise.
64823         (LEN): Likewise.
64824         (memmove): Likewise.  Do not use BP_SYM.
64825         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64826         "bp-asm.h".
64827         (PARMS): Do not use macros from bp-asm.h.
64828         (DEST): Likewise.
64829         (SRC): Likewise.
64830         (LEN): Likewise.
64831         (__mempcpy): Likewise.  Do not use BP_SYM.
64832         (mempcpy): Do not use BP_SYM in weak_alias.
64833         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64834         "bp-asm.h".
64835         (PARMS): Do not use macros from bp-asm.h.
64836         (DEST): Likewise.
64837         (LEN): Likewise.
64838         [!BZERO_P] (CHR): Likewise.
64839         (memset): Likewise.  Do not use BP_SYM.
64840         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64841         "bp-asm.h".
64842         (PARMS): Do not use macros from bp-asm.h.
64843         (STR2): Likewise.
64844         (strcmp): Do not use BP_SYM.
64845         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64846         "bp-asm.h".
64847         (PARMS): Do not use macros from bp-asm.h.
64848         (STR): Likewise.
64849         (DELIM): Likewise.
64850         [USE_AS_STRTOK_R] (SAVE): Likewise.
64851         (FUNCTION): Likewise.  Do not use BP_SYM.
64852         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64853         aliases.
64854         (strtok_r): Likewise.
64855         (__GI___strtok_r): Likewise.
64856         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64857         (PARMS): Do not use macros from bp-asm.h.
64858         (S): Likewise.
64859         (SIZE): Likewise.
64860         (__mpn_lshift): Do not use BP_SYM.
64861         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64862         (PARMS): Do not use macros from bp-asm.h.
64863         (STR): Likewise.
64864         (CHR): Likewise.
64865         (__memchr): Do not use BP_SYM.
64866         (memchr): Do not use BP_SYM in weak_alias.
64867         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64868         (PARMS): Do not use macros from bp-asm.h.
64869         (BLK2): Likewise.
64870         (LEN): Likewise.
64871         (memcmp): Do not use BP_SYM.
64872         (bcmp): Do not use BP_SYM in weak_alias.
64873         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64874         (PARMS): Do not use macros from bp-asm.h.
64875         (S1): Likewise.
64876         (SIZE): Likewise.
64877         (__mpn_mul_1): Do not use BP_SYM.
64878         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64879         "bp-asm.h".
64880         (PARMS): Do not use macros from bp-asm.h.
64881         (STR): Likewise.
64882         (CHR): Likewise.
64883         (__rawmemchr): Do not use BP_SYM.
64884         (rawmemchr): Do not use BP_SYM in weak_alias.
64885         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64886         (PARMS): Do not use macros from bp-asm.h.
64887         (S): Likewise.
64888         (SIZE): Likewise.
64889         (__mpn_rshift): Do not use BP_SYM.
64890         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64891         (PARMS): Do not use macros from bp-asm.h.
64892         (SIGMSK): Likewise.
64893         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64894         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64895         (_start): Do not use BP_SYM.
64896         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64897         (PARMS): Do not use macros from bp-asm.h.
64898         (DEST): Likewise.
64899         (SRC): Likewise.
64900         (__stpcpy): Likewise.  Do not use BP_SYM.
64901         (stpcpy): Do not use BP_SYM in weak_alias.
64902         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64903         "bp-asm.h".
64904         (PARMS): Do not use macros from bp-asm.h.
64905         (DEST): Likewise.
64906         (SRC): Likewise.
64907         (LEN): Likewise.
64908         (__stpncpy): Likewise.  Do not use BP_SYM.
64909         (stpncpy): Do not use BP_SYM in weak_alias.
64910         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64911         (PARMS): Do not use macros from bp-asm.h.
64912         (STR): Likewise.
64913         (CHR): Likewise.
64914         (strchr): Likewise.  Do not use BP_SYM.
64915         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64916         "bp-asm.h".
64917         (PARMS): Do not use macros from bp-asm.h.
64918         (STR): Likewise.
64919         (CHR): Likewise.
64920         (__strchrnul): Likewise.  Do not use BP_SYM.
64921         (strchrnul): Do not use BP_SYM in weak_alias.
64922         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64923         "bp-asm.h".
64924         (PARMS): Do not use macros from bp-asm.h.
64925         (STOP): Likewise.
64926         (strcspn): Do not use BP_SYM.
64927         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64928         "bp-asm.h".
64929         (PARMS): Do not use macros from bp-asm.h.
64930         (STR): Likewise.
64931         (STOP): Likewise.
64932         (strpbrk): Likewise.  Do not use BP_SYM.
64933         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64934         "bp-asm.h".
64935         (PARMS): Do not use macros from bp-asm.h.
64936         (STR): Likewise.
64937         (CHR): Likewise.
64938         (strrchr): Likewise.  Do not use BP_SYM.
64939         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64940         (PARMS): Do not use macros from bp-asm.h.
64941         (SKIP): Likewise.
64942         (strspn): Do not use BP_SYM.
64943         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64944         (PARMS): Do not use macros from bp-asm.h.
64945         (STR): Likewise.
64946         (DELIM): Likewise.
64947         (SAVE): Likewise.
64948         (FUNCTION): Likewise.  Do not use BP_SYM.
64949         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64950         aliases.
64951         (strtok_r): Likewise.
64952         (__GI___strtok_r): Likewise.
64953         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64954         (PARMS): Do not use macros from bp-asm.h.
64955         (S1): Likewise.
64956         (S2): Likewise.
64957         (SIZE): Likewise.
64958         (__mpn_sub_n): Do not use BP_SYM.
64959         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64960         "bp-asm.h".
64961         (PARMS): Do not use macros from bp-asm.h.
64962         (S1): Likewise.
64963         (SIZE): Likewise.
64964         (__mpn_submul_1): Do not use BP_SYM.
64965         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64966         <bp-sym.h>.
64967         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64968         and <bp-asm.h>.
64969         (PARMS): Do not use macros from bp-asm.h.
64970         (FLAGS): Likewise.
64971         (PTID): Likewise.
64972         (TLS): Likewise.
64973         (CTID): Likewise.
64974         (__clone): Do not use BP_SYM.
64975         (clone): Do not use BP_SYM in weak_alias.
64976         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64977         and <bp-asm.h>.
64978         (PARMS): Do not use macros from bp-asm.h.
64979         (LEN): Likewise.
64980         (__mmap64): Do not use BP_SYM.
64981         (mmap64): Do not use BP_SYM in weak_alias.
64982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64983         <bp-sym.h> and <bp-asm.h>.
64984         (PARMS): Do not use macros from bp-asm.h.
64985         (__posix_fadvise64_l64): Do not use BP_SYM.
64986         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64987         (PARMS): Do not use macros from bp-asm.h.
64988         (NSOPS): Likewise.
64989         (semtimedop): Do not use BP_SYM.
64990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64991         and <bp-asm.h>.
64993 2013-02-21  Allan McRae  <allan@archlinux.org>
64995         * manual/message.texi (Charset conversion in gettext):
64996         Move @end statement to beginning of line.
64998 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65001         static.
65002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65003         Likewise.
65005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65006         (denorm): Likewise.
65007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65010 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65012         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65013         tail-call to the resolved function if pltexit isn't needed.
65015 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65018         or Y being zero as being unlikely.
65019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65020         Likewise.
65022 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65024         * manual/nss.texi (System Databases and Name Service Switch):
65025         Remove frobnicate @pxref.
65027 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65029         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65030         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65032 2013-02-20  Petr Machata  <pmachata@redhat.com>
65034         * elf/elf.h (R_ARM_TARGET1): New macro.
65035         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65036         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65037         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65038         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65039         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65040         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65041         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65042         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65043         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65044         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65045         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65046         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65047         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65048         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65049         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65050         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65051         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65052         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65053         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65054         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65055         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65056         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65057         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65058         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65059         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65060         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65061         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65062         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65063         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65064         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65065         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65066         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65067         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65068         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65069         (R_ARM_THM_GOT_BREL12): Likewise.
65070         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65071         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65072         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65073         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65074         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65075         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65076         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65077         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65078         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65080 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65082         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65083         __attribute_used__ to __attribute__ ((unused)).
65085 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65087         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65088         powerpc mpa.c.
65089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65090         comment formatting.
65091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65093 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65095         [BZ #13550]
65096         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65097         Remove macro.
65098         (ENTER): Remove both macro definitions.
65099         (LEAVE): Likewise.
65100         (CHECK_BOUNDS_LOW): Likewise.
65101         (CHECK_BOUNDS_HIGH): Likewise.
65102         (CHECK_BOUNDS_BOTH): Likewise.
65103         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65104         (RETURN_BOUNDED_POINTER): Likewise.
65105         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65106         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65107         (POP_ERRNO_LOCATION_RETURN): Likewise.
65108         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65109         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65110         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65111         macros.
65112         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65113         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65114         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65115         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65116         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65117         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65118         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65119         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65120         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65121         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65122         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65123         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65124         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65125         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65126         removed macros.
65127         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65128         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65129         macros.
65130         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65131         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65132         * sysdeps/i386/i586/memset.S (memset): Likewise.
65133         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65134         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65135         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65136         macros.
65137         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65138         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65139         Change uses of L(2) to L(out).
65140         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65141         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65142         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65143         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65144         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65145         removed macros.
65146         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65147         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65148         macros.
65149         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65150         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65151         (RETURN): Do not use macro LEAVE.
65152         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65153         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65154         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65155         * sysdeps/i386/i686/memset.S (memset): Likewise.
65156         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65157         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65158         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65159         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65160         Likewise.
65161         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65162         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65163         L(1_2) and L(1_3) into L(1).
65164         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65165         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65166         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65167         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65168         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65169         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65170         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65171         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65172         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65173         macros.
65174         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65175         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65176         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65177         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65178         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65179         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65180         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65181         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65182         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65183         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65184         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65185         * sysdeps/i386/strspn.S (strspn): Likewise.
65186         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65187         conditional code.
65188         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65189         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65190         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65191         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65192         L(1_3) into L(1_1).
65193         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65194         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65195         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65196         macros.
65197         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65199 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65201         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65202         macro.
65204 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65206         * math/atest-exp.c (exp_mpn): Remove ROUND.
65207         * math/atest-exp2.c (exp_mpn): Likewise.
65208         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65210         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65211         * stdlib/tst-tls-atexit-lib.c: Likewise.
65212         * stdlib/tst-tls-atexit.c: Likewise.
65214 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65216         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65217         and __attribute_alloc_size__.
65219 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65221         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65222         __attribute_alloc_size__.
65223         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65224         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65226 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65228         * include/programs/xmalloc.h: New file.
65229         * catgets/gencat.c: Include it.
65230         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65231         * elf/pldd.c: Likewise.
65232         * iconv/iconv_charmap.c: Likewise.
65233         * iconv/iconvconfig.c: Likewise.
65234         * iconv/strtab.c: Likewise.
65235         * locale/programs/locale.c: Likewise.
65236         * locale/programs/localedef.h: Likewise.
65237         * locale/programs/simple-hash.c: Likewise.
65238         * nscd/nscd.h: Likewise.
65239         * nss/makedb.c: Likewise.
65240         * sysdeps/generic/ldconfig.h: Likewise.
65242 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65244         * Versions.def: Add GLIBC_2.18.
65245         * include/link.h (struct link_map): New member l_tls_dtor_count.
65246         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65247         (__call_tls_dtors): Likewise.
65248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65249         __cxa_thread_atexit_impl.
65250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65251         Likewise.
65252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65253         Likewise.
65254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65255         Likewise.
65256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65257         Likewise.
65258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65260         Likewise.
65261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65262         Likewise.
65263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65265         Likewise.
65266         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65267         (tests): Add test case tst-tls-atexit.
65268         (modules-names): Add shared library for tst-tls-atexit.
65269         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65270         (GLIBC_PRIVATE): Add __call_tls_dtors.
65271         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65272         for libstdc++.
65273         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65274         * stdlib/tst-tls-atexit.c: New test case.
65275         * stdlib/tst-tls-atexit-lib.c: New test case.
65277         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65279         * elf/Versions (ld): Add _dl_find_dso_for_object.
65280         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65281         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65282         (dl_open_worker): Use _dl_find_dso_for_object.
65283         * elf/dl-sym.c (do_sym): Likewise.
65284         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65286 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65288         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65289         Syntactic changes only.
65290         (_dl_runtime_profile): Do a tail-call to the resolved function.
65292 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65294         [BZ #13550]
65295         * sysdeps/x86_64/bp-asm.h: Remove file.
65296         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65297         <bp-sym.h> and <bp-asm.h>.
65298         (__clone): Do not use BP_SYM.
65299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65300         <bp-sym.h> and <bp-asm.h>.
65301         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65302         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65303         "bp-asm.h".
65304         (_setjmp): Do not use BP_SYM.
65305         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65306         "bp-asm.h".
65307         (setjmp): Do not use BP_SYM.
65308         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65309         libc_hidden_def.
65310         (mempcpy): Do not use BP_SYM in weak_alias.
65311         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65312         "bp-asm.h".
65313         (strchr): Do not use BP_SYM.
65314         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65315         "bp-asm.h".
65316         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65317         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65318         (_start): Do not use BP_SYM.
65319         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65320         "bp-asm.h".
65321         (strcat): Do not use BP_SYM.
65322         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65323         "bp-asm.h".
65324         (STRCMP): Do not use BP_SYM.
65325         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65326         "bp-asm.h".
65327         (STRCPY): Do not use BP_SYM.
65328         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65329         "bp-asm.h".
65330         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65331         "bp-asm.h".
65332         (FUNCTION): Do not use BP_SYM.
65333         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65334         weak_alias.
65335         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65337 2013-02-17  Andreas Jaeger  <aj@suse.de>
65339         * time/Versions: Sort entries.
65340         * string/Versions: Likewise.
65341         * resolv/Versions: Likewise.
65342         * posix/Versions: Likewise.
65343         * iconv/Versions: Likewise.
65344         * elf/Versions: Likewise.
65345         * wcsmbs/Versions: Likewise.
65347 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65349         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65350         loop termination condition.
65352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65353         variable to calculate EZ.
65354         (__sqr): Likewise.
65356         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65357         the lower precision input.
65359 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65361         [BZ #13550]
65362         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65363         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65364         (run-via-rtld-prefix): Do not handle %-bp tests.
65365         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65366         (all-object-suffixes): Remove .ob.
65367         (bppfx): Remove variable.
65368         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65369         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65370         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65371         [$(build-bounded) = yes] (libtype.ob): Likewise.
65372         * Makerules (elide-routines.ob): Remove variable.
65373         (do-tests-clean): Do not handle *-bp.out.
65374         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65375         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65376         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65377         (tests): Do not include $(tests-bp.out).
65378         (xtests): Do not include $(xtests-bp.out).
65379         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65380         [$(build-bounded) = yes] ($(addprefix
65381         $(objpfx),$(binaries-bounded))): Remove rule.
65382         ($(objpfx)%-bp.out): Remove rule.
65383         * config.make.in (build-bounded): Remove variable.
65384         * crypt/Makefile [$(build-bounded) = yes]
65385         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65386         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65387         append to variable.
65388         [$(build-bounded) = yes] (install-lib): Likewise.
65389         [$(build-bounded) = yes] (generated): Likewise.
65390         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65391         Remove rule.
65392         * intl/Makefile [$(build-bounded) = yes]
65393         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65394         * math/Makefile [$(build-bounded) = yes]
65395         ($(tests:%=$(objpfx)%-bp): Likewise.
65396         * misc/Makefile [$(build-bounded) = yes]
65397         ($(objpfx)tst-tsearch-bp): Likewise.
65398         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65399         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65400         Remove dependency.
65401         * string/Makefile (o-objects.ob): Remove variable.
65402         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65403         (CFLAGS-.ob): Remove variable.
65404         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65405         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65406         both definitions of variable.
65407         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65408         (ASFLAGS-.ob): Remove variable.
65410 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65412         [BZ #13550]
65413         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65414         Remove __BOUNDED_POINTERS__ from condition.
65415         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65416         * string/bits/string2.h [!__NO_STRING_INLINES &&
65417         !__BOUNDED_POINTERS__]: Likewise.
65418         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65419         Likewise.
65420         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65421         Remove conditional code.
65422         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65423         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65424         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65425         condition.
65427         [BZ #13550]
65428         * csu/libc-start.c: Do not include <bp-sym.h>.
65429         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65430         * elf/dl-open.c: Do not include <bp-sym.h>.
65431         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65432         * math/fegetenv.c: Do not include <bp-sym.h>.
65433         (fegetenv): Do not use BP_SYM in versioned symbols.
65434         * nptl/sysdeps/pthread/bits/libc-lockP.h
65435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65436         <bp-sym.h>.
65437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65438         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65440         (__pthread_mutex_destroy): Likewise.
65441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65442         (__pthread_mutex_lock): Likewise.
65443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65444         (__pthread_mutex_trylock): Likewise.
65445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65446         (__pthread_mutex_unlock): Likewise.
65447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65448         (__pthread_mutexattr_init): Likewise.
65449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65450         (__pthread_mutexattr_destroy): Likewise.
65451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65452         (__pthread_mutexattr_settype): Likewise.
65453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65454         (__pthread_rwlock_init): Likewise.
65455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65456         (__pthread_rwlock_destroy): Likewise.
65457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65458         (__pthread_rwlock_rdlock): Likewise.
65459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65460         (__pthread_rwlock_tryrdlock): Likewise.
65461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65462         (__pthread_rwlock_wrlock): Likewise.
65463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65464         (__pthread_rwlock_trywrlock): Likewise.
65465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65466         (__pthread_rwlock_unlock): Likewise.
65467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65468         (__pthread_key_create): Likewise.
65469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65470         (__pthread_setspecific): Likewise.
65471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65472         (__pthread_getspecific): Likewise.
65473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65474         Likewise.
65475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65476         (_pthread_cleanup_push_defer): Likewise.
65477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65478         (_pthread_cleanup_pop_restore): Likewise.
65479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65480         (pthread_setcancelstate): Likewise.
65481         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65482         <bp-sym.h>.
65483         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65484         (memchr): Do not use BP_SYM in weak_alias.
65485         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65486         (fegetenv): Do not use BP_SYM in versioned symbols.
65487         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65488         (fesetenv): Do not use BP_SYM in versioned symbols.
65489         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65490         (feupdateenv): Do not use BP_SYM in versioned symbols.
65491         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65492         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65493         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65494         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65495         (open64): Do not use BP_SYM in weak_alias.
65496         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65497         (fegetenv): Do not use BP_SYM in versioned symbols.
65498         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65499         (fesetenv): Do not use BP_SYM in versioned symbols.
65500         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65501         (feupdateenv): Do not use BP_SYM in versioned symbols.
65502         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65503         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65504         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65505         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65506         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65507         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65509         <bp-sym.h>.
65510         (__libc_start_main): Do not use BP_SYM.
65512 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65515         redundant return line.
65516         (norm): Likewise.
65517         (denorm): Likewise.
65518         (dbl_mp): Likewise.
65519         (sub_magnitudes): Likewise.
65520         (__add): Likewise.
65521         (__sub): Likewise.
65522         (__mul): Likewise.
65523         (__inv): Likewise.
65524         (__dvd): Likewise.
65525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65526         (norm): Likewise.
65527         (denorm): Likewise.
65528         (dbl_mp): Likewise.
65529         (sub_magnitudes): Likewise.
65530         (__add): Likewise.
65531         (__sub): Likewise.
65532         (__mul): Likewise.
65533         (__inv): Likewise.
65534         (__dvd): Likewise.
65536         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65537         instead of __mul.
65538         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65539         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65540         (cc32): Likewise.
65542         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65543         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65545         of __mul for squares.
65546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65547         function
65548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65549         Likewise.
65550         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65551         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65553 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65555         [BZ #13550]
65556         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65557         code.
65558         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65559         prototype or function definition.  Rename ubp_* variables and
65560         parameters.  Remove argv definitions conditional on
65561         [__BOUNDED_POINTERS__].
65562         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65563         * elf/dl-runtime.c (_dl_fixup): Likewise.
65564         * include/set-hooks.h (RUN_HOOK): Likewise.
65565         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65566         definition.
65567         * string/strcpy.c (strcpy): Do not use __unbounded.
65568         * sysdeps/generic/frame.h (struct layout): Likewise.
65569         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65570         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65571         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65572         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65573         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65574         (__backtrace): Likewise.
65575         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65576         use __ptrvalue.
65577         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65578         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65579         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65580         Likewise.
65581         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65582         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65583         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65584         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65585         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65586         Do not use __unbounded.
65587         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65588         Rename __unboundedrlimits parameter to rlimits in prototype.
65589         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65590         Do not use __unbounded.
65591         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65592         not use __ptrvalue.
65593         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65594         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65595         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65596         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65597         __ptrvalue or __unbounded.
65598         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65599         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65600         use __unbounded.
65601         (__new_msgctl): Do not use __ptrvalue.
65602         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65603         __unbounded.
65604         (__libc_msgrcv): Do not use __ptrvalue.
65605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65606         startup_info): Do not use __unbounded.
65607         (__libc_start_main): Likewise.  Rename ubp_* variables and
65608         parameters.  Remove argv definitions conditional on
65609         [__BOUNDED_POINTERS__].
65610         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65611         __ptrvalue.
65612         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65613         use __unbounded.
65614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65615         or __ptrvalue.
65616         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65617         use __unbounded.
65618         (__new_shmctl): Do not use __ptrvalue.
65619         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65620         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65621         Likewise.
65622         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65624         (__libc_sigaction): Likewise.
65625         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65627         Likewise.
65628         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65630 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65632         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65634         * string/mempcpy.c: Implement by calling memcpy.
65636 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65641         evaluation.
65643         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65644         values in the mantissa.
65646         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65647         minimize writes to Z.
65648         (sub_magnitudes): Simplify code a bit.
65650 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65652         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65653         from the message.  The linker prefixes all warnings with that already.
65655 2013-02-12  Andreas Schwab  <schwab@suse.de>
65657         [BZ #15078]
65658         * posix/regexec.c (extend_buffers): Add parameter min_len.
65659         (check_matching): Pass minimum needed length.
65660         (clean_state_log_if_needed): Likewise.
65661         (get_subexp): Likewise.
65662         * posix/Makefile (tests): Add bug-regex34.
65663         (bug-regex34-ENV): Define.
65664         * posix/bug-regex34.c: New file.
65666         [BZ #11561]
65667         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65668         elements compare against the byte sequence of it, not its name.
65669         * posix/Makefile (tests): Add bug-regex35.
65670         (bug-regex35-ENV): Define.
65671         * posix/bug-regex35.c: New file.
65673 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65675         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65676         comment.
65677         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65678         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65679         (CHECK_EOL): Add undef.
65681 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65683         * bits/stdlib-bsearch.h: New file.
65684         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65685         * stdlib/stdlib.h: Likewise.
65687 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65689         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65690         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65691         declaration.
65692         * manual/search.texi (Array Search Function): Add missing const in
65693         lfind prototype.
65694         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65695         declaration to use rlim_t.
65696         (Basic Scheduling Functions): Remove erroneous const from
65697         sched_getparam prototype.  Remove erroneous * from
65698         sched_get_priority_max and sched_get_priority_min prototypes.
65699         (Resource Usage): Fix summary @comment on vtimes to refer to
65700         sys/vtimes.h rather than vtimes.h.
65701         Add missing *s in vtimes prototype.
65702         (Limits on Resources): Fix ulimit prototype to return long int.
65703         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65704         prototypes to use long int rather than double.
65705         (BSD Random): Fix initstate and setstate to use char *, not void *.
65706         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65707         prototype to make second argument 'struct aiocb64 *const[]'.
65708         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65709         (Status of AIO Operations): Remove erroneous const in aio_return and
65710         aio_return64 prototypes.
65711         (Synchronizing I/O): Fix sync prototype to return void.
65712         * manual/startup.texi (Suboptions): Remove an erroneous const in
65713         getsubopt prototype.
65714         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65715         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65716         use size_t rather than int.
65717         (Scanning All Users): Likewise for getpwent_r.
65718         (Setting Groups): Add missing const to setgroups prototype.
65719         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65720         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65721         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65722         'const void *' rather than 'const char *'.
65723         (Host Address Functions): Likewise for inet_ntop.
65724         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65725         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65726         ssize_t for return value.
65727         (Sending Data): Likewise for send, sendto, sendmsg.
65728         (Socket Option Functions): Add a missing const in setsockopt prototype.
65729         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65730         use wchar_t for the argument.
65731         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65732         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65733         take no arguments.
65734         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65735         double/float/long double for second argument.
65736         Fix return types of significand, significandf, significandl.
65737         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65738         argument in fchmod prototype.
65739         (File Owner): Use uid_t and gid_t in fchown prototype.
65740         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65741         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65742         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65743         use 'const struct dirent **' as argument types to CMP function pointer
65744         argument.
65745         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65746         (File Times): Fix summary magic @comment for struct utimbuf and utime
65747         to refer to utime.h, not time.h.
65748         * manual/string.texi (Argz Functions): Add missing const in
65749         argz_extract and argz_next prototypes.
65750         (Finding Tokens in a String): Likewise for basename.
65751         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65752         (Copying and Concatenation): Fix typo in wmemmove prototype.
65753         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65754         (Signal Stack): Remove erroneous const in sigstack prototype.
65755         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65756         prototype.
65757         (Simple Calendar Time): Likewise for stime.
65758         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65759         prototype.
65760         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65761         say sys/sysctl.h instead.
65762         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65763         and vsyslog prototypes.
65765 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65767         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65768         Remove.
65770 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65772         * misc/sys/mman.h: Fix typo in mremap comment.
65774 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65776         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65777         the '\0' terminator.
65779 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65781         [BZ #13550]
65782         * debug/segfault.c: Don't include <bp-checks.h>.
65783         * sysdeps/generic/bp-checks.h: Remove file.
65784         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65785         (__GETDENTS): Don't use CHECK_N.
65786         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65787         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65788         (__getgroups): Don't use CHECK_N.
65789         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65790         (setgroups): Don't use CHECK_N.
65791         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65792         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65793         (__libc_msgrcv): Don't use CHECK_N.
65794         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65795         (__libc_msgsnd): Don't use CHECK_N.
65796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65797         <bp-checks.h>.
65798         (__libc_pread): Don't use CHECK_N.
65799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65800         include <bp-checks.h>.
65801         (__libc_pread64): Don't use CHECK_N.
65802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65803         include <bp-checks.h>.
65804         (__libc_pwrite): Don't use CHECK_N.
65805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65806         include <bp-checks.h>.
65807         (__libc_pwrite64): Don't use CHECK_N.
65808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65809         <bp-checks.h>.
65810         (__libc_pread): Don't use CHECK_N.
65811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65812         include <bp-checks.h>.
65813         (__libc_pread64): Don't use CHECK_N.
65814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65815         include <bp-checks.h>.
65816         (__libc_pwrite): Don't use CHECK_N.
65817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65818         include <bp-checks.h>.
65819         (__libc_pwrite64): Don't use CHECK_N.
65820         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65821         (do_pread): Don't use CHECK_N.
65822         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65823         (do_pread64): Don't use CHECK_N.
65824         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65825         (do_pwrite): Don't use CHECK_N.
65826         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65827         (do_pwrite64): Don't use CHECK_N.
65828         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65829         (__libc_readv): Don't use CHECK_N.
65830         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65831         (semop): Don't use CHECK_N.
65832         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65833         <bp-checks.h>.
65834         (semtimedop): Don't use CHECK_N.
65835         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65836         (__libc_pread): Don't use CHECK_N.
65837         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65838         <bp-checks.h>.
65839         (__libc_pread64): Don't use CHECK_N.
65840         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65841         <bp-checks.h>.
65842         (__libc_pwrite): Don't use CHECK_N.
65843         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65844         <bp-checks.h>.
65845         (__libc_pwrite64): Don't use CHECK_N.
65846         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65847         <bp-checks.h>.
65848         (__libc_msgrcv): Don't use CHECK_N.
65849         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65850         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65851         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65852         (__libc_writev): Don't use CHECK_N.
65854 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65856         * string/strcpy.c: Removed unused variable.
65858         * Makeconfig (+sysdep-includes): Define with := rather than =.
65859         Use an existing include/ subdir of each sysdeps dir before it.
65861 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65863         * nscd/connection.c (register_traced_file): Comment function.
65864         [HAVE_INOTIFY] (union __inev): Define.
65865         [HAVE_INOTIFY] (inotify_check_files): New function.
65866         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65867         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65868         clear_db_cache.
65869         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65871 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65873         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65874         loaded if not already and that a failure is permanent.
65876 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65878         [BZ #15006]
65879         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65880         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65882 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65884         [BZ #13550]
65885         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65886         (CHECK_1_NULL_OK): Likewise.
65887         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65888         (__fxstat): Do not use CHECK_1.
65889         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65890         <bp-checks.h>.
65891         (___fxstat64): Do not use CHECK_1.
65892         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65893         <bp-checks.h>.
65894         (__fxstatat): Do not use CHECK_1.
65895         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65896         <bp-checks.h>.
65897         (__fxstatat64): Do not use CHECK_1.
65898         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65899         <bp-checks.h>.
65900         (__fxstat): Do not use CHECK_1.
65901         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65902         <bp-checks.h>.
65903         (__fxstatat): Do not use CHECK_1.
65904         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65905         <bp-checks.h>.
65906         (__getresgid): Do not use CHECK_1.
65907         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65908         <bp-checks.h>.
65909         (__getresuid): Do not use CHECK_1.
65910         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65911         <bp-checks.h>.
65912         (__lxstat): Do not use CHECK_1.
65913         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65914         <bp-checks.h>.
65915         (__old_msgctl): Do not use CHECK_1.
65916         (__new_msgctl): Likewise.
65917         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65918         <bp-checks.h>.
65919         (__new_setrlimit): Do not use CHECK_1.
65920         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65921         <bp-checks.h>.
65922         (__old_shmctl): Do not use CHECK_1.
65923         (__new_shmctl): Likewise.
65924         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65925         <bp-checks.h>.
65926         (__xstat): Do not use CHECK_1.
65927         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65928         (__lxstat): Do not use CHECK_1.
65929         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65930         <bp-checks.h>.
65931         (___lxstat64): Do not use CHECK_1.
65932         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65933         (__old_msgctl): Do not use CHECK_1.
65934         (__new_msgctl): Likewise.
65935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65936         <bp-checks.h>.
65937         (__gettimeofday): Do not use CHECK_1.
65938         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65939         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65940         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65941         <bp-checks.h>.
65942         (__gettimeofday): Do not use CHECK_1.
65943         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65944         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65945         (__new_shmctl): Do not use CHECK_1.
65946         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65947         <bp-checks.h>.
65948         (do_sigtimedwait): Do not use CHECK_1.
65949         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65950         <bp-checks.h>.
65951         (do_sigwaitinfo): Do not use CHECK_1.
65952         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65953         <bp-checks.h>.
65954         (msgctl): Do not use CHECK_1.
65955         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65956         <bp-checks.h>.
65957         (shmctl): Do not use CHECK_1.
65958         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65959         (ustat): Do not use CHECK_1.
65960         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65961         <bp-checks.h>.
65962         (__fxstat): Do not use CHECK_1.
65963         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65964         <bp-checks.h>.
65965         (__fxstatat): Do not use CHECK_1.
65966         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65967         <bp-checks.h>.
65968         (__lxstat): Do not use CHECK_1.
65969         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65970         <bp-checks.h>.
65971         (__xstat): Do not use CHECK_1.
65972         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65973         (__xstat): Do not use CHECK_1.
65974         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65975         (___xstat64): Do not use CHECK_1.
65977         [BZ #13550]
65978         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65979         definitions.
65980         (CHECK_BOUNDS_HIGH): Likewise.
65981         * string/strcpy.c: Do not include <bp-checks.h>.
65982         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65984 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65986         * nscd/nscd-client.h (__nscd_drop_map_ref):
65987         Add __attribute__ ((unused)).
65988         * nis/nss-nisplus.h (niserr2nss): Likewise.
65990         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65991         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65993         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65994         Remove inline keyword.
65995         * include/rounding-mode.h (round_away): Likewise.
65996         * libio/wfileops.c (adjust_wide_data): Likewise.
65997         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65998         (__m128i_strloadu_tolower): Likewise.
65999         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66000         (__m128i_strloadu_tolower): Likewise.
66001         * time/mktime.c (ydhms_diff): Likewise.
66002         * locale/elem-hash.h (elem_hash): Likewise.
66003         * locale/setlocale.c (setdata): Likewise.
66004         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66005         (re_string_wchar_at): Likewise.
66006         (bitset_not, bitset_merge, bitset_mask): Likewise.
66007         [!(__GNUC__ > 3)] (inline): Remove macro.
66008         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66009         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66010         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66011         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66012         * string/memcmp.c (memcmp_bytes): Likewise.
66013         * locale/programs/locarchive.c (compute_hashval): Likewise.
66014         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66015         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66016         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66017         * nss/getent.c (print_rpc, print_protocols): Likewise.
66018         (print_passwd, print_group, print_aliases): Likewise.
66019         * nis/nss-nisplus.h (niserr2nss): Likewise.
66020         * nscd/connections.c (restart_p): Likewise.
66021         Change return type to bool.
66023 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66025         * Makeconfig (all-Depend-files): Add existing
66026         $(sorted-subdirs:=/Depend) files.
66027         (all-subdirs): Remove nss.
66028         * sysdeps/unix/inet/Subdirs: Add it here instead.
66029         * hesiod/Depend: New file.
66031         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66032         instead of calling alloca.
66034         * io/lseek.c (__lseek): Rename to __libc_lseek.
66035         Define __lseek as an alias.
66037         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66039 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66041         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66042         else clause and remove check for non-standard endianness.
66044 2013-02-04  David S. Miller  <davem@davemloft.net>
66046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66048 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66050         [BZ #13550]
66051         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66052         (__ubp_memchr): Remove prototype.
66053         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66054         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66055         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66056         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66057         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66058         Remove alias.
66059         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66060         (__ubp_memchr): Likewise.
66061         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66062         (__ubp_memchr): Likewise.
66063         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66064         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66065         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66066         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66067         CHECK_STRING.
66068         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66069         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66070         (__getcwd): Do not use CHECK_STRING.
66071         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66072         <bp-checks.h>.
66073         (__real_chown): Do not use CHECK_STRING.
66074         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66075         <bp-checks.h>.
66076         (fchownat): Do not use CHECK_STRING.
66077         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66078         CHECK_STRING.
66079         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66080         <bp-checks.h>.
66081         (__lchown): Do not use CHECK_STRING.
66082         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66083         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66084         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66085         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66087         include <bp-checks.h>.
66088         (truncate64): Do not use CHECK_STRING.
66089         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66090         <bp-checks.h>.
66091         (__real_chown): Do not use CHECK_STRING.
66092         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66093         <bp-checks.h>.
66094         (__lchown): Do not use CHECK_STRING.
66095         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66096         <bp-checks.h>.
66097         (__chown): Do not use CHECK_STRING.
66098         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66099         <bp-checks.h>.
66100         (truncate64): Do not use CHECK_STRING.
66101         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66102         Likewise.
66103         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66104         (__xmknod): Do not use CHECK_STRING.
66105         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66106         <bp-checks.h>.
66107         (__xmknodat): Do not use CHECK_STRING.
66108         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66109         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66111 2013-02-04  Andreas Schwab  <schwab@suse.de>
66113         [BZ #14142]
66114         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66115         * include/netdb.h: Likewise for h_errno.
66116         * elf/tst-stackguard1.c: Include <tls.h>.
66118 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66120         * elf/link.h (struct link_map): Extend the l_addr comment.
66121         * include/link.h (struct link_map): Likewise.
66123 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66125         [BZ #13550]
66126         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66127         (BOUNDED_1): Remove macro.
66128         * debug/backtrace.c: Don't include <bp-checks.h>.
66129         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66130         (__backtrace): Likewise.
66131         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66132         <bp-checks.h>.
66133         (__backtrace): Don't use BOUNDED_1.
66134         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66135         <bp-checks.h>.
66136         (__backtrace): Don't use BOUNDED_1.
66137         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66138         (__backtrace): Don't use BOUNDED_1.
66139         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66140         (shmat): Don't use BOUNDED_N.
66142 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66144         [BZ #13550]
66145         * sysdeps/generic/bp-start.h: Remove file.
66146         * csu/libc-start.c: Don't include <bp-start.h>.
66147         (LIBC_START_MAIN): Set up __environ directly instead of using
66148         INIT_ARGV_and_ENVIRON.
66149         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66150         <bp-start.h>.
66152         [BZ #13550]
66153         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66154         definitions.
66155         (CHECK_FCNTL): Likewise.
66156         (CHECK_N_PAGES): Likewise.
66158         [BZ #13550]
66159         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66160         definitions.
66161         (CHECK_SIGSET_NULL_OK): Likewise.
66162         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66163         <bp-checks.h>.
66164         (sigpending): Don't use CHECK_SIGSET.
66165         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66166         <bp-checks.h>.
66167         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66168         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66169         <bp-checks.h>.
66170         (do_sigsuspend): Don't use CHECK_SIGSET.
66171         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66172         use CHECK_SIGSET.
66173         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66174         (do_sigwait): Don't use CHECK_SIGSET.
66175         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66176         use CHECK_SIGSET.
66177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66178         include <bp-checks.h>.
66179         (sigpending): Don't use CHECK_SIGSET.
66180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66181         include <bp-checks.h>.
66182         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66183         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66184         <bp-checks.h>.
66185         (sigpending): Don't use CHECK_SIGSET.
66186         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66187         <bp-checks.h>.
66188         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66190         [BZ #13550]
66191         * sysdeps/generic/bp-semctl.h: Remove file.
66192         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66193         <bp-checks.h> and <bp-semctl.h>.
66194         (__old_semctl): Don't use CHECK_SEMCTL.
66195         (__new_semctl): Likewise.
66196         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66197         and <bp-semctl.h>.
66198         (__old_semctl): Don't use CHECK_SEMCTL.
66199         (__new_semctl): Likewise.
66200         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66201         <bp-checks.h> and <bp-semctl.h>.
66202         (__old_semctl): Don't use CHECK_SEMCTL.
66203         (__new_semctl): Likewise.
66204         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66205         <bp-checks.h> and <bp-semctl.h>.
66206         (semctl): Don't use CHECK_SEMCTL.
66208         [BZ #13550]
66209         * Makerules (elide-bp-thunks): Remove variable.
66210         (elide-routines.oS): Don't use $(elide-bp-thunks).
66211         (elide-routines.os): Likewise.
66212         (elide-routines.o): Likewise.
66213         (elide-routines.op): Likewise.
66214         (elide-routines.og): Likewise.
66215         (objects): Don't use $(bp-thunks).
66216         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66217         include.
66218         (common-generated): Do not add s-proto-bp.d.
66219         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66220         (int): Likewise.
66221         (typ): Likewise.
66222         Do not generate makefile rules for bounded-pointer thunks.
66223         * sysdeps/generic/bp-thunks.h: Remove file.
66224         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66225         * sysdeps/unix/s-proto-bp.S: Likewise.
66227         [BZ #15062]
66228         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66229         parts of result separately when argument is not close to line from
66230         -i to i and one part of argument is small.
66231         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66232         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66233         * math/libm-test.inc (cacos_test): Add more tests.
66234         (casin_test): Likewise.
66235         (casinh_test): Likewise.
66236         * sysdeps/i386/fpu/libm-test-ulps: Update.
66237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66239 2013-01-31  David S. Miller  <davem@davemloft.net>
66241         * po/de.po: Update from translation team.
66243 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66245         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66247 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66249         * configure.in (_AC_PROG_CC_C89): New definition.
66250         * configure: Regenerate.
66252         * configure.in (AC_PROG_CPP): New definition.
66253         * configure: Regenerate.
66255 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66257         * debug/tst-backtrace.h: New file.
66258         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66259         (ret): Remove variable.
66260         (x): Likewise.
66261         (FAIL): Remove macro.
66262         (NO_INLINE): Likewise.
66263         (fn1): Use match function instead of strstr.
66264         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66265         (ret): Remove variable.
66266         (x): Likewise.
66267         (FAIL): Remove macro.
66268         (NO_INLINE): Likewise.
66269         (fn): Use match function instead of strstr.
66270         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66271         (ret): Remove variable.
66272         (x): Likewise.
66273         (FAIL): Remove macro.
66274         (NO_INLINE): Likewise.
66275         (handle_signal): Use match function instead of strstr.
66276         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66277         (ret): Remove variable.
66278         (x): Likewise.
66279         (FAIL): Remove macro.
66280         (NO_INLINE): Likewise.
66281         (handle_signal): Use match function instead of strstr.
66283 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66285         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66287 2013-01-23  David S. Miller  <davem@davemloft.net>
66289         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66290         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66291         argument of CAS if possible.
66292         * sysdeps/sparc/sparc64/bits/atomic.h
66293         (__arch_compare_and_exchange_val_32_acq): Likewise.
66294         (__arch_compare_and_exchange_val_64_acq): Likewise.
66296 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66298         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66299         * sysdeps/posix/ulimit.c: ... this.
66300         Include <limits.h>.
66301         * sysdeps/unix/bsd/ulimit.c: Remove file.
66303 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66305         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66306         (LDFLAGS-tst-array5): Likewise.
66308 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66310         [BZ #15036]
66311         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66312         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66313         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66314         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66316 2013-01-21  David S. Miller  <davem@davemloft.net>
66318         * sysdeps/sparc/backtrace.c: New file.
66319         * sysdeps/sparc/sparc32/backtrace.h: New file.
66320         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66321         * sysdeps/sparc/sparc64/backtrace.h: New file.
66322         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66323         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66324         -funwind-tables.
66326 2013-01-21  Andreas Schwab  <schwab@suse.de>
66328         [BZ #15020]
66329         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66330         closed its stdout.
66332 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66335         "mpa2.h".
66336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66338 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66339             Mark Mitchell  <mark@codesourcery.com>
66340             Tom de Vries  <tom@codesourcery.com>
66341             Paul Pluzhnikov  <ppluzhnikov@google.com>
66343         * debug/tst-backtrace2.c: New file.
66344         * debug/tst-backtrace3.c: Likewise.
66345         * debug/tst-backtrace4.c: Likewise.
66346         * debug/tst-backtrace5.c: Likewise.
66347         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66348         (CFLAGS-tst-backtrace3.c): Likewise.
66349         (CFLAGS-tst-backtrace4.c): Likewise.
66350         (CFLAGS-tst-backtrace5.c): Likewise.
66351         (LDFLAGS-tst-backtrace2): Likewise.
66352         (LDFLAGS-tst-backtrace3): Likewise.
66353         (LDFLAGS-tst-backtrace4): Likewise.
66354         (LDFLAGS-tst-backtrace5): Likewise.
66355         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66356         tst-backtrace4 and tst-backtrace5.
66358 2013-01-18  Anton Blanchard  <anton@samba.org>
66359             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66361         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66362         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66363         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66364         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66366         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66367         "+r" and remove output regs list as redundant.  Add explicit inline
66368         asm to specify register of return val to work around compiler codegen
66369         bug.  Remove (int) cast on return value.  Add return type parameter to
66370         use in macro so that this macro does not truncate return value for
66371         64-bit values.
66372         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66373         pass to INTERNAL_VSYSCALL_NCS.
66374         (INLINE_VSYSCALL): Add 'long int' as return type to
66375         INTERNAL_VSYSCALL_NCS macro invocation.
66376         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66377         INTERNAL_VSYSCALL_NCS macro invocation.
66378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66380 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66382         [BZ #14496]
66383         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66384         Fix application of SIMD FP exception mask.
66386         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66387         mp_no from a power of two.
66388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66389         __mpexp_twomm1.  Use __pow_mp.
66391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66392         multiplication.
66394 2013-01-17  David S. Miller  <davem@davemloft.net>
66396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66398 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66400         [BZ #15023]
66401         * include/complex.h: Condition contents on [!_COMPLEX_H].
66402         (__kernel_casinhf): New prototype.
66403         (__kernel_casinh): Likewise.
66404         (__kernel_casinhl): Likewise.
66405         * math/Makefile (libm_calls): Add k_casinh.
66406         * math/k_casinh.c: New file.
66407         * math/k_casinhf.c: Likewise.
66408         * math/k_casinhl.c: Likewise.
66409         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66410         finite nonzero arguments.
66411         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66412         finite nonzero arguments.
66413         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66414         finite nonzero arguments.
66415         * math/s_casinh.c: Do not include <float.h>.
66416         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66417         * math/s_casinhf.c: Do not include <float.h>.
66418         (__casinhf): Move code for finite nonzero arguments to
66419         k_casinhf.c.
66420         * math/s_casinhl.c: Do not include <float.h>.
66421         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66422         redefine.
66423         (__casinhl): Move code for finite nonzero arguments to
66424         k_casinhl.c.
66425         * math/libm-test.inc (cacos_test): Add more tests.
66426         * sysdeps/i386/fpu/libm-test-ulps: Update.
66427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66429 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66431         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66432         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66433         [!HAVE_MREMAP]: Remove [defined linux] case.
66434         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66436 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66438         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66440 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66442         * elf/elf.h (R_386_SIZE32): New relocation.
66443         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66444         R_386_SIZE32.
66445         (elf_machine_rela): Likewise.
66446         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66447         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66449 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66451         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66452         (FP_FAST_FMA): Do not define.
66453         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66454         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66455         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66456         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66457         !_SOFT_FLOAT]: Likewise.
66458         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66459         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66460         value.
66461         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66462         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66463         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66464         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66465         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66466         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66467         file.
66469 2013-01-16  Andreas Schwab  <schwab@suse.de>
66471         [BZ #14327]
66472         * include/stdlib.h (__mktemp): Add declaration.
66473         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66474         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66476 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66478         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66479         definitions.
66480         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66481         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66482         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66483         definitions here.
66484         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66485         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66486         definitions.
66487         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66488         and ONE.
66489         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66490         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66491         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66492         definitions.
66493         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66494         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66495         definitions.
66496         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66498         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66500 2013-01-15  David S. Miller  <davem@davemloft.net>
66502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66503         trunc{,f} to libm-sysdep_routes.
66504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66506         file.
66507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66509         file.
66510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66511         file.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66514         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66515         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66516         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66517         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66518         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66519         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66522         nearbyint{,f} to libm-sysdep_routes.
66523         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66525         New file.
66526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66527         file.
66528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66529         New file.
66530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66531         file.
66532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66534         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66535         file.
66536         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66537         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66538         file.
66539         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66540         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66541         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66543         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66544         libc_feholdexcept and libc_fesetenv.
66546 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66548         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66550 2013-01-14  David S. Miller  <davem@davemloft.net>
66552         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66553         (SPARC_ASM_VIS2_IFUNC): Likewise.
66554         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66556         use of 'siam' instruction.
66557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66558         Likewise.
66559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66560         Likewise.
66561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66562         Likewise.
66563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66568         file.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66570         file.
66571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66572         file.
66573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66574         file.
66575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66577         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66578         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66580         new VIS2 routines.
66581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66584         Likewise.
66585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66588         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66590         routines to libm-sysdep_routines.
66591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66594         fdim/fdimf to libm-sysdep_routines.
66595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66596         file.
66597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66599         file.
66600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66603         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66604         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66605         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66606         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66608 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66611         to optimize copies.
66613         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66618         local variable MPTWO.
66619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66620         Likewise.
66622 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66624         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66625         GLOB_NOESCAPE.
66627 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66629         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66631 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66633         * manual/pattern.texi (glob_t): Document gl_flags.
66634         (glob64_t): Likewise.
66636 2013-01-11  David S. Miller  <davem@davemloft.net>
66638         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66639         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66640         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66641         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66642         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66643         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66644         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66645         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66646         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66647         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66648         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66649         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66650         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66652         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66653         sparc V9 rather than using V8 code.
66654         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66655         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66657         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66658         Move to...
66659         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66660         Here.
66662 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66664         [BZ #14941]
66665         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66666         not in the main loop.
66667         * configure: Regenerated.
66669 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66671         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66672         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66673         to just #else.
66674         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66675         [!__GLIBC_HAVE_LONG_LONG] case.
66676         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66677         condition to just #else.
66678         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66679         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66680         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66681         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66682         unconditional.
66683         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66684         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66685         #elif condition to just #else.
66686         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66687         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66688         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66689         #elif condition to just #else.
66691 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66693         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66694         (EF_MIPS_ARCH_64): Fix value.
66695         (EF_MIPS_ARCH_32R2): New.
66696         (EF_MIPS_ARCH_64R2): New.
66698 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66700         * Makeconfig (+link-pie-before-libc): New.
66701         (+link-pie-after-libc): Likewise.
66702         (+link-pie-tests): Likewise.
66703         (+link-pie): Rewritten.
66704         (link-before-libc): Remove $(config-LDFLAGS).
66705         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66706         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66707         (config-LDFLAGS): Renamed to ...
66708         (rtld-LDFLAGS): This.
66709         (rtld-tests-LDFLAGS): New macro.
66710         (link-libc-rpath-link): Likewise.
66711         (link-libc-tests-rpath-link): Likewise.
66712         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66713         (link-libc): Prepand $(link-libc-rpath-link).
66714         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66715         (test-program-prefix): New macro.
66716         (test-via-rtld-prefix): Likewise.
66717         (test-program-cmd): Likewise.
66718         (host-test-program-cmd): Likewise.
66719         * Makefile ($(common-objpfx)testrun.sh): Replace
66720         $(run-program-prefix) with $(test-program-prefix).
66721         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66722         $(rtld-LDFLAGS).
66723         ($(common-objpfx)shlib.lds): Likewise.
66724         (build-module-helper): Likewise.
66725         ($(common-objpfx)format.lds): Likewise.
66726         * Rules (binaries-pie-tests): New.
66727         (binaries-pie-notests): Likewise.
66728         (binaries-pie): Rewritten.
66729         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66730         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66731         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66732         (make-test-out): Replace $(host-built-program-cmd) with
66733         $(host-test-program-cmd).
66734         * config.make.in (build-hardcoded-path-in-tests): New variable.
66735         * configure.in (--enable-hardcoded-path-in-tests): New configure
66736         option.
66737         (hardcoded_path_in_tests): New AC_SUBST.
66738         * configure: Regenerated.
66739         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66740         $(built-program-cmd) with $(test-program-cmd).
66741         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66742         (test_program_cmd): This.
66743         * elf/Makefile ($(objpfx)order.out): Run test with
66744         $(test-program-prefix).
66745         ($(objpfx)order2.out): Likewise.
66746         ($(objpfx)tst-initorder.out): Likewise.
66747         ($(objpfx)tst-initorder2.out): Likewise.
66748         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66749         $(test-program-cmd).
66750         ($(objpfx)tst-array1-static.out): Likewise.
66751         ($(objpfx)tst-array2.out): Likewise.
66752         ($(objpfx)tst-array3.out): Likewise.
66753         ($(objpfx)tst-array4.out): Likewise.
66754         ($(objpfx)tst-array5.out): Likewise.
66755         ($(objpfx)tst-array5-static.out): Likewise.
66756         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66757         $(test-program-cmd).
66758         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66759         $(run-program-prefix) with $(test-program-prefix).
66760         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66761         (test_program_prefix): This.
66762         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66763         $(run-program-prefix) with $(test-program-prefix).
66764         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66765         (test_program_prefix): This.
66766         * iconvdata/tst-tables.sh: Likewise.
66767         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66768         $(run-program-prefix) with $(test-program-prefix).
66769         ($(objpfx)tst-translit.out): Likewise.
66770         ($(objpfx)tst-gettext2.out): Likewise.
66771         ($(objpfx)tst-gettext4.out): Likewise.
66772         ($(objpfx)tst-gettext6.out): Likewise.
66773         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66774         (test_program_prefix): This.
66775         * intl/tst-gettext2.sh: Likewise.
66776         * intl/tst-gettext4.sh  Likewise.
66777         * intl/tst-gettext6.sh: Likewise.
66778         * intl/tst-translit.sh: Likewise.
66779         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66780         with $(test-program-cmd).
66781         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66782         $(run-program-prefix) with $(test-program-prefix).
66783         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66784         (test_program_prefix): This.
66785         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66786         $(run-program-prefix) with $(test-program-prefix).
66787         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66788         (test_program_prefix): This.
66789         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66790         * posix/Makefile ($(objpfx)globtest.out): Replace
66791         $(run-via-rtld-prefix) and $(test-wrapper) with
66792         $(test-program-prefix) and $(test-via-rtld-prefix).
66793         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66794         $(test-program-prefix).
66795         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66796         $(host-test-program-cmd).
66797         (tst-spawn-ARGS): Likewise.
66798         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66799         $(test-program-prefix).
66800         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66801         (test_via_rtld_prefix): This.
66802         (test_wrapper): Renamed to ...
66803         (test_program_prefix): This.
66804         (run_program_prefix): Replaced by test_program_prefix.
66805         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66806         (test_program_prefix): This.
66807         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66808         with $(host-test-program-cmd).
66809         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66810         $(run-program-prefix) with $(test-program-prefix).
66811         ($(objpfx)tst-printf.out): Likewise.
66812         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66813         $(test-program-cmd).
66814         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66815         (test_program_prefix): This.
66816         * stdio-common/tst-unbputc.sh: Likewise.
66817         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66818         $(run-program-prefix) with $(test-program-prefix).
66819         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66820         (test_program_prefix): This.
66821         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66822         $(built-program-cmd) with $(test-program-cmd).
66824 2013-01-11  Andreas Jaeger  <aj@suse.de>
66826         [BZ #15003]
66827         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66828         value. Sync with Linux 3.7.
66830 2013-01-10  David S. Miller  <davem@davemloft.net>
66832         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66833         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66834         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66836 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66838         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66839         never set.
66840         * configure: Regenerated.
66842 2013-01-10  David S. Miller  <davem@davemloft.net>
66844         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66845         sparc V9 rather than using V8 code.
66846         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66847         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66849 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66851         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66852         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66853         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66854         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66855         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66856         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66857         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66858         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66859         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66860         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66861         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66862         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66863         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66864         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66865         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66866         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66867         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66868         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66869         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66870         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66871         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66872         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66873         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66874         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66875         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66876         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66877         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66879 2013-01-10  David S. Miller  <davem@davemloft.net>
66881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66883 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66885         * posix/Makefile (tests-static): New variable.
66886         (tests): Add $(tests-static).
66887         (tst-exec-static-ARGS): New variable.
66888         (tst-spawn-static-ARGS): Likewise.
66889         * posix/tst-exec-static.c: New file.
66890         * posix/tst-spawn-static.c: Likewise.
66891         * posix/tst-exec.c: Support run directly.
66892         * posix/tst-spawn.c: Likewise.
66894 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66896         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66897         long.
66898         * math/bits/mathcalls.h (llrint): Likewise.
66899         (llround): Likewise.
66900         * stdlib/stdlib.h (struct drand48_data): Likewise.
66901         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66902         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66903         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66904         Likewise.
66905         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66906         Likewise.
66907         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66908         (elf_greg_t): Likewise.
66909         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66910         (__jmp_buf): Likewise.
66911         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66912         definitions.
66913         (llrint): Likewise, for all definitions.
66914         (llrintl): Likewise.
66916         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66917         Remove [__GNUC__] condition.
66918         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66919         condition to just [__USE_ISOC99].
66920         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66922 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66924         [BZ #14200]
66925         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66926         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66927         defined.
66928         (_POSIX_V6_ILP32_OFF32): Likewise.
66929         (_XBS5_ILP32_OFF32): Likewise.
66930         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66931         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66933 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66935         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66938         doubles __mpexp_twomm1.  Adjust usage.
66939         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66940         Remove.
66942 2013-01-10  Andreas Schwab  <schwab@suse.de>
66944         [BZ #14964]
66945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66946         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66948 2013-01-09  David S. Miller  <davem@davemloft.net>
66950         [BZ #15003]
66951         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66952         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66953         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66954         (TCP_FASTOPEN): Define.
66955         (tcp_repair_opt): New structure.
66956         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66957         enum values.
66958         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66959         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66960         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66961         (tcp_cookie_transactions): New structure.
66963 2013-01-09  Anton Blanchard  <anton@samba.org>
66965         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66966         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66967         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66968         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66970 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66972         * include/features.h (__USE_ANSI): Remove.
66974 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66976         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66978         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66980 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66982         * sysdeps/s390/fpu/libm-test-ulps: Update.
66984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66986         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66987         (__acr): Likewise.
66988         (__cpy): Likewise.
66989         (norm): Likewise.
66990         (denorm): Likewise.
66991         (__mp_dbl): Likewise.
66992         (__dbl_mp): Likewise.
66993         (add_magnitudes): Likewise.
66994         (sub_magnitudes): Likewise.
66995         (__add): Likewise.
66996         (__sub): Likewise.
66997         (__mul): Likewise.
66998         (__inv): Likewise.
66999         (__dvd): Likewise.
67000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67001         (__acr): Likewise.
67002         (__cpy): Likewise.
67003         (norm): Likewise.
67004         (denorm): Likewise.
67005         (__mp_dbl): Likewise.
67006         (__dbl_mp): Likewise.
67007         (add_magnitudes): Likewise.
67008         (sub_magnitudes): Likewise.
67009         (__add): Likewise.
67010         (__sub): Likewise.
67011         (__mul): Likewise.
67012         (__inv): Likewise.
67013         (__dvd): Likewise.
67014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67015         (__acr): Likewise.
67016         (__cpy): Likewise.
67017         (norm): Likewise.
67018         (denorm): Likewise.
67019         (__mp_dbl): Likewise.
67020         (__dbl_mp): Likewise.
67021         (add_magnitudes): Likewise.
67022         (sub_magnitudes): Likewise.
67023         (__add): Likewise.
67024         (__sub): Likewise.
67025         (__mul): Likewise.
67026         (__inv): Likewise.
67027         (__dvd): Likewise.
67029 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67031         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67032         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67033         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67034         2 && __USE_EXTERN_INLINES]: Likewise.
67036 2013-01-08  Andreas Jaeger  <aj@suse.de>
67038         [BZ #14985]
67039         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67040         Remove.
67041         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67042         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67044 2013-01-07  Anton Blanchard  <anton@samba.org>
67046         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67047         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67048         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67049         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67050         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67051         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67052         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67053         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67056         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67057         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67058         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67059         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67060         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67061         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67062         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67064         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67065         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67066         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67067         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67069         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67070         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67071         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67072         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67073         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67075         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67076         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67079         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67080         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67081         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67082         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67084         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67085         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67086         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67087         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67088         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67090 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67092         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67093         (__MALLOC_PMT): Likewise.
67094         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67095         [__GNUC__], only on [_LIBC].
67096         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67097         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67098         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67099         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67100         forward declaration.
67101         (realloc_hook_ini): Likewise.
67102         (memalign_hook_ini): Likewise.
67103         (__libc_memalign): Do not use __MALLOC_PMT in variable
67104         declaration.
67105         (__libc_valloc): Likewise.
67106         (__libc_pvalloc): Likewise.
67107         (__libc_calloc): Likewise.
67108         (__posix_memalign): Likewise.
67110         [BZ #14996]
67111         * math/s_casinh.c: Include <float.h>.
67112         (__casinh): Do not do computation with squaring and square root
67113         for large arguments.
67114         * math/s_casinhf.c: Include <float.h>.
67115         (__casinhf): Do not do computation with squaring and square root
67116         for large arguments.
67117         * math/s_casinhl.c: Include <float.h>.
67118         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67119         (__casinhl): Do not do computation with squaring and square root
67120         for large arguments.
67121         * math/libm-test.inc (casin_test): Add more tests.
67122         (casinh_test): Likewise.
67123         * sysdeps/i386/fpu/libm-test-ulps: Update.
67124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67126 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67128         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67129         (__x86_64_raw_data_cache_size): Likewise.
67130         (__x86_64_data_cache_size_half): Likewise.
67131         (__x86_64_raw_data_cache_size_half): Likewise.
67132         (__x86_64_shared_cache_size): Likewise.
67133         (__x86_64_raw_shared_cache_size): Likewise.
67134         (__x86_64_shared_cache_size_half): Likewise.
67135         (__x86_64_raw_shared_cache_size_half): Likewise.
67136         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67137         to ...
67138         (__x86_data_cache_size): This.
67139         (__x86_64_raw_data_cache_size): Renamed to ...
67140         (__x86_raw_data_cache_size): This.
67141         (__x86_64_data_cache_size_half): Renamed to ...
67142         (__x86_data_cache_size_half): This.
67143         (__x86_64_raw_data_cache_size_half): Renamed to ...
67144         (__x86_raw_data_cache_size_half): This.
67145         (__x86_64_shared_cache_size): Renamed to ...
67146         (__x86_shared_cache_size): This.
67147         (__x86_64_raw_shared_cache_size): Renamed to ...
67148         (__x86_raw_shared_cache_size): This.
67149         (__x86_64_shared_cache_size_half): Renamed to ...
67150         (__x86_shared_cache_size_half): This.
67151         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67152         (__x86_raw_shared_cache_size_half): This.
67153         * sysdeps/x86_64/memcpy.S: Updated.
67154         * sysdeps/x86_64/memset.S: Likewise.
67155         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67157         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67159 2013-01-04  David S. Miller  <davem@davemloft.net>
67161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67163 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67165         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67166         1 to avoid redefinition warning.
67167         (__USE_GNU): Don't define.
67168         (init_signaling_nan): Protoize.
67170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67172 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67174         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67176         (__cpymn): Likewise.
67177         (norm): Remove commented code.
67178         (denorm): Likewise.
67179         (__mp_dbl): Likewise.
67180         (__inv): Likewise.
67181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67182         (__cpymn): Likewise.
67183         (norm): Remove commented code.
67184         (denorm): Likewise.
67185         (__mp_dbl): Likewise.
67186         (__inv): Likewise.
67188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67189         mp_no value for 1.0 and 2.0.
67190         (norm): Use RADIXI instead of radixi.d.
67191         (denorm): Likewise.
67192         (__mul): Use 0.0 instead of zero.d.
67193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67194         mp_no value for 1.0 and 2.0.
67195         (norm): Use RADIXI instead of radixi.d.
67196         (denorm): Likewise.
67197         (__mul): Use 0.0 instead of zero.d.
67199 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67201         [BZ #14994]
67202         * math/s_casinh.c (__casinh): Reduce finite argument to first
67203         quadrant then set signs of results at the end.
67204         * math/s_casinhf.c (__casinhf): Likewise.
67205         * math/s_casinhl.c (__casinhl): Likewise.
67206         * math/libm-test.inc (casin_test): Add more tests.
67207         (casinh_test): Likewise.
67208         * sysdeps/i386/fpu/libm-test-ulps: Update.
67209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67211 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67213         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67215         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67217         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67218         declarations.
67219         (denorm): Likewise.
67220         (__mp_dbl): Likewise.
67221         (__inv): Likewise.
67223         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67224         and adjust the header comment.
67226         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67227         variable name from declaration.
67229 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67232         Initialize COMMON_CPUID_INDEX_7 element.
67233         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67234         (CPUID_RTM): Likewise.
67235         (HAS_RTM): Likewise.
67236         (COMMON_CPUID_INDEX_7): New enum.
67238 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67240         [BZ #14981]
67241         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67242         size is zero, record memory as freed.
67244 2013-01-03  Andreas Jaeger  <aj@suse.de>
67246         * po/ia.po: Add new Interlingua translation.
67248 2012-01-03  Allan McRae  <allan@archlinux.org>
67250         * locale/programs/localedef.c: Fix description of '--posix' flag.
67252 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67254         * NEWS: Update dates in second copyright notice.
67255         * README: Update copyright dates in example.
67256         * manual/libc.texinfo: Update copyright dates.
67257         * scripts/test-installation.pl: Update copyright date in --version
67258         output.
67260         * hurd/ctty-input.c: Fix copyright notice formatting.
67261         * hurd/ctty-output.c: Likewise.
67262         * hurd/dtable.c: Likewise.
67263         * hurd/hurd-raise.c: Likewise.
67264         * hurd/hurdprio.c: Likewise.
67265         * hurd/msgportdemux.c: Likewise.
67266         * misc/sys/file.h: Likewise.
67267         * misc/sys/ioctl.h: Likewise.
67268         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67269         * sysdeps/mach/hurd/chdir.c: Likewise.
67270         * sysdeps/mach/hurd/fchdir.c: Likewise.
67271         * sysdeps/mach/hurd/rename.c: Likewise.
67272         * sysdeps/mach/hurd/rmdir.c: Likewise.
67273         * sysdeps/mach/hurd/seekdir.c: Likewise.
67274         * sysdeps/mach/hurd/setsid.c: Likewise.
67275         * sysdeps/posix/wait3.c: Likewise.
67277         * All files with FSF copyright notices: Update copyright dates
67278         using scripts/update-copyrights.
67279         * intl/plural.c: Regenerated.
67280         * locale/programs/charmap-kw.h: Likewise.
67281         * locale/programs/locfile-kw.h: Likewise.
67283 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67285         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67286         four values.
67288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67289         calculation loop and add branch prediction.
67291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67292         check access beyond bounds of m1np.
67294         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67295         MPTWO.
67296         (__inv): Remove local variable MPTWO to use the global
67297         constant.
67298         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67299         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67300         variable MPTWO.
67301         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67302         MP3HALFS static const.
67304 2013-01-01  David S. Miller  <davem@davemloft.net>
67306         * po/ca.po: Update from translation team.
67308 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67310         * scripts/update-copyrights: New file.
67311         * Makeconfig: Reformat copyright notice.
67312         * ctype/ctype.h: Likewise.
67313         * debug/swprintf_chk.c: Likewise.
67314         * elf/dl-cache.c: Likewise.
67315         * elf/dl-debug.c: Likewise.
67316         * elf/dl-object.c: Likewise.
67317         * grp/initgroups.c: Likewise.
67318         * hurd/Makefile: Likewise.
67319         * hurd/hurd/signal.h: Likewise.
67320         * hurd/hurdfault.c: Likewise.
67321         * hurd/hurdioctl.c: Likewise.
67322         * hurd/hurdlookup.c: Likewise.
67323         * hurd/intr-msg.c: Likewise.
67324         * iconv/gconv_open.c: Likewise.
67325         * libio/swprintf.c: Likewise.
67326         * locale/lc-ctype.c: Likewise.
67327         * locale/nl_langinfo.c: Likewise.
67328         * mach/Machrules: Likewise.
67329         * mach/Makefile: Likewise.
67330         * malloc/obstack.h: Likewise.
67331         * manual/Makefile: Likewise.
67332         * manual/tsort.awk: Likewise.
67333         * misc/bits/stab.def: Likewise.
67334         * nis/nis_print_group_entry.c: Likewise.
67335         * nis/nis_table.c: Likewise.
67336         * nis/nss_compat/compat-pwd.c: Likewise.
67337         * nis/nss_compat/compat-spwd.c: Likewise.
67338         * po/Makefile: Likewise.
67339         * posix/fnmatch.c: Likewise.
67340         * posix/regex.h: Likewise.
67341         * resolv/Makefile: Likewise.
67342         * resolv/nss_dns/dns-network.c: Likewise.
67343         * resolv/res_hconf.c: Likewise.
67344         * scripts/gen-sorted.awk: Likewise.
67345         * soft-fp/soft-fp.h: Likewise.
67346         * stdio-common/printf.h: Likewise.
67347         * stdlib/monetary.h: Likewise.
67348         * stdlib/random.c: Likewise.
67349         * stdlib/random_r.c: Likewise.
67350         * sysdeps/generic/Makefile: Likewise.
67351         * sysdeps/gnu/Makefile: Likewise.
67352         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67359         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67360         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67361         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67362         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67363         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67364         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67365         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67366         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67367         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67368         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67369         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67370         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67371         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67372         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67373         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67374         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67375         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67376         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67377         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67378         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67379         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67380         * sysdeps/mach/hurd/errnos.awk: Likewise.
67381         * sysdeps/mach/hurd/fork.c: Likewise.
67382         * sysdeps/mach/hurd/getcwd.c: Likewise.
67383         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67384         * sysdeps/mach/hurd/mmap.c: Likewise.
67385         * sysdeps/mach/hurd/utimes.c: Likewise.
67386         * sysdeps/mach/hurd/xmknod.c: Likewise.
67387         * sysdeps/posix/profil.c: Likewise.
67388         * sysdeps/posix/readdir_r.c: Likewise.
67389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67390         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67391         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67392         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67394         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67395         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67396         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67398         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67399         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67400         * sysdeps/pthread/lio_listio.c: Likewise.
67401         * sysdeps/sparc/dl-procinfo.h: Likewise.
67402         * sysdeps/unix/i386/sysdep.S: Likewise.
67403         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67404         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67405         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67406         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67408         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67409         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67410         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67411         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67412         * sysdeps/wordsize-32/divdi3.c: Likewise.
67413         * time/sys/time.h: Likewise.
67414         * wcsmbs/Makefile: Likewise.
67416 2013-01-01  David S. Miller  <davem@davemloft.net>
67418         * po/fr.po: Update from translation team.
67420         * catgets/gencat.c: Update copyright year.
67421         * csu/version.c: Likewise.
67422         * debug/catchsegv.sh: Likewise.
67423         * debug/pcprofiledump.c: Likewise.
67424         * debug/xtrace.sh: Likewise.
67425         * elf/ldconfig.c: Likewise.
67426         * elf/ldd.bash.in: Likewise.
67427         * elf/pldd.c: Likewise.
67428         * elf/sotruss.ksh: Likewise.
67429         * elf/sprof.c: Likewise.
67430         * iconv/iconv_prog.c: Likewise.
67431         * iconv/iconvconfig.c: Likewise.
67432         * locale/programs/locale.c: Likewise.
67433         * locale/programs/localedef.c: Likewise.
67434         * login/programs/pt_chown.c: Likewise.
67435         * malloc/memusage.sh: Likewise.
67436         * malloc/memusagestat.c: Likewise.
67437         * malloc/mtrace.pl: Likewise.
67438         * nscd/nscd.c: Likewise.
67439         * nss/getent.c: Likewise.
67440         * nss/makedb.c: Likewise.
67441         * posix/getconf.c: Likewise.
67443 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67445         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67446         numbers.
67448 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67450         * math/bits/mathcalls.h (modf): Use __nonnull.
67452 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67454         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67455         (split): Use macro CN instead of the bare value.
67456         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67457         could be used.
67458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67459         instead of the bare value.
67460         (power1): Likewise.
67462 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67465         __ATAN_TWOM.
67466         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67468         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67469         their values.
67470         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67471         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67472         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67473         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67475 2012-12-28  Andreas Jaeger  <aj@suse.de>
67477         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67478         values are from Linux 3.7.
67480         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67481         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67483 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67485         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67486         TRUE case.
67488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67489         (norm): Likewise.
67490         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67491         variables with preprocessor constants.
67492         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67493         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67494         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67496 2012-12-27  Bruno Haible  <bruno@clisp.org>
67498         [BZ #14317]
67499         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67500         only if needed.
67502 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67505         and use variable directly.
67506         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67508         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67509         MPONE.
67510         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67511         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67512         variable MPONE.
67513         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67515         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67516         include directive.  Remove local variable MPONE.
67517         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67518         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67519         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67521 2012-12-25  David S. Miller  <davem@davemloft.net>
67523         * version.h (RELEASE): Set to "development".
67524         (VERSION): Set to "2.17.90".
67525         * NEWS: Add 2.18 section.
67527 2012-12-21  David S. Miller  <davem@davemloft.net>
67529         * po/hr.po: Update from translation team.
67531 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67533         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67535 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67537         * NEWS:  Mention new memcpy for MIPS.
67539 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67541         * manual/contrib.texi (Contributors): Spelling correction.
67543 2012-12-15  David S. Miller  <davem@davemloft.net>
67545         * po/ru.po: Update from translation team.
67547 2012-12-13  David S. Miller  <davem@davemloft.net>
67549         * NEWS: Mention IFUNC testsuite enhancements.
67551         * po/pl.po: Update from translation team.
67552         * po/bg.po: Likewise.
67554         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67555         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67557 2012-12-11  David S. Miller  <davem@davemloft.net>
67559         * po/sv.po: Update from translation team.
67561         * po/vi.po: Update from translation team.
67563         * po/cs.po: Update from translation team.
67565         * po/de.po: Update from translation team.
67566         * po/eo.po: Likewise.
67567         * po/nl.po: Likewise.
67569 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67571         [BZ #14246]
67572         * manual/argp.texi (Argp Helper Functions): Move node to follow
67573         Argp Parsing State.
67575         [BZ #14872]
67576         * manual/conf.texi (Limits on File System Capacity): Mention if
67577         terminating null is included in the max size.
67579 2012-12-10  Andreas Jaeger  <aj@suse.de>
67581         * po/cs.po: Update from translation team.
67583 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67585         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67586         void pointer and cast to uintptr_t.
67587         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67588         path.
67589         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67590         * sysdeps/s390/s390-64/memset.S: Likewise.
67592 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67594         [BZ #14833]
67595         * menual/message.texi (Message Translation): Fix typos.
67596         (Helper programs for gettext): Likewise.
67598 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67600         [BZ #14898]
67601         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67602         Change to -1.
67604 2012-12-07  David S. Miller  <davem@davemloft.net>
67606         * po/libc.pot: Update.
67608 2012-12-07  Richard Henderson  <rth@redhat.com>
67610         [BZ #10114]
67611         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67612         normal/normal case to before the switch.
67613         (_FP_DIV): Likewise.
67615 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67616             Mike Frysinger  <vapier@gentoo.org>
67618         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67619         check for __NR_fadvise64_64.
67621 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67623         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67624         0, not just to plain "0" as a statement.
67625         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67626         with cw.
67628 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67630         * NEWS: Use sourceware.org in Bugzilla URL.
67632 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67635         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67637         * stdio-common/tst-put-error.c (do_test): Add newline to the
67638         padded test to ensure flush.
67640 2012-12-05  Jeff Law  <law@redhat.com>
67642         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67644 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67646         * README: Don't refer to ports add-on as distributed separately.
67647         Mention AArch64 in list of systems supported in the ports add-on.
67649         * LICENSES: Add more non-FSF copyright and license notices.
67651         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67652         ((unused)).
67654         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67656         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67657         10000 as width of padded output.
67659 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67661         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67663         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67664         variable LX with __attribute__ ((unused)).
67665         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67666         Likewise.
67667         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67668         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67669         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67670         with __attribute__ ((unused)).
67672 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67674         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67676 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67678         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67679         (CFLAGS-nldbl-acos.c): New variable.
67680         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67681         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67682         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67683         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67684         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67685         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67686         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67687         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67688         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67689         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67690         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67691         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67692         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67693         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67694         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67695         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67696         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67697         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67698         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67699         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67700         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67701         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67702         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67703         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67704         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67705         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67706         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67707         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67708         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67709         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67710         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67711         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67712         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67713         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67714         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67715         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67716         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67717         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67718         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67719         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67720         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67721         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67722         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67723         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67724         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67725         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67726         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67727         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67728         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67729         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67730         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67731         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67732         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67733         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67734         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67735         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67736         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67737         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67738         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67739         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67740         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67741         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67742         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67743         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67744         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67745         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67746         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67747         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67748         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67749         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67750         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67751         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67752         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67753         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67754         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67755         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67756         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67757         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67758         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67759         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67760         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67761         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67762         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67763         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67764         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67765         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67766         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67767         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67768         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67769         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67770         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67771         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67772         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67773         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67774         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67775         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67776         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67779         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67781         [BZ #14914]
67782         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67783         whole low double instead of just low 47 bits when splitting values
67784         into two parts.
67786 2012-12-03  Allan McRae  <allan@archlinux.org>
67788         * manual/stdio.texi (Predefined Printf Handlers): Remove
67789         @hsep and @vsep usage.
67791 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67793         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67794         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67796 2012-12-03  Jeff Law  <law@redhat.com>
67798         * time/sys/time.h (settimeofday): Do not mark TV argument
67799         as __nonnull.
67801 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67803         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67804         when currently writing and seek to current position when not.
67805         * libio/Makefile (tests): Remove bug-fclose1.
67806         * libio/bug-fclose1.c: Delete.
67808 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67810         * manual/arith.texi (feenableexcept): Fix typo.
67811         (fedisableexcept): Likewise.
67813 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67815         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67816         second, differently-typed declaration, rather than a cast.
67818 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67820         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67821         * include/rpc/svc.h: ... here.
67823 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67825         [BZ #13013]
67826         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67827         depending n and resplen2 to catch cases where answer
67828         equals answerp2.
67830 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67832         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67833         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67835 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67837         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67839 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67841         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67843 2012-11-28  Jeff Law  <law@redhat.com>
67845         [BZ #13761]
67846         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67847         dataset_temporary.  Track alloca usage into alloca_used.
67848         If dataset is large allocate and release it via malloc/free.
67850 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67852         [BZ #14197]
67853         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67855 2012-11-28  David S. Miller  <davem@davemloft.net>
67857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67859 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67861         [BZ #14803]
67862         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67863         of pi/2 rounded to nearest to 64 bits.
67864         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67865         nearest to 64 bits.
67866         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67867         bits.
67869 2012-11-28  Jeff Law <law@redhat.com>
67870             Martin Osvald <mosvald@redhat.com>
67872         [BZ #14889]
67873         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67874         * sunrpc/svc.c: Include time.h.
67875         (__svc_accept_failed): New function.
67876         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67877         any reason other than EINTR, call __svc_accept_failed.
67878         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67879         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67881 2012-11-28  Andreas Schwab  <schwab@suse.de>
67883         * scripts/abilist.awk: Also handle indirect functions in .opd
67884         section.
67886 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67888         [BZ #13881]
67889         * sysdeps/x86/fpu/powl_helper.c: New file.
67890         * sysdeps/x86/fpu/Makefile: Likewise.
67891         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67892         (p3): New object.
67893         (__ieee754_powl): Use __powl_helper for finite arguments except
67894         integer exponents below 8.
67895         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67896         (p3): New object.
67897         (__ieee754_powl): Use __powl_helper for finite arguments except
67898         integer exponents below 8.
67899         * math/libm-test.inc (pow_test): Add more tests and enable some
67900         previously disabled tests.
67901         * sysdeps/i386/fpu/libm-test-ulps: Update.
67902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67904 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67905             Carlos O'Donell  <carlos_odonell@mentor.com>
67907         * nss/makedb.c (is_prime): Assert that input is odd and greater
67908         than 4.  Note that fact in a comment too.
67909         (next_prime): Add 4 to input.
67911 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67913         [BZ #11741]
67914         * libio/Makefile (tests): Add test case tst-fwrite-error.
67915         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67916         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67917         * libio/tst-fwrite-error.c: New test case.
67919 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67921         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67922         before casting to void *.
67923         * include/libc-internal.h (__pointer_type): New macro.
67924         (__integer_if_pointer_type_sub): Likewise.
67925         (__integer_if_pointer_type): Likewise.
67926         (cast_to_integer): Likewise.
67927         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67928         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67929         before casting to atomic64_t.
67930         (atomic_exchange_acq): Likewise.
67931         (__arch_exchange_and_add_body): Likewise.
67932         (__arch_add_body): Likewise.
67933         (atomic_add_negative): Likewise.
67934         (atomic_add_zero): Likewise.
67936 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67938         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67939         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67940         (add_fdes): Likewise.
67941         (linear_search_fdes): Likewise.
67942         (binary_search_unencoded_fdes): Likewise.
67944 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67946         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67948 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67950         * configure.in: Autodetect C++ header directories.
67951         * configure: Regenerated.
67953 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67955         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67957 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67961 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67963         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67964         LDBL_MANT_DIG == 106]: Disable some tests.
67965         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67966         Likewise.
67967         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67968         Likewise.
67970         [BZ #14871]
67971         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67972         input for small inputs.  Return +/- pi/2 for large inputs.
67973         * math/libm-test.inc (atan_test): Add more tests.
67975         * sysdeps/generic/unwind-dw2-fde-glibc.c
67976         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67977         __attribute__ ((unused)).
67979         [BZ #14645]
67980         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67981         x * y if x and y are nonzero and z is zero.
67983         [BZ #14811]
67984         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67985         nonzero exponents with absolute value below 0x1p-117 to +/-
67986         0x1p-117.
67988         [BZ #14869]
67989         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67990         up arguments below 2**-450, not just those below 2**-500.
67991         * math/libm-test.inc (hypot_test): Add another test.
67993         [BZ #14868]
67994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67995         Return a+b for ratio over 2**120, not 2**60.
67996         * math/libm-test.inc (hypot_test): Add another test.
67998         * math/libm-test.inc (clog_test): Use
67999         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68000         (clog10_test): Likewise.
68002         [BZ #6778]
68003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68005 2012-11-22  Andreas Schwab  <schwab@suse.de>
68007         * sysdeps/i386/fpu/libm-test-ulps: Update.
68009 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68011         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68012         printf output with newline.
68014 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68016         [BZ #14865]
68017         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68018         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68019         -z nodlopen, -z initfirst and -z execstack support.
68020         * configure: Regenerated.
68022         * elf/elf.h (DF_1_NODIRECT): New macro.
68023         (DF_1_IGNMULDEF): Likewise.
68024         (DF_1_NOKSYMS): Likewise.
68025         (DF_1_NOHDR): Likewise.
68026         (DF_1_EDITED): Likewise.
68027         (DF_1_NORELOC): Likewise.
68028         (DF_1_SYMINTPOSE): Likewise.
68029         (DF_1_GLOBAUDIT): Likewise.
68030         (DF_1_SINGLETON): Likewise.
68031         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68032         DT_1_SUPPORTED_MASK bits.
68033         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68035 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68037         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68039 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68041         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68042         macro.
68044         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68045         (sendmmsg): Move declarations...
68046         * socket/sys/socket.h: ... here.
68047         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68048         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68049         include it from...
68050         * socket/recvmmsg.c: ... this new file.
68051         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68052         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68053         definition of __sendmmsg hidden.
68054         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68055         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68056         Move ENOSYS stub into and include it from...
68057         * socket/sendmmsg.c: ... this new file.
68058         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68059         (sysdep_routines): Move recvmmsg and sendmmsg...
68060         * socket/Makefile (routines): ... here.
68061         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68062         (GLIBC_PRIVATE): Add __sendmmsg.
68063         * include/sys/socket.h (__sendmmsg): Add declarations.
68064         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68065         sendmmsg.
68067 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68070         variable I1 with __attribute__ ((unused)).
68071         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68073 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68075         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68076         DUMMY variables with __attribute__ ((unused)).
68078         * bits/byteswap.h: Include <bits/types.h>.
68079         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68081 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68083         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68084         string_t.  Do not manually set errno.
68085         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68086         length with __strnlen.  Make sure to both set errno and return it on
68087         failure.
68089 2012-11-19  David S. Miller  <davem@davemloft.net>
68091         With help from Joseph Myers.
68092         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68093         very large arguments properly.
68094         * math/libm-test.inc (atan_test): New tests.
68095         (atan2_test): New tests.
68096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68099 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68101         [BZ #14856]
68102         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68103         Define to 3.
68105         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68106         [POSIX] (EADDRNOTAVAIL): Likewise.
68107         [POSIX] (EAFNOSUPPORT): Likewise.
68108         [POSIX] (EALREADY): Likewise.
68109         [POSIX] (ECONNABORTED): Likewise.
68110         [POSIX] (ECONNREFUSED): Likewise.
68111         [POSIX] (ECONNRESET): Likewise.
68112         [POSIX] (EDESTADDRREQ): Likewise.
68113         [POSIX] (EDQUOT): Likewise.
68114         [POSIX] (EHOSTUNREACH): Likewise.
68115         [POSIX] (EIDRM): Likewise.
68116         [POSIX] (EISCONN): Likewise.
68117         [POSIX] (ELOOP): Likewise.
68118         [POSIX] (EMULTIHOP): Likewise.
68119         [POSIX] (ENETDOWN): Likewise.
68120         [POSIX] (ENETUNREACH): Likewise.
68121         [POSIX] (ENOBUFS): Likewise.
68122         [POSIX] (ENODATA): Likewise.
68123         [POSIX] (ENOLINK): Likewise.
68124         [POSIX] (ENOMSG): Likewise.
68125         [POSIX] (ENOPROTOOPT): Likewise.
68126         [POSIX] (ENOSR): Likewise.
68127         [POSIX] (ENOSTR): Likewise.
68128         [POSIX] (ENOTCONN): Likewise.
68129         [POSIX] (ENOTSOCK): Likewise.
68130         [POSIX] (EOPNOTSUPP): Likewise.
68131         [POSIX] (EOVERFLOW): Likewise.
68132         [POSIX] (EPROTO): Likewise.
68133         [POSIX] (EPROTONOSUPPORT): Likewise.
68134         [POSIX] (EPROTOTYPE): Likewise.
68135         [POSIX] (ESTALE): Likewise.
68136         [POSIX] (ETIME): Likewise.
68137         [POSIX] (ETXTBSY): Likewise.
68138         [POSIX] (EWOULDBLOCK): Likewise.
68139         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68140         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68141         [POSIX] (SEEK_CUR): Likewise.
68142         [POSIX] (SEEK_END): Likewise.
68143         [POSIX || UNIX98] (mode_t): Do not require.
68144         [POSIX] (off_t): Likewise.
68145         [POSIX] (pid_t): Likewise.
68146         [POSIX] (sys/stat.h): Do not allow header.
68147         [POSIX] (unistd.h): Likewise.
68148         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68149         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68150         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68151         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68152         require.
68153         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68154         sigevent): Specify elements.
68155         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68156         entry.
68157         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68158         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68160         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68161         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68162         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68163         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68164         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68165         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68166         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68167         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68168         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68169         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68170         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68171         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68172         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68173         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68174         Likewise.
68175         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68176         Likewise.
68177         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68178         Likewise.
68179         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68180         Likewise.
68181         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68182         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68183         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68184         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68185         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68186         Specify lower bound on value.
68187         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68188         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68189         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68190         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68191         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68192         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68193         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68194         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68195         value.
68196         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68197         as optional.
68198         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68199         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68200         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68201         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68202         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68203         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68204         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68205         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68206         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68207         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68208         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68209         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68210         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68211         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68212         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68213         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68214         entry.
68215         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68216         optional.
68217         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68218         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68219         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68220         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68221         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68222         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68223         Likewise.
68224         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68225         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68226         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68227         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68228         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68229         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68230         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68231         as optional.
68232         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68233         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68234         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68235         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68236         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68237         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68238         specify as optional.
68239         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68240         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68241         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68242         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68243         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68244         [XPG3] (NL_LANGMAX): Likewise.
68245         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68246         [POSIX || XPG3] (NL_NMAX): Likewise.
68247         [POSIX || XPG3] (NL_SETMAX): Likewise.
68248         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68249         [XPG3] (NZERO): Likewise.
68250         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68251         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68252         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68253         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68254         (REG_ERANGE): Expect.
68255         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68256         optional-constant.
68257         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68258         Use (void) in prototype.
68259         [POSIX] (*_t): Allow.
68260         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68261         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68262         (WRDE_BADVAL): Expect.
68264         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68265         expect.
68266         [XPG3 || XPG4] (O_RSYNC): Likewise.
68267         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68268         Likewise.
68269         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68270         [XPG3 || XPG4] (sigqueue): Likewise.
68271         [XPG3 || XPG4] (sigtimedwait): Likewise.
68272         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68273         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68274         [XPG3 || XPG4] (vsnprintf): Likewise.
68275         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68276         Likewise.
68277         [XPG3 || XPG4] (blksize_t): Likewise.
68278         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68279         Likewise.
68280         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68281         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68282         [XPG3 || XPG4] (struct itimerspec): Likewise.
68283         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68284         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68285         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68286         [XPG3 || XPG4] (clockid_t): Likewise.
68287         [XPG3 || XPG4] (timer_t): Likewise.
68288         [XPG3 || XPG4] (clock_getres): Likewise.
68289         [XPG3 || XPG4] (clock_gettime): Likewise.
68290         [XPG3 || XPG4] (clock_settime): Likewise.
68291         [XPG3 || XPG4] (nanosleep): Likewise.
68292         [XPG3 || XPG4] (timer_create): Likewise.
68293         [XPG3 || XPG4] (timer_delete): Likewise.
68294         [XPG3 || XPG4] (timer_gettime): Likewise.
68295         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68296         [XPG3 || XPG4] (timer_settime): Likewise.
68297         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68298         [XPG3 || XPG4] (getlogin_r): Likewise.
68299         [XPG3 || XPG4] (pread): Likewise.
68300         [XPG3 || XPG4] (pthread_atfork): Likewise.
68301         [XPG3 || XPG4] (pwrite): Likewise.
68303         [BZ #14835]
68304         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68305         <bits/siginfo.h>.
68307 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68309         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68310         finalizing MALLSTREAM.
68312         * sysdeps/mach/hurd/syncfs.c: New file.
68314 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68316         [BZ #14719]
68317         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68318         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68320         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68321         (_nss_dns_gethostbyname4_r): Likewise.
68322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68323         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68325 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68327         [BZ #13763]
68328         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68330 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68332         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68333         * elf/cache.c (print_entry): Print ",AArch64" for
68334         FLAG_AARCH64_LIB64
68336         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68337         * elf/cache.c (print_entry): Print ",hard-float" for
68338         FLAG_ARM_LIBHF.
68340 2012-11-18  David S. Miller  <davem@davemloft.net>
68342         With help from Joseph Myers.
68343         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68344         cutoff to 2**-13.
68345         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68346         cutoff to 2**-25.
68347         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68348         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68349         small.
68350         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68351         * math/libm-test.inc (y0_test): New tests.
68352         (y1_test): New tests.
68353         * sysdeps/i386/fpu/libm-test-ulps: Update.
68354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68357 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68359         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68360         64-bit targets.
68361         * configure: Regenerated.
68363 2012-11-17  David S. Miller  <davem@davemloft.net>
68365         [BZ #14811]
68366         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68367         nonzero exponents with absolute value below 0x1p-128 to +/-
68368         0x1p-128.
68370 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68372         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68374         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68376         * posix/getconf-speclist.c: New file.
68377         * posix/posix-envs.def: Likewise.
68378         * posix/confstr.c (START_ENV_GROUP): New macro.
68379         (END_ENV_GROUP): Likewise.
68380         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68381         (KNOWN_PRESENT_ENV_STRING): Likewise.
68382         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68383         (UNKNOWN_ENVIRONMENT): Likewise.
68384         (confstr): Include posix-envs.def instead of handling
68385         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68386         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68387         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68388         (END_ENV_GROUP): Likewise.
68389         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68390         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68391         (UNKNOWN_ENVIRONMENT): Likewise.
68392         (__sysconf): Include posix-envs.def instead of handling associated
68393         cases directly here.
68394         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68395         preprocessing getconf-speclist.c rather than running getconf or
68396         generating empty file.
68398 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68400         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68402 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68404         [BZ #14672]
68405         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68407 2012-11-16  David S. Miller  <davem@davemloft.net>
68409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68410         smaller than LDBL_EPSILON/2.0L, just return xm1.
68412 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68414         * elf/tst-array1.c (init): Set constructor priority to 1000.
68415         (fini): Set destructor priority to 1000.
68416         * elf/tst-array2dep.c: Likewise.
68418 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68420         [BZ #11741]
68421         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68422         (_IO_new_file_xsputn): Also return EOF if none of the input
68423         data was written when overflow failed.
68424         * libio/iopadn.c (_IO_padn): Likewise.
68425         * libio/iowpadn.c (_IO_wpadn): Likewise.
68426         * stdio-common/tst-put-error.c: Add copyright notice.
68427         (do_test): Add case for printing padded string.
68428         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68429         _IO_padn returned error.
68430         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68431         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68432         return EOF.
68434 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68436         * libio/libioP.h: Add comment note that the references to C++
68437         bits are now obsolete.
68439 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68441         * math/libm-test.inc (check_complex): Use asprintf.
68443 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68445         * debug/pcprofiledump.c (print_version): Update copyright year.
68446         * malloc/memusagestat.c (print_version): Likewise.
68448 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68450         [BZ #14831]
68451         * elf/Makefile (tests): Add tst-audit8.
68452         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68453         ($(objpfx)tst-audit8.out): New target.
68454         (tst-audit8-ENV): New variable.
68455         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68456         audit if l_reloc_result is NULL.
68457         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68458         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68459         * elf/tst-audit8.c: New file.
68461 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68463         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68464         * misc/Makefile (CFLAGS-select.c): Define.
68465         * posix/Makefile (CFLAGS-pause.c): Define.
68467 2012-11-13  David S. Miller  <davem@davemloft.net>
68469         * crypt/Makefile: Move test targets after toplevel Rules
68470         inclusion.  Grab any necessary sysdep routines when linking.
68471         * crypt/md5.c (md5_process_block): Remove define, we will always
68472         name it __md5_process_block.
68473         (md5_finish_ctx): Update md5_process_block call.
68474         (md5_stream): Likewise.
68475         (md5_process_bytes): Likewise.
68476         (md5_process_block): Rename to __md5_process_block and move to ...
68477         * crypt/md5-block.c: ... here.
68478         * crypt/sha256.c (sha256_process_block): Move to ...
68479         * crypt/sha256-block.c: ... here.
68480         * crypt/sha512.c (sha512_process_block): Move to ...
68481         * crypt/sha512-block.c: ... here.
68482         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68483         path.
68484         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68485         * sysdeps/sparc/sparc64/multiarch/Makefile
68486         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68487         crypt subdir.
68488         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68489         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68490         multiarch changes.
68491         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68492         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68493         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68494         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68495         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68496         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68497         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68498         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68499         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68500         file.
68501         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68502         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68503         file.
68504         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68506 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68508         * timezone/tzselect.ksh: Update from tzcode git revision
68509         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68510         * timezone/zdump.c: Likewise.
68511         * timezone/zic.c: Likewise.
68512         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68513         in TZVERSION setting, not $(PKGVERSION).
68514         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68515         REPORT_BUGS_TO settings.
68517         [BZ #14838]
68518         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68519         macro.
68521 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68523         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68524         detection to immediately after _FP_ROUND().
68525         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68526         bits are 0.
68528 2012-11-11  David S. Miller  <davem@davemloft.net>
68530         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68531         inttypes.h
68532         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68533         __close rather than their public counterparts.
68535 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68537         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68538         file.
68539         [UNIX98] (sem_timedwait): Do not expect.
68540         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68541         [XPG4 || UNIX98] (sockatmark): Do not expect.
68542         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68543         (clock_getcpuclockid): Do not expect.
68544         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68545         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68546         Do not expect.
68547         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68548         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68549         [UNIX98] (vwscanf): Likewise.
68550         [UNIX98] (vswscanf): Likewise.
68552 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68554         * timezone/version.h: Remove file.
68555         * timezone/README: Do not refer to version.h.
68556         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68557         $(objpfx)version.h.
68558         ($(objpfx)zdump.o): Likewise.
68559         ($(objpfx)version.h): New target.
68561         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68562         2012i.
68563         * timezone/README: Don't mention modification to tzselect.ksh.
68564         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68565         work on unmodified tzselect.ksh.  Substitute version numbers in
68566         tzselect.ksh.
68568         * Makefile (format-me): Remove.
68569         (INSTALL): Adjust indentation.  Use commands directly instead of
68570         using $(format-me).
68572         * aclocal.m4 (ACX_PKGVERSION): New macro.
68573         (ACX_BUGURL): Likewise.
68574         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68575         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68576         (REPORT_BUGS_TO): Likewise.
68577         * configure: Regenerated.
68578         * config.h.in (PKGVERSION): New macro.
68579         (REPORT_BUGS_TO): Likewise.
68580         * config.make.in (PKGVERSION): New variable.
68581         (PKGVERSION_TEXI): Likewise.
68582         (REPORT_BUGS_TO): Likewise.
68583         (REPORT_BUGS_TEXI): Likewise.
68584         * Makefile (format-me): Use -I$(common-objpfx)manual.
68585         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68586         ($(common-objpfx)manual/%): New target.
68587         (manual/%): Remove target.
68588         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68589         (print_version): Use PKGVERSION.
68590         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68591         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68592         and REPORT_BUGS_TO.
68593         ($(objpfx)xtrace): Likewise.
68594         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68595         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68596         (print_version): Use PKGVERSION.
68597         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68598         (do_version): Use PKGVERSION.
68599         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68600         REPORT_BUGS_TO.
68601         (common-ldd-rewrite): Likewise.
68602         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68603         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68604         (print_version): Use PKGVERSION.
68605         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68606         * elf/pldd.c (argp_program_bug_address): Remove variable.
68607         (more_help): New function.
68608         (argp): Use more_help.
68609         (print_version): Use PKGVERSION.
68610         * elf/sln.c (main): Use PKGVERSION.
68611         (usage): Use REPORT_BUGS_TO.
68612         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68613         (top level): Use PKGVERSION.
68614         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68615         (print_version): Use PKGVERSION.
68616         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68617         (print_version): Use PKGVERSION.
68618         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68619         (print_version): Use PKGVERSION.
68620         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68621         (print_version): Use PKGVERSION.
68622         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68623         (print_version): Use PKGVERSION.
68624         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68625         (print_version): Use PKGVERSION.
68626         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68627         and BUGURL.
68628         ($(objpfx)memusage): Likewise.
68629         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68630         (do_version): Use PKGVERSION.
68631         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68632         (print_version): Use PKGVERSION.
68633         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68634         ($PKGVERSION): New variable.
68635         ($REPORT_BUGS_TO): Likewise.
68636         (usage): Use $REPORT_BUGS_TO.
68637         (top level): Use $PKGVERSION.
68638         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68639         ($(objpfx)pkgvers.texi): New rule.
68640         ($(objpfx)stamp-pkgvers): Likewise.
68641         * manual/install.texi: Include pkgvers.texi.
68642         (--with-pkgversion): Document new configure option.
68643         (--with-bugurl): Likewise.
68644         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68645         than necessarily for this particular distribution.  Use
68646         REPORT_BUGS_TO for where to report bugs.
68647         * INSTALL: Regenerated.
68648         * manual/libc.texinfo: Include pkgvers.texi.
68649         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68650         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68651         (print_version): Use PKGVERSION.
68652         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68653         (print_version): Use PKGVERSION.
68654         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68655         (print_version): Use PKGVERSION.
68656         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68657         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68658         macro.
68659         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68660         (print_version): Use PKGVERSION.
68661         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68662         (print_version): Use PKGVERSION.
68663         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68664         and PKGVERSION.
68666         * timezone/checktab.awk: Update from tzcode 2012i.
68667         * timezone/ialloc.c: Likewise.
68668         * timezone/private.h: Likewise.
68669         * timezone/scheck.c: Likewise.
68670         * timezone/tzfile.h: Likewise.
68671         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68672         (TZVERSION): Hardcode tzcode version number.
68673         * timezone/zdump.c: Update from tzcode 2012i.
68674         * timezone/zic.c: Likewise.
68675         * timezone/version.h: New file.
68676         * timezone/README: Describe version.h.  Update upstream location.
68678         [BZ #14824]
68679         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68680         (mktemp): Enable declaration.
68681         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68682         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68683         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68684         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68685         Likewise.
68686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68687         Likewise.
68688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68689         Likewise.
68690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68691         Likewise.
68692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68693         Likewise.
68694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68695         Likewise.
68697         [BZ #14821]
68698         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68699         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68700         for copies of such integer values.
68701         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68702         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68704 2012-11-09  Andreas Jaeger  <aj@suse.de>
68706         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68707         definitions and declarations that are provided by
68708         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68710 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68712         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68713         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68714         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68715         definition.
68717 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68719         * elf/elf.h: Update comment before AArch64 relocations.
68721 2012-11-07  David S. Miller  <davem@davemloft.net>
68723         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68724         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68725         (__start_context): Declare.
68726         (__makecontext_ret): Delete.
68727         (__makecontext): Hook up __start_context instead of
68728         __makecontext_ret.
68729         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68730         (sysdep_routines): Add __start_context when in stdlib.
68732 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68734         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68735         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68736         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68737         hardcoded "nm".
68738         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68739         (READELF): New variable.  Use it instead of hardcoded "readelf".
68741 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68743         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68744         * sysdeps/x86/Makefile: Here.
68745         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68746         * sysdeps/x86/tst-xmmymm.sh: This.
68748 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68750         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68751         expectations.
68752         [UNIX98] (pthread_barrier_t): Do not expect.
68753         [UNIX98] (pthread_barrierattr_t): Likewise.
68754         [UNIX98] (pthread_spinlock_t): Likewise.
68755         [UNIX98] (pthread_barrier_destroy): Likewise.
68756         [UNIX98] (pthread_barrier_init): Likewise.
68757         [UNIX98] (pthread_barrier_wait): Likewise.
68758         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68759         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68760         [UNIX98] (pthread_barrierattr_init): Likewise.
68761         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68762         [UNIX98] (pthread_getcpuclockid): Likewise.
68763         [UNIX98] (pthread_mutex_timedlock): Likewise.
68764         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68765         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68766         [UNIX98] (pthread_sigmask): Likewise.
68767         [UNIX98] (pthread_spin_destroy): Likewise.
68768         [UNIX98] (pthread_spin_init): Likewise.
68769         [UNIX98] (pthread_spin_lock): Likewise.
68770         [UNIX98] (pthread_spin_trylock): Likewise.
68771         [UNIX98] (pthread_spin_unlock): Likewise.
68772         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68773         Do not expect.
68774         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68776         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68777         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68778         [XPG3 || XPG4] (pthread_key_t): Likewise.
68779         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68780         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68781         [XPG3 || XPG4] (pthread_once_t): Likewise.
68782         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68783         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68784         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68785         [XPG3 || XPG4] (pthread_t): Likewise.
68787         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68788         not expect.
68789         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68791         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68792         Change function return type to int.
68794         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68795         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68796         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68797         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68798         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68799         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68800         [!POSIX] (posix_madvise): Likewise.
68801         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68802         && !UNIX98].
68803         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68804         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68805         (mode_t): Likewise.
68806         (posix_mem_offset): Likewise.
68807         (posix_typed_mem_get_info): Likewise.
68808         (posix_typed_mem_open): Likewise.
68810         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68811         Change condition to [XOPEN2K8].
68813         * conform/conformtest.pl: Preprocess allow-header data with -x c
68814         instead of from stdin.
68815         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68816         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68817         [C99-based standards] (cerfc): Likewise.
68818         [C99-based standards] (cexp2): Likewise.
68819         [C99-based standards] (cexpm1): Likewise.
68820         [C99-based standards] (clog10): Likewise.
68821         [C99-based standards] (clog1p): Likewise.
68822         [C99-based standards] (clog2): Likewise.
68823         [C99-based standards] (clgamma): Likewise.
68824         [C99-based standards] (ctgamma): Likewise.
68825         [C99-based standards] (cerff): Likewise.
68826         [C99-based standards] (cerfcf): Likewise.
68827         [C99-based standards] (cexp2f): Likewise.
68828         [C99-based standards] (cexpm1f): Likewise.
68829         [C99-based standards] (clog10f): Likewise.
68830         [C99-based standards] (clog1pf): Likewise.
68831         [C99-based standards] (clog2f): Likewise.
68832         [C99-based standards] (clgammaf): Likewise.
68833         [C99-based standards] (ctgammaf): Likewise.
68834         [C99-based standards] (cerfl): Likewise.
68835         [C99-based standards] (cerfcl): Likewise.
68836         [C99-based standards] (cexp2l): Likewise.
68837         [C99-based standards] (cexpm1l): Likewise.
68838         [C99-based standards] (clog10l): Likewise.
68839         [C99-based standards] (clog1pl): Likewise.
68840         [C99-based standards] (clog2l): Likewise.
68841         [C99-based standards] (clgammal): Likewise.
68842         [C99-based standards] (ctgammal): Likewise.
68843         * conform/data/inttypes.h-data [C99-based standards]: Include
68844         stdint.h-data.  Remove all expectations for stdint.h contents.
68845         [C99-based standards] (PRI*): Do not allow.
68846         [C99-based standards] (SCN*): Likewise.
68847         [C99-based standards] (*_t): Likewise.
68848         [C99-based-standards] (PRId8): Expect macro.
68849         [C99-based-standards] (PRIi8): Likewise.
68850         [C99-based-standards] (PRIo8): Likewise.
68851         [C99-based-standards] (PRIu8): Likewise.
68852         [C99-based-standards] (PRIx8): Likewise.
68853         [C99-based-standards] (PRIX8): Likewise.
68854         [C99-based-standards] (SCNd8): Likewise.
68855         [C99-based-standards] (SCNi8): Likewise.
68856         [C99-based-standards] (SCNo8): Likewise.
68857         [C99-based-standards] (SCNu8): Likewise.
68858         [C99-based-standards] (SCNx8): Likewise.
68859         [C99-based-standards] (PRIdLEAST8): Likewise.
68860         [C99-based-standards] (PRIiLEAST8): Likewise.
68861         [C99-based-standards] (PRIoLEAST8): Likewise.
68862         [C99-based-standards] (PRIuLEAST8): Likewise.
68863         [C99-based-standards] (PRIxLEAST8): Likewise.
68864         [C99-based-standards] (PRIXLEAST8): Likewise.
68865         [C99-based-standards] (SCNdLEAST8): Likewise.
68866         [C99-based-standards] (SCNiLEAST8): Likewise.
68867         [C99-based-standards] (SCNoLEAST8): Likewise.
68868         [C99-based-standards] (SCNuLEAST8): Likewise.
68869         [C99-based-standards] (SCNxLEAST8): Likewise.
68870         [C99-based-standards] (PRIdFAST8): Likewise.
68871         [C99-based-standards] (PRIiFAST8): Likewise.
68872         [C99-based-standards] (PRIoFAST8): Likewise.
68873         [C99-based-standards] (PRIuFAST8): Likewise.
68874         [C99-based-standards] (PRIxFAST8): Likewise.
68875         [C99-based-standards] (PRIXFAST8): Likewise.
68876         [C99-based-standards] (SCNdFAST8): Likewise.
68877         [C99-based-standards] (SCNiFAST8): Likewise.
68878         [C99-based-standards] (SCNoFAST8): Likewise.
68879         [C99-based-standards] (SCNuFAST8): Likewise.
68880         [C99-based-standards] (SCNxFAST8): Likewise.
68881         [C99-based-standards] (PRId16): Likewise.
68882         [C99-based-standards] (PRIi16): Likewise.
68883         [C99-based-standards] (PRIo16): Likewise.
68884         [C99-based-standards] (PRIu16): Likewise.
68885         [C99-based-standards] (PRIx16): Likewise.
68886         [C99-based-standards] (PRIX16): Likewise.
68887         [C99-based-standards] (SCNd16): Likewise.
68888         [C99-based-standards] (SCNi16): Likewise.
68889         [C99-based-standards] (SCNo16): Likewise.
68890         [C99-based-standards] (SCNu16): Likewise.
68891         [C99-based-standards] (SCNx16): Likewise.
68892         [C99-based-standards] (PRIdLEAST16): Likewise.
68893         [C99-based-standards] (PRIiLEAST16): Likewise.
68894         [C99-based-standards] (PRIoLEAST16): Likewise.
68895         [C99-based-standards] (PRIuLEAST16): Likewise.
68896         [C99-based-standards] (PRIxLEAST16): Likewise.
68897         [C99-based-standards] (PRIXLEAST16): Likewise.
68898         [C99-based-standards] (SCNdLEAST16): Likewise.
68899         [C99-based-standards] (SCNiLEAST16): Likewise.
68900         [C99-based-standards] (SCNoLEAST16): Likewise.
68901         [C99-based-standards] (SCNuLEAST16): Likewise.
68902         [C99-based-standards] (SCNxLEAST16): Likewise.
68903         [C99-based-standards] (PRIdFAST16): Likewise.
68904         [C99-based-standards] (PRIiFAST16): Likewise.
68905         [C99-based-standards] (PRIoFAST16): Likewise.
68906         [C99-based-standards] (PRIuFAST16): Likewise.
68907         [C99-based-standards] (PRIxFAST16): Likewise.
68908         [C99-based-standards] (PRIXFAST16): Likewise.
68909         [C99-based-standards] (SCNdFAST16): Likewise.
68910         [C99-based-standards] (SCNiFAST16): Likewise.
68911         [C99-based-standards] (SCNoFAST16): Likewise.
68912         [C99-based-standards] (SCNuFAST16): Likewise.
68913         [C99-based-standards] (SCNxFAST16): Likewise.
68914         [C99-based-standards] (PRId32): Likewise.
68915         [C99-based-standards] (PRIi32): Likewise.
68916         [C99-based-standards] (PRIo32): Likewise.
68917         [C99-based-standards] (PRIu32): Likewise.
68918         [C99-based-standards] (PRIx32): Likewise.
68919         [C99-based-standards] (PRIX32): Likewise.
68920         [C99-based-standards] (SCNd32): Likewise.
68921         [C99-based-standards] (SCNi32): Likewise.
68922         [C99-based-standards] (SCNo32): Likewise.
68923         [C99-based-standards] (SCNu32): Likewise.
68924         [C99-based-standards] (SCNx32): Likewise.
68925         [C99-based-standards] (PRIdLEAST32): Likewise.
68926         [C99-based-standards] (PRIiLEAST32): Likewise.
68927         [C99-based-standards] (PRIoLEAST32): Likewise.
68928         [C99-based-standards] (PRIuLEAST32): Likewise.
68929         [C99-based-standards] (PRIxLEAST32): Likewise.
68930         [C99-based-standards] (PRIXLEAST32): Likewise.
68931         [C99-based-standards] (SCNdLEAST32): Likewise.
68932         [C99-based-standards] (SCNiLEAST32): Likewise.
68933         [C99-based-standards] (SCNoLEAST32): Likewise.
68934         [C99-based-standards] (SCNuLEAST32): Likewise.
68935         [C99-based-standards] (SCNxLEAST32): Likewise.
68936         [C99-based-standards] (PRIdFAST32): Likewise.
68937         [C99-based-standards] (PRIiFAST32): Likewise.
68938         [C99-based-standards] (PRIoFAST32): Likewise.
68939         [C99-based-standards] (PRIuFAST32): Likewise.
68940         [C99-based-standards] (PRIxFAST32): Likewise.
68941         [C99-based-standards] (PRIXFAST32): Likewise.
68942         [C99-based-standards] (SCNdFAST32): Likewise.
68943         [C99-based-standards] (SCNiFAST32): Likewise.
68944         [C99-based-standards] (SCNoFAST32): Likewise.
68945         [C99-based-standards] (SCNuFAST32): Likewise.
68946         [C99-based-standards] (SCNxFAST32): Likewise.
68947         [C99-based-standards] (PRId64): Likewise.
68948         [C99-based-standards] (PRIi64): Likewise.
68949         [C99-based-standards] (PRIo64): Likewise.
68950         [C99-based-standards] (PRIu64): Likewise.
68951         [C99-based-standards] (PRIx64): Likewise.
68952         [C99-based-standards] (PRIX64): Likewise.
68953         [C99-based-standards] (SCNd64): Likewise.
68954         [C99-based-standards] (SCNi64): Likewise.
68955         [C99-based-standards] (SCNo64): Likewise.
68956         [C99-based-standards] (SCNu64): Likewise.
68957         [C99-based-standards] (SCNx64): Likewise.
68958         [C99-based-standards] (PRIdLEAST64): Likewise.
68959         [C99-based-standards] (PRIiLEAST64): Likewise.
68960         [C99-based-standards] (PRIoLEAST64): Likewise.
68961         [C99-based-standards] (PRIuLEAST64): Likewise.
68962         [C99-based-standards] (PRIxLEAST64): Likewise.
68963         [C99-based-standards] (PRIXLEAST64): Likewise.
68964         [C99-based-standards] (SCNdLEAST64): Likewise.
68965         [C99-based-standards] (SCNiLEAST64): Likewise.
68966         [C99-based-standards] (SCNoLEAST64): Likewise.
68967         [C99-based-standards] (SCNuLEAST64): Likewise.
68968         [C99-based-standards] (SCNxLEAST64): Likewise.
68969         [C99-based-standards] (PRIdFAST64): Likewise.
68970         [C99-based-standards] (PRIiFAST64): Likewise.
68971         [C99-based-standards] (PRIoFAST64): Likewise.
68972         [C99-based-standards] (PRIuFAST64): Likewise.
68973         [C99-based-standards] (PRIxFAST64): Likewise.
68974         [C99-based-standards] (PRIXFAST64): Likewise.
68975         [C99-based-standards] (SCNdFAST64): Likewise.
68976         [C99-based-standards] (SCNiFAST64): Likewise.
68977         [C99-based-standards] (SCNoFAST64): Likewise.
68978         [C99-based-standards] (SCNuFAST64): Likewise.
68979         [C99-based-standards] (SCNxFAST64): Likewise.
68980         [C99-based-standards] (PRIdMAX): Likewise.
68981         [C99-based-standards] (PRIiMAX): Likewise.
68982         [C99-based-standards] (PRIoMAX): Likewise.
68983         [C99-based-standards] (PRIuMAX): Likewise.
68984         [C99-based-standards] (PRIxMAX): Likewise.
68985         [C99-based-standards] (PRIXMAX): Likewise.
68986         [C99-based-standards] (SCNdMAX): Likewise.
68987         [C99-based-standards] (SCNiMAX): Likewise.
68988         [C99-based-standards] (SCNoMAX): Likewise.
68989         [C99-based-standards] (SCNuMAX): Likewise.
68990         [C99-based-standards] (SCNxMAX): Likewise.
68991         [C99-based-standards] (PRIdPTR): Likewise.
68992         [C99-based-standards] (PRIiPTR): Likewise.
68993         [C99-based-standards] (PRIoPTR): Likewise.
68994         [C99-based-standards] (PRIuPTR): Likewise.
68995         [C99-based-standards] (PRIxPTR): Likewise.
68996         [C99-based-standards] (PRIXPTR): Likewise.
68997         [C99-based-standards] (SCNdPTR): Likewise.
68998         [C99-based-standards] (SCNiPTR): Likewise.
68999         [C99-based-standards] (SCNoPTR): Likewise.
69000         [C99-based-standards] (SCNuPTR): Likewise.
69001         [C99-based-standards] (SCNxPTR): Likewise.
69002         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69003         allow.
69004         * conform/data/stdint.h-data: Update comments to clarify
69005         requirements.
69006         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69007         type.
69008         [C99-based standards] (INT8_MAX): Likewise.
69009         [C99-based standards] (INT16_MIN): Likewise.
69010         [C99-based standards] (INT16_MAX): Likewise.
69011         [C99-based standards] (INT32_MIN): Likewise.
69012         [C99-based standards] (INT32_MAX): Likewise.
69013         [C99-based standards] (INT64_MIN): Likewise.
69014         [C99-based standards] (INT64_MAX): Likewise.
69015         [C99-based standards] (UINT8_MAX): Likewise.
69016         [C99-based standards] (UINT16_MAX): Likewise.
69017         [C99-based standards] (UINT32_MAX): Likewise.
69018         [C99-based standards] (UINT64_MAX): Likewise.
69019         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69020         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69021         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69022         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69023         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69024         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69025         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69026         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69027         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69028         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69029         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69030         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69031         [C99-based standards] (INT_FAST8_MIN): Likewise.
69032         [C99-based standards] (INT_FAST8_MAX): Likewise.
69033         [C99-based standards] (INT_FAST16_MIN): Likewise.
69034         [C99-based standards] (INT_FAST16_MAX): Likewise.
69035         [C99-based standards] (INT_FAST32_MIN): Likewise.
69036         [C99-based standards] (INT_FAST32_MAX): Likewise.
69037         [C99-based standards] (INT_FAST64_MIN): Likewise.
69038         [C99-based standards] (INT_FAST64_MAX): Likewise.
69039         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69040         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69041         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69042         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69043         [C99-based standards] (INTPTR_MIN): Likewise.
69044         [C99-based standards] (INTPTR_MAX): Likewise.
69045         [C99-based standards] (UINTPTR_MAX): Likewise.
69046         [C99-based standards] (INTMAX_MIN): Likewise.
69047         [C99-based standards] (INTMAX_MAX): Likewise.
69048         [C99-based standards] (UINTMAX_MAX): Likewise.
69049         [C99-based standards] (PTRDIFF_MIN): Likewise.
69050         [C99-based standards] (PTRDIFF_MAX): Likewise.
69051         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69052         [C99-based standards] (SIZE_MAX): Likewise.
69053         [C99-based standards] (WCHAR_MAX): Likewise.
69054         [C99-based standards] (WINT_MAX): Likewise.
69055         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69056         constraint on value.
69057         [C99-based standards] (WCHAR_MIN): Likewise.
69058         [C99-based standards] (WINT_MIN): Likewise.
69059         [C99-based standards] (*_t): Allow.
69060         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69061         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69062         Include math.h-data and complex.h-data.  Remove all expectations
69063         of math.h and complex.h contents.
69064         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69065         at end of line.
69066         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69067         (struct tm): Expect tag.
69068         [C99-based-standards] (wcstof): Expect function.
69069         [C99-based-standards] (wcstold): Likewise.
69070         [C99-based-standards] (wcstoll): Likewise.
69071         [C99-based-standards] (wcstoull): Likewise.
69072         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69073         macro-int-constant.  Specify type.
69074         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69075         constraint on value.
69076         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69077         Specify type.
69078         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69079         Specify value.
69080         [ISO C standards]: Do not allow headers.
69081         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69082         wcs[abcdefghijklmnopqrstuvwxyz]*.
69083         [ISO C standards] (*_t): Do not allow.
69084         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69085         Expect function.
69086         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69087         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69088         Specify type.
69089         [ISO C standards]: Do not allow headers.
69090         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69091         is[abcdefghijklmnopqrstuvwxyz]*.
69092         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69093         to[abcdefghijklmnopqrstuvwxyz]*.
69094         [ISO C standards] (*_t): Do not allow.
69095         * conform/data/stdalign.h-data: New file.
69096         * conform/data/stdbool.h-data: Likewise.
69097         * conform/data/stdnoreturn.h-data: Likewise.
69099 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69101         [BZ #14815]
69102         * manual/filesys.texi (Directory Entries): Typo fix.
69103         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69105 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69107         * elf/elf.h (EM_AARCH64): New macro.
69108         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69109         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69110         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69111         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69112         (R_AARCH64_TLSDESC): Likewise.
69113         (NT_ARM_TLS): Likewise.
69114         (NT_ARM_HW_BREAK): Likewise.
69115         (NT_ARM_HW_WATCH): Likewise.
69117 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69119         [BZ #14811]
69120         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69121         (__ieee754_powl): Saturate nonzero exponents with absolute value
69122         below 0x1p-79 to +/- 0x1p-79.
69123         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69124         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69125         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69126         nonzero exponents with absolute value below 0x1p-32 to +/-
69127         0x1p-32.
69128         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69129         (__ieee754_powl): Saturate nonzero exponents with absolute value
69130         below 0x1p-79 to +/- 0x1p-79.
69131         * math/libm-test.inc (pow_test): Add more tests.
69133 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69135         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69136         _dl_s390_cap_flags with kernel. Increase string length.
69137         (_dl_s390_platforms): Add z196 and zEC12.
69139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69141         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69142         Change XOPEN21K to XOPEN2K.
69144 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69146         * string/memmove.c: Use memcpy when possible.
69148 2012-11-06  Andreas Jaeger  <aj@suse.de>
69150         * po/eo.po: Update from translation team.
69152 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69154         [BZ #14793]
69155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69156         exponent and small x and y exponents, scale x or y up.  Increase
69157         by 2 the exponent used in scaling up.
69158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69160         * math/libm-test.inc (fma_test): Add more tests.
69161         (fma_test_towardzero): Likewise.
69162         (fma_test_downward): Likewise.
69163         (fma_test_upward): Likewise.
69165 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69167         [BZ #14805]
69168         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69169         fenv_t *.
69171         [BZ #14801]
69172         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69173         namespace for names of struct fields.
69174         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69175         fenv_t fields.
69176         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69177         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69179 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69181         [BZ #3665]
69182         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69184 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69186         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69187         PTR_DEMANGLE.
69189         [BZ #5246]
69190         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69191         PTR_DEMANGLE.
69193 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69195         [BZ #14797]
69196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69197         definitely overflow as x * y not x * y + z.
69198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69200         * math/libm-test.inc (fma_test): Add more tests.
69201         (fma_test_towardzero): Likewise.
69202         (fma_test_downward): Likewise.
69203         (fma_test_upward): Likewise.
69205 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69207         [BZ #157]
69209         * include/stub-tag.h: Remove file.
69210         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69211         '#include' of it.
69212         * manual/maint.texi (Porting): Don't reference it.
69213         * Makerules ($(objpfx)stubs): Likewise.
69214         * dirent/closedir.c: Don't include <stub-tag.h>.
69215         * dirent/dirfd.c: Likewise.
69216         * dirent/fdopendir.c: Likewise.
69217         * dirent/getdents.c: Likewise.
69218         * dirent/getdents64.c: Likewise.
69219         * dirent/opendir.c: Likewise.
69220         * dirent/readdir.c: Likewise.
69221         * dirent/readdir64.c: Likewise.
69222         * dirent/readdir64_r.c: Likewise.
69223         * dirent/readdir_r.c: Likewise.
69224         * dirent/rewinddir.c: Likewise.
69225         * dirent/seekdir.c: Likewise.
69226         * dirent/telldir.c: Likewise.
69227         * gmon/profil.c: Likewise.
69228         * grp/setgroups.c: Likewise.
69229         * inet/if_index.c: Likewise.
69230         * io/access.c: Likewise.
69231         * io/chdir.c: Likewise.
69232         * io/chmod.c: Likewise.
69233         * io/chown.c: Likewise.
69234         * io/close.c: Likewise.
69235         * io/dup.c: Likewise.
69236         * io/dup2.c: Likewise.
69237         * io/dup3.c: Likewise.
69238         * io/euidaccess.c: Likewise.
69239         * io/faccessat.c: Likewise.
69240         * io/fchdir.c: Likewise.
69241         * io/fchmod.c: Likewise.
69242         * io/fchmodat.c: Likewise.
69243         * io/fchown.c: Likewise.
69244         * io/fchownat.c: Likewise.
69245         * io/fcntl.c: Likewise.
69246         * io/flock.c: Likewise.
69247         * io/fstatfs.c: Likewise.
69248         * io/fstatfs64.c: Likewise.
69249         * io/fstatvfs.c: Likewise.
69250         * io/fstatvfs64.c: Likewise.
69251         * io/futimens.c: Likewise.
69252         * io/fxstat.c: Likewise.
69253         * io/fxstat64.c: Likewise.
69254         * io/fxstatat.c: Likewise.
69255         * io/fxstatat64.c: Likewise.
69256         * io/getcwd.c: Likewise.
69257         * io/isatty.c: Likewise.
69258         * io/lchmod.c: Likewise.
69259         * io/lchown.c: Likewise.
69260         * io/link.c: Likewise.
69261         * io/linkat.c: Likewise.
69262         * io/lseek.c: Likewise.
69263         * io/lseek64.c: Likewise.
69264         * io/lxstat64.c: Likewise.
69265         * io/mkdir.c: Likewise.
69266         * io/mkdirat.c: Likewise.
69267         * io/mkfifo.c: Likewise.
69268         * io/mkfifoat.c: Likewise.
69269         * io/open.c: Likewise.
69270         * io/open64.c: Likewise.
69271         * io/openat.c: Likewise.
69272         * io/openat64.c: Likewise.
69273         * io/pipe.c: Likewise.
69274         * io/pipe2.c: Likewise.
69275         * io/poll.c: Likewise.
69276         * io/posix_fadvise.c: Likewise.
69277         * io/posix_fadvise64.c: Likewise.
69278         * io/posix_fallocate.c: Likewise.
69279         * io/posix_fallocate64.c: Likewise.
69280         * io/read.c: Likewise.
69281         * io/readlink.c: Likewise.
69282         * io/readlinkat.c: Likewise.
69283         * io/rmdir.c: Likewise.
69284         * io/sendfile.c: Likewise.
69285         * io/sendfile64.c: Likewise.
69286         * io/statfs.c: Likewise.
69287         * io/statfs64.c: Likewise.
69288         * io/statvfs.c: Likewise.
69289         * io/statvfs64.c: Likewise.
69290         * io/symlink.c: Likewise.
69291         * io/symlinkat.c: Likewise.
69292         * io/ttyname.c: Likewise.
69293         * io/ttyname_r.c: Likewise.
69294         * io/umask.c: Likewise.
69295         * io/unlink.c: Likewise.
69296         * io/unlinkat.c: Likewise.
69297         * io/utime.c: Likewise.
69298         * io/utimensat.c: Likewise.
69299         * io/write.c: Likewise.
69300         * io/xmknod.c: Likewise.
69301         * io/xmknodat.c: Likewise.
69302         * io/xstat.c: Likewise.
69303         * io/xstat64.c: Likewise.
69304         * login/getpt.c: Likewise.
69305         * login/grantpt.c: Likewise.
69306         * login/unlockpt.c: Likewise.
69307         * math/e_acoshl.c: Likewise.
69308         * math/e_acosl.c: Likewise.
69309         * math/e_asinl.c: Likewise.
69310         * math/e_atan2l.c: Likewise.
69311         * math/e_atanhl.c: Likewise.
69312         * math/e_coshl.c: Likewise.
69313         * math/e_expl.c: Likewise.
69314         * math/e_fmodl.c: Likewise.
69315         * math/e_gammal_r.c: Likewise.
69316         * math/e_hypotl.c: Likewise.
69317         * math/e_j0l.c: Likewise.
69318         * math/e_j1l.c: Likewise.
69319         * math/e_jnl.c: Likewise.
69320         * math/e_lgammal_r.c: Likewise.
69321         * math/e_log10l.c: Likewise.
69322         * math/e_log2l.c: Likewise.
69323         * math/e_logl.c: Likewise.
69324         * math/e_powl.c: Likewise.
69325         * math/e_rem_pio2l.c: Likewise.
69326         * math/e_sinhl.c: Likewise.
69327         * math/e_sqrtl.c: Likewise.
69328         * math/fclrexcpt.c: Likewise.
69329         * math/fedisblxcpt.c: Likewise.
69330         * math/feenablxcpt.c: Likewise.
69331         * math/fegetenv.c: Likewise.
69332         * math/fegetexcept.c: Likewise.
69333         * math/fegetround.c: Likewise.
69334         * math/feholdexcpt.c: Likewise.
69335         * math/fesetenv.c: Likewise.
69336         * math/fesetround.c: Likewise.
69337         * math/feupdateenv.c: Likewise.
69338         * math/fgetexcptflg.c: Likewise.
69339         * math/fraiseexcpt.c: Likewise.
69340         * math/fsetexcptflg.c: Likewise.
69341         * math/ftestexcept.c: Likewise.
69342         * math/k_cosl.c: Likewise.
69343         * math/k_rem_pio2l.c: Likewise.
69344         * math/k_sinl.c: Likewise.
69345         * math/k_tanl.c: Likewise.
69346         * math/s_asinhl.c: Likewise.
69347         * math/s_atanl.c: Likewise.
69348         * math/s_cbrtl.c: Likewise.
69349         * math/s_erfl.c: Likewise.
69350         * math/s_expm1l.c: Likewise.
69351         * math/s_log1pl.c: Likewise.
69352         * math/s_tanhl.c: Likewise.
69353         * misc/acct.c: Likewise.
69354         * misc/brk.c: Likewise.
69355         * misc/chflags.c: Likewise.
69356         * misc/chroot.c: Likewise.
69357         * misc/fchflags.c: Likewise.
69358         * misc/fgetxattr.c: Likewise.
69359         * misc/flistxattr.c: Likewise.
69360         * misc/fremovexattr.c: Likewise.
69361         * misc/fsetxattr.c: Likewise.
69362         * misc/fsync.c: Likewise.
69363         * misc/ftruncate.c: Likewise.
69364         * misc/futimes.c: Likewise.
69365         * misc/futimesat.c: Likewise.
69366         * misc/getdomain.c: Likewise.
69367         * misc/getdtsz.c: Likewise.
69368         * misc/gethostid.c: Likewise.
69369         * misc/gethostname.c: Likewise.
69370         * misc/getloadavg.c: Likewise.
69371         * misc/getpagesize.c: Likewise.
69372         * misc/getsysstats.c: Likewise.
69373         * misc/getxattr.c: Likewise.
69374         * misc/gtty.c: Likewise.
69375         * misc/ioctl.c: Likewise.
69376         * misc/lgetxattr.c: Likewise.
69377         * misc/listxattr.c: Likewise.
69378         * misc/llistxattr.c: Likewise.
69379         * misc/lremovexattr.c: Likewise.
69380         * misc/lsetxattr.c: Likewise.
69381         * misc/lutimes.c: Likewise.
69382         * misc/madvise.c: Likewise.
69383         * misc/mincore.c: Likewise.
69384         * misc/mlock.c: Likewise.
69385         * misc/mlockall.c: Likewise.
69386         * misc/mmap.c: Likewise.
69387         * misc/mprotect.c: Likewise.
69388         * misc/msync.c: Likewise.
69389         * misc/munlock.c: Likewise.
69390         * misc/munlockall.c: Likewise.
69391         * misc/munmap.c: Likewise.
69392         * misc/preadv.c: Likewise.
69393         * misc/preadv64.c: Likewise.
69394         * misc/ptrace.c: Likewise.
69395         * misc/pwritev.c: Likewise.
69396         * misc/pwritev64.c: Likewise.
69397         * misc/readv.c: Likewise.
69398         * misc/reboot.c: Likewise.
69399         * misc/remap_file_pages.c: Likewise.
69400         * misc/removexattr.c: Likewise.
69401         * misc/revoke.c: Likewise.
69402         * misc/select.c: Likewise.
69403         * misc/setdomain.c: Likewise.
69404         * misc/setegid.c: Likewise.
69405         * misc/seteuid.c: Likewise.
69406         * misc/sethostid.c: Likewise.
69407         * misc/sethostname.c: Likewise.
69408         * misc/setregid.c: Likewise.
69409         * misc/setreuid.c: Likewise.
69410         * misc/setxattr.c: Likewise.
69411         * misc/sstk.c: Likewise.
69412         * misc/stty.c: Likewise.
69413         * misc/swapoff.c: Likewise.
69414         * misc/swapon.c: Likewise.
69415         * misc/sync.c: Likewise.
69416         * misc/syncfs.c: Likewise.
69417         * misc/syscall.c: Likewise.
69418         * misc/truncate.c: Likewise.
69419         * misc/ualarm.c: Likewise.
69420         * misc/usleep.c: Likewise.
69421         * misc/ustat.c: Likewise.
69422         * misc/utimes.c: Likewise.
69423         * misc/vhangup.c: Likewise.
69424         * misc/writev.c: Likewise.
69425         * posix/_exit.c: Likewise.
69426         * posix/alarm.c: Likewise.
69427         * posix/execve.c: Likewise.
69428         * posix/fexecve.c: Likewise.
69429         * posix/fork.c: Likewise.
69430         * posix/fpathconf.c: Likewise.
69431         * posix/getaddrinfo.c: Likewise.
69432         * posix/getegid.c: Likewise.
69433         * posix/geteuid.c: Likewise.
69434         * posix/getgid.c: Likewise.
69435         * posix/getgroups.c: Likewise.
69436         * posix/getlogin.c: Likewise.
69437         * posix/getlogin_r.c: Likewise.
69438         * posix/getpgid.c: Likewise.
69439         * posix/getpid.c: Likewise.
69440         * posix/getppid.c: Likewise.
69441         * posix/getresgid.c: Likewise.
69442         * posix/getresuid.c: Likewise.
69443         * posix/getsid.c: Likewise.
69444         * posix/getuid.c: Likewise.
69445         * posix/glob64.c: Likewise.
69446         * posix/nanosleep.c: Likewise.
69447         * posix/pathconf.c: Likewise.
69448         * posix/pause.c: Likewise.
69449         * posix/posix_madvise.c: Likewise.
69450         * posix/pread.c: Likewise.
69451         * posix/pread64.c: Likewise.
69452         * posix/pwrite.c: Likewise.
69453         * posix/pwrite64.c: Likewise.
69454         * posix/sched_getaffinity.c: Likewise.
69455         * posix/sched_getp.c: Likewise.
69456         * posix/sched_gets.c: Likewise.
69457         * posix/sched_primax.c: Likewise.
69458         * posix/sched_primin.c: Likewise.
69459         * posix/sched_rr_gi.c: Likewise.
69460         * posix/sched_setaffinity.c: Likewise.
69461         * posix/sched_setp.c: Likewise.
69462         * posix/sched_sets.c: Likewise.
69463         * posix/sched_yield.c: Likewise.
69464         * posix/setgid.c: Likewise.
69465         * posix/setlogin.c: Likewise.
69466         * posix/setpgid.c: Likewise.
69467         * posix/setresgid.c: Likewise.
69468         * posix/setresuid.c: Likewise.
69469         * posix/setsid.c: Likewise.
69470         * posix/setuid.c: Likewise.
69471         * posix/sleep.c: Likewise.
69472         * posix/spawni.c: Likewise.
69473         * posix/sysconf.c: Likewise.
69474         * posix/times.c: Likewise.
69475         * posix/wait.c: Likewise.
69476         * posix/wait3.c: Likewise.
69477         * posix/wait4.c: Likewise.
69478         * posix/waitpid.c: Likewise.
69479         * resolv/gai_sigqueue.c: Likewise.
69480         * resource/getpriority.c: Likewise.
69481         * resource/getrlimit.c: Likewise.
69482         * resource/getrusage.c: Likewise.
69483         * resource/nice.c: Likewise.
69484         * resource/setpriority.c: Likewise.
69485         * resource/setrlimit.c: Likewise.
69486         * resource/ulimit.c: Likewise.
69487         * rt/aio_cancel.c: Likewise.
69488         * rt/aio_fsync.c: Likewise.
69489         * rt/aio_read.c: Likewise.
69490         * rt/aio_sigqueue.c: Likewise.
69491         * rt/aio_suspend.c: Likewise.
69492         * rt/aio_write.c: Likewise.
69493         * rt/clock_getres.c: Likewise.
69494         * rt/clock_gettime.c: Likewise.
69495         * rt/clock_nanosleep.c: Likewise.
69496         * rt/clock_settime.c: Likewise.
69497         * rt/lio_listio.c: Likewise.
69498         * rt/mq_close.c: Likewise.
69499         * rt/mq_getattr.c: Likewise.
69500         * rt/mq_notify.c: Likewise.
69501         * rt/mq_open.c: Likewise.
69502         * rt/mq_receive.c: Likewise.
69503         * rt/mq_send.c: Likewise.
69504         * rt/mq_setattr.c: Likewise.
69505         * rt/mq_timedreceive.c: Likewise.
69506         * rt/mq_timedsend.c: Likewise.
69507         * rt/mq_unlink.c: Likewise.
69508         * rt/shm_open.c: Likewise.
69509         * rt/shm_unlink.c: Likewise.
69510         * rt/timer_create.c: Likewise.
69511         * rt/timer_delete.c: Likewise.
69512         * rt/timer_getoverr.c: Likewise.
69513         * rt/timer_gettime.c: Likewise.
69514         * rt/timer_settime.c: Likewise.
69515         * setjmp/__longjmp.c: Likewise.
69516         * setjmp/setjmp.c: Likewise.
69517         * signal/kill.c: Likewise.
69518         * signal/killpg.c: Likewise.
69519         * signal/raise.c: Likewise.
69520         * signal/sigaction.c: Likewise.
69521         * signal/sigaltstack.c: Likewise.
69522         * signal/sigblock.c: Likewise.
69523         * signal/sigignore.c: Likewise.
69524         * signal/sigintr.c: Likewise.
69525         * signal/signal.c: Likewise.
69526         * signal/sigpause.c: Likewise.
69527         * signal/sigpending.c: Likewise.
69528         * signal/sigqueue.c: Likewise.
69529         * signal/sigreturn.c: Likewise.
69530         * signal/sigset.c: Likewise.
69531         * signal/sigsetmask.c: Likewise.
69532         * signal/sigstack.c: Likewise.
69533         * signal/sigsuspend.c: Likewise.
69534         * signal/sigtimedwait.c: Likewise.
69535         * signal/sigvec.c: Likewise.
69536         * signal/sigwait.c: Likewise.
69537         * signal/sigwaitinfo.c: Likewise.
69538         * signal/sysv_signal.c: Likewise.
69539         * socket/accept.c: Likewise.
69540         * socket/accept4.c: Likewise.
69541         * socket/bind.c: Likewise.
69542         * socket/connect.c: Likewise.
69543         * socket/getpeername.c: Likewise.
69544         * socket/getsockname.c: Likewise.
69545         * socket/getsockopt.c: Likewise.
69546         * socket/isfdtype.c: Likewise.
69547         * socket/listen.c: Likewise.
69548         * socket/recv.c: Likewise.
69549         * socket/recvfrom.c: Likewise.
69550         * socket/recvmsg.c: Likewise.
69551         * socket/send.c: Likewise.
69552         * socket/sendmsg.c: Likewise.
69553         * socket/sendto.c: Likewise.
69554         * socket/setsockopt.c: Likewise.
69555         * socket/shutdown.c: Likewise.
69556         * socket/sockatmark.c: Likewise.
69557         * socket/socket.c: Likewise.
69558         * socket/socketpair.c: Likewise.
69559         * stdio-common/ctermid.c: Likewise.
69560         * stdio-common/cuserid.c: Likewise.
69561         * stdio-common/remove.c: Likewise.
69562         * stdio-common/rename.c: Likewise.
69563         * stdio-common/renameat.c: Likewise.
69564         * stdio-common/tempname.c: Likewise.
69565         * stdlib/getcontext.c: Likewise.
69566         * stdlib/makecontext.c: Likewise.
69567         * stdlib/setcontext.c: Likewise.
69568         * stdlib/swapcontext.c: Likewise.
69569         * stdlib/system.c: Likewise.
69570         * streams/fattach.c: Likewise.
69571         * streams/fdetach.c: Likewise.
69572         * streams/getmsg.c: Likewise.
69573         * streams/getpmsg.c: Likewise.
69574         * streams/putmsg.c: Likewise.
69575         * streams/putpmsg.c: Likewise.
69576         * sysdeps/unix/bsd/getpt.c: Likewise.
69577         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69578         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69579         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69581         Likewise.
69582         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69583         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69584         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69585         * sysvipc/msgctl.c: Likewise.
69586         * sysvipc/msgget.c: Likewise.
69587         * sysvipc/msgrcv.c: Likewise.
69588         * sysvipc/msgsnd.c: Likewise.
69589         * sysvipc/semctl.c: Likewise.
69590         * sysvipc/semget.c: Likewise.
69591         * sysvipc/semop.c: Likewise.
69592         * sysvipc/semtimedop.c: Likewise.
69593         * sysvipc/shmat.c: Likewise.
69594         * sysvipc/shmctl.c: Likewise.
69595         * sysvipc/shmdt.c: Likewise.
69596         * sysvipc/shmget.c: Likewise.
69597         * termios/tcdrain.c: Likewise.
69598         * termios/tcflow.c: Likewise.
69599         * termios/tcflush.c: Likewise.
69600         * termios/tcgetattr.c: Likewise.
69601         * termios/tcgetpgrp.c: Likewise.
69602         * termios/tcsendbrk.c: Likewise.
69603         * termios/tcsetattr.c: Likewise.
69604         * termios/tcsetpgrp.c: Likewise.
69605         * time/adjtime.c: Likewise.
69606         * time/clock.c: Likewise.
69607         * time/getitimer.c: Likewise.
69608         * time/gettimeofday.c: Likewise.
69609         * time/setitimer.c: Likewise.
69610         * time/settimeofday.c: Likewise.
69611         * time/stime.c: Likewise.
69612         * time/time.c: Likewise.
69614 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69616         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69617         /usr/old/bin.
69619         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69620         instead of spaces.
69621         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69623 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69625         [BZ #14796]
69626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69627         FE_TONEAREST before applying Dekker multiplication and Knuth
69628         addition.  Clear inexact exceptions and check for exact zero
69629         results afterwards.
69630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69633         * math/libm-test.inc (fma_test): Add more tests.
69634         (fma_test_towardzero): Likewise.
69635         (fma_test_downward): Likewise.
69636         (fma_test_upward): Likewise.
69637         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69638         function.
69639         (libc_fesetround): New macro.
69640         (libc_fesetroundf): Likewise.
69641         (libc_fesetroundl): Likewise.
69642         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69643         function.
69644         (libc_fesetround_387): Likewise.
69645         (libc_fesetroundf): New macro.
69646         (libc_fesetround): Likewise.
69647         (libc_fesetroundl): Likewise.
69648         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69649         function.
69650         (libc_fesetroundf): New macro.
69651         (libc_fesetround): Likewise.
69652         (libc_fesetroundl): Likewise.
69653         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69654         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69655         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69656         libm_hidden_ver.
69657         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69658         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69659         libm_hidden_def.
69660         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69661         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69662         libm_hidden_ver.
69663         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69664         libm_hidden_def.
69666         [BZ #3439]
69667         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69668         integer constant usable in #if and use that to give value to enum
69669         constant.
69670         (FE_DIVBYZERO): Likewise.
69671         (FE_UNDERFLOW): Likewise.
69672         (FE_OVERFLOW): Likewise.
69673         (FE_INVALID): Likewise.
69674         (FE_INVALID_SNAN): Likewise.
69675         (FE_INVALID_ISI): Likewise.
69676         (FE_INVALID_IDI): Likewise.
69677         (FE_INVALID_ZDZ): Likewise.
69678         (FE_INVALID_IMZ): Likewise.
69679         (FE_INVALID_COMPARE): Likewise.
69680         (FE_INVALID_SOFTWARE): Likewise.
69681         (FE_INVALID_SQRT): Likewise.
69682         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69683         (FE_TONEAREST): Likewise.
69684         (FE_TOWARDZERO): Likewise.
69685         (FE_UPWARD): Likewise.
69686         (FE_DOWNWARD): Likewise.
69687         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69688         (FE_DIVBYZERO): Likewise.
69689         (FE_OVERFLOW): Likewise.
69690         (FE_UNDERFLOW): Likewise.
69691         (FE_INEXACT): Likewise.
69692         (FE_TONEAREST): Likewise.
69693         (FE_DOWNWARD): Likewise.
69694         (FE_UPWARD): Likewise.
69695         (FE_TOWARDZERO): Likewise.
69696         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69697         (FE_UNDERFLOW): Likewise.
69698         (FE_OVERFLOW): Likewise.
69699         (FE_DIVBYZERO): Likewise.
69700         (FE_INVALID): Likewise.
69701         (FE_TONEAREST): Likewise.
69702         (FE_TOWARDZERO): Likewise.
69703         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69704         (FE_OVERFLOW): Likewise.
69705         (FE_UNDERFLOW): Likewise.
69706         (FE_DIVBYZERO): Likewise.
69707         (FE_INEXACT): Likewise.
69708         (FE_TONEAREST): Likewise.
69709         (FE_TOWARDZERO): Likewise.
69710         (FE_UPWARD): Likewise.
69711         (FE_DOWNWARD): Likewise.
69712         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69713         (FE_DIVBYZERO): Likewise.
69714         (FE_OVERFLOW): Likewise.
69715         (FE_UNDERFLOW): Likewise.
69716         (FE_INEXACT): Likewise.
69717         (FE_TONEAREST): Likewise.
69718         (FE_DOWNWARD): Likewise.
69719         (FE_UPWARD): Likewise.
69720         (FE_TOWARDZERO): Likewise.
69722 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69724         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69726 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69728         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69729         commands.  Quote $PWD.
69730         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69731         -x" by "export".
69732         (remove_newlines): Remove.
69734 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69736         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69737         * stdlib/stdlib.h (atof): Moved to ...
69738         * include/bits/stdlib-float.h: Here.  New file.
69739         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69740         * stdlib/bits/stdlib-float.h: New file.
69741         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69742         -mno-sse -mno-mmx.
69743         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69744         <xmmintrin.h>.
69746 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69748         * conform/conformtest.pl (@headers): Add fenv.h.
69749         * conform/data/fenv.h-data: New file.
69750         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69751         include of <math/fenv.h>.
69753         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69754         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69755         && !UNIX98].  Enables tests for XOPEN2K8.
69756         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69757         POSIX2008]: Likewise.
69759         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69760         (struct rusage): Do not expect type or its members.
69762         [BZ #3439]
69763         * math/math.h (FP_NAN): Define macro to integer constant usable in
69764         #if and use that to give value to enum constant.
69765         (FP_INFINITE): Likewise.
69766         (FP_ZERO): Likewise.
69767         (FP_SUBNORMAL): Likewise.
69768         (FP_NORMAL): Likewise.
69770 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69772         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69773         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69774         arguments.
69776 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69778         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69779         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69780         autoconf-time if not.
69781         * configure.in: Remove AC_PREREQ.
69783 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69785         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69786         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69787         of the internal implementation.
69789 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69791         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69792         except include of <misc/sys/syslog.h>.
69794 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69797         function returns with a NULL context exit with zero.
69799 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69801         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69803 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69805         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69806         (run_program_cmd): This.
69807         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69808         (tst_langinfo): New variable.  Use it.
69810 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69812         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69813         floating point opcodes.
69815 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69817         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69818         variable.
69820         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69822         * sysdeps/mach/hurd/powerpc: Remove directory.
69823         * sysdeps/mach/powerpc: Likewise.
69825 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69827         * scripts/check-local-headers.sh: Ignore c++ headers.
69829 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69831         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69832         __libc_cleanup_region_start argument.
69834 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69836         [BZ #14784]
69837         [BZ #14785]
69838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69839         x * y using scaling, not as x * y + z.
69840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69842         * math/libm-test.inc (fma_test): Add more tests.
69843         (fma_test_towardzero): Likewise.
69844         (fma_test_downward): Likewise.
69845         (fma_test_upward): Likewise.
69847 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69849         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69851 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69853         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69854         New variable.
69856 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69858         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69860 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69863         Fix sort order.
69864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69865         Likewise.
69867 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69870         Fix the order of the list for glibc 2.17.
69871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69872         Likewise.
69874 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69878 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69880         [BZ #14610]
69881         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69882         for low part of x being zero before using __atanl (y).
69883         * math/libm-test.inc (atan2_test): Add another test.
69885         * manual/install.texi (Configuring and compiling): Document
69886         general use of test-wrapper and test-wrapper-env.
69887         * INSTALL: Regenerated.
69889         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69890         (__fma): Do not extract and scale down low bits on after-rounding
69891         systems when result rounded to normal precision would have normal
69892         exponent.
69893         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69894         (__fmal): Do not extract and scale down low bits on after-rounding
69895         systems when result rounded to normal precision would have normal
69896         exponent.
69897         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69898         (__fmal): Do not extract and scale down low bits on after-rounding
69899         systems when result rounded to normal precision would have normal
69900         exponent.
69901         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69902         macro.
69903         (fma_test): Add more tests.
69904         (fma_test_towardzero): Likewise.
69905         (fma_test_downward): Likewise.
69906         (fma_test_upward): Likewise.
69908 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69910         * sysdeps/i386/tininess.h: Renamed to ...
69911         * sysdeps/x86/tininess.h: This.
69912         * sysdeps/x86_64/tininess.h: Removed.
69914 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69916         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69917         input.  Use $(build-program-cmd).
69918         ($(objpfx)tst-array1-static.out): Likewise.
69919         ($(objpfx)tst-array2.out): Likewise.
69920         ($(objpfx)tst-array3.out): Likewise.
69921         ($(objpfx)tst-array4.out): Likewise.
69922         ($(objpfx)tst-array5.out): Likewise.
69923         ($(objpfx)tst-array5-static.out): Likewise.
69925 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69927         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69928         if defined.
69930         * nss/nsswitch.h (nss_interface_function): Provide new
69931         macro for use with NSS functions.
69932         * grp/initgroups.c: Use new macro.
69933         * nss/getXXbyYY.c: Likewise.
69934         * nss/getXXbyYY_r.c: Likewise.
69935         * nss/getXXent.c: Likewise.
69936         * nss/getXXent_r.c: Likewise.
69937         * sysdeps/posix/getaddrinfo.c: Likewise.
69939 2012-10-30  Andreas Jaeger  <aj@suse.de>
69941         * po/ru.po: Update Russion translation from translation project.
69943 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69945         [BZ #14152]
69946         [BZ #14783]
69947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69948         result and shift together with sticky bit instead of replicating
69949         round-to-nearest rounding.
69950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69952         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69953         missing underflow exceptions.
69954         (fma_test_towardzero): Add more tests.
69955         (fma_test_downward): Likewise.
69956         (fma_test_upward): Likewise.
69958         [BZ #14047]
69959         * sysdeps/generic/tininess.h: New file.
69960         * sysdeps/i386/tininess.h: Likewise.
69961         * sysdeps/sh/tininess.h: Likewise.
69962         * sysdeps/x86_64/tininess.h: Likewise.
69963         * stdlib/tst-strtod-underflow.c: Likewise.
69964         * stdlib/tst-tininess.c: Likewise.
69965         * stdlib/strtod_l.c: Include <tininess.h>.
69966         (round_and_return): Do not set errno for exact underflow cases.
69967         Force an underflow exception when setting errno for underflow.
69968         Determine underflow based on rounding to normal precision if
69969         TININESS_AFTER_ROUNDING.
69970         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69971         ERANGE for exact underflow cases.
69972         * stdlib/Makefile (tests): Add tst-tininess and
69973         tst-strtod-underflow.
69974         ($(objpfx)tst-tininess): Use $(link-libm).
69975         ($(objpfx)tst-strtod-underflow): Likewise.
69977 2012-10-30  Andreas Jaeger  <aj@suse.de>
69979         [BZ #14767]
69980         * elf/Makefile (tests): Remove conditional for have-initfini-array
69981         since this is now always required and the variable does not exist
69982         anymore.
69983         (tests-static): Likewise.
69984         (modules-names): Likewise.
69986         * po/eo.po: Add Esperanto translation from translation project.
69988         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69989         merged with constructor/destructor.
69990         (init_array): Likewise.
69991         * elf/tst-array2dep.c (fini_array): Likewise.
69992         (init_array): Likewise.
69994 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69996         * manual/message.texi: Delete @cartouche tags.
69998 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70000         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70001         EOPNOTSUPP.
70002         * sysdeps/mach/hurd/fsync.c: Likewise.
70004         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70005         [_POSIX_REALTIME_SIGNALS]: Change condition to
70006         [_POSIX_REALTIME_SIGNALS > 0].
70008 2012-10-27  Andreas Jaeger  <aj@suse.de>
70010         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70011         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70013         [__WORDSIZE != 64]: Likewise.
70015 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70017         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70018         *  iconvdata/tst-tables.sh: Likewise.
70020 2012-10-25  David S. Miller  <davem@davemloft.net>
70022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70023         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70024         of strtoull.
70026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70027         ifunc-impl-list.c
70028         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70029         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70030         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70031         file.
70033 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70035         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70036         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70037         __getdirentries.
70039 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70040             Jim Blandy  <jimb@codesourcery.com>
70042         * scripts/cross-test-ssh.sh: New file.
70043         * manual/install.texi (Configuring and compiling): Document use of
70044         cross-test-ssh.sh.
70045         * INSTALL: Regenerated.
70047 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70049         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70050         EOPNOTSUPP.
70052 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70054         * Makeconfig (run-program-prefix): Fix comment.
70056 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70057             Jim Blandy  <jimb@codesourcery.com>
70059         * Makeconfig (test-wrapper): New variable,
70060         (test-wrapper-env): Likewise.
70061         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70062         (run-built-tests): Define to yes.
70063         (run-program-prefix): Use $(test-wrapper).
70064         (built-program-cmd): Likewise.
70065         * Rules (make-test-out): Use $(test-wrapper-env) and
70066         $(host-built-program-cmd).
70067         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70068         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70069         tst-pathopt.sh.
70070         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70071         $(test-wrapper-env) to tst-rtld-load-self.sh.
70072         ($(objpfx)order2.out): Use $(test-wrapper).
70073         ($(objpfx)tst-initorder.out): Likewise.
70074         ($(objpfx)tst-initorder2.out): Likewise.
70075         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70076         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70077         (test_wrapper_env): New variable.  Use it to run ld.so.
70078         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70079         Use it to run ld.so.
70080         (test_wrapper_env): Likewise.
70081         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70082         $(test-wrapper) to run-iconv-test.sh.
70083         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70084         (ICONV): Use $test_wrapper.
70085         * posix/Makefile ($(objpfx)globtest.out): Pass
70086         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70087         globtest.sh, not $(run-program-prefix).
70088         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70089         (test_wrapper): Likewise.
70090         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70091         set together with run_via_rtld_prefix.
70092         (run_program_prefix): Define in terms of test_wrapper and
70093         run_via_rtld_prefix.
70095 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70097         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70098         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70099         Targets removed.
70101         [BZ #14743]
70102         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70103         Declare __clock_getres, __clock_gettime, __clock_settime,
70104         __clock_nanosleep, and __clock_getcpuclockid.
70105         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70106         Remove librt_hidden_def (clock_gettime).
70107         * sysdeps/unix/clock_gettime.c: Likewise.
70108         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70109         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70110         * rt/clock_getres.c: Define __clock_getres as an alias.
70111         * sysdeps/posix/clock_getres.c: Likewise.
70112         * rt/clock_settime.c: Define __clock_settime as an alias.
70113         * sysdeps/unix/clock_settime.c: Likewise.
70114         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70115         * sysdeps/unix/clock_nanosleep.c: Likewise.
70116         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70117         * rt/clock-compat.c: New file.
70118         * rt/Makefile (librt-routines): Add clock-compat and move
70119         $(clock-routines) to ...
70120         (routines): ... here, new variable.
70121         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70122         Don't add get_clockfreq here.
70123         * rt/Versions (libc: GLIBC_2.17): New version set.
70124         Add clock_* symbols here.
70125         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70126         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70127         (GLIBC_2.17): Add clock_* symbols.
70128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70132         Likewise.
70133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70134         Likewise.
70135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70139         * NEWS: Mention the move.
70141         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70142         Use __open, __read, __close rather than their public counterparts.
70143         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70144         (__get_clockfreq_via_cpuinfo): Likewise.
70145         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70146         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70148         * config.h.in (HAVE_IFUNC): New #undef.
70149         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70150         was successful.
70151         * configure: Regenerated.
70153 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70155         * configure.in: Move READELF check to start of file.
70156         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70157         libc_cv_asm_gnu_indirect_function in the process.
70158         * configure: Regenerated.
70160 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70162         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70163         send the output to /dev/null.
70164         (libc_cv_cc_with_libunwind): Likewise.
70165         (libc_cv_as_noexecstack): Likewise.
70166         * configure: Regenerate.
70168 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70170         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70172         * posix/globtest.sh (TMPDIR): Do not set.
70173         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70174         (testout): Likewise.
70176 2012-10-24  Andreas Jaeger  <aj@suse.de>
70178         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70179         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70180         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70181         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70182         posix_fadvise64, posix_fallocate64.
70184         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70185         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70186         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70187         Likewise.
70188         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70189         Likewise.
70190         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70193         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70194         <bits/fcntl-linux.h>.
70195         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70198         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70199         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70200         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70201         [__WORDSIZE != 64]: Likewise.
70203 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70205         * Makeconfig (run-built-tests): New variable.
70206         * Rules [$(cross-compiling) = yes]: Change condition to
70207         [$(run-built-tests) = no].
70208         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70209         to [$(run-built-tests) = yes].
70210         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70211         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70212         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70213         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70214         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70215         * io/Makefile [$(cross-compiling) = no]: Likewise.
70216         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70217         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70218         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70219         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70220         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70221         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70222         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70223         * string/Makefile [$(cross-compiling) = no]: Likewise.
70225         * posix/Makefile ($(objpfx)globtest.out): Pass
70226         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70227         $(rtld-installed-name).
70228         * posix/globtest.sh (elf_objpfx): Remove variable.
70229         (rtld_installed_name): Likewise.
70230         (library_path): Likewise.
70231         (run_program_prefix): New variable.  Use for running globtest
70232         binary.
70234 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70235             Joseph Myers  <joseph@codesourcery.com>
70237         * Makeconfig (host-built-program-cmd): New variable.
70238         * elf/Makefile (tst-stackguard1-ARGS): Use
70239         $(host-built-program-cmd).
70240         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70241         (tst-spawn-ARGS): Likewise.
70242         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70244 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70245             Jim Blandy  <jimb@codesourcery.com>
70247         * Makeconfig (run-via-rtld-prefix): New variable.
70248         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70249         (built-program-cmd): Likewise.
70251 2012-10-22  Andreas Jaeger  <aj@suse.de>
70253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70254         __O_RSYNC if it exists, otherwise to O_SYNC.
70256 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70257             Joseph Myers  <joseph@codesourcery.com>
70259         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70260         /dev/null.
70261         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70262         from /dev/null
70263         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70264         /dev/null.
70266 2012-10-22  Andreas Jaeger  <aj@suse.de>
70268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70269         Define always.
70270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70273         bits/fcntl-linux.h.
70275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70276         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70279         to __O_LARGEFILE.
70280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70281         to __O_LARGEFILE.
70283 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70284             Joseph Myers  <joseph@codesourcery.com>
70286         * config.make.in (NM): New variable.
70288 2012-10-21  Andreas Jaeger  <aj@suse.de>
70290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70291         definitions and declarations that are provided by
70292         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70294 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70296         [BZ #14683]
70297         * elf/Makefile (tests-static): Add tst-leaks1-static.
70298         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70299         ($(objpfx)tst-leaks1-static): New rule.
70300         ($(objpfx)tst-leaks1-static-mem): Likewise.
70301         (tst-leaks1-static-ENV): New macro.
70302         * elf/dl-open.c (dl_open_worker): Check the main application
70303         only if SHARED is defined.
70304         * elf/tst-leaks1-static.c: New file.
70306 2012-10-20  Andreas Jaeger  <aj@suse.de>
70308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70309         generic values for Linux.
70310         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70311         and declarations that are provided by <bits/fcntl-linux.h> and
70312         include <bits/fcntl-linux.h>.
70313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70314         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70316 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70318         * io/fcntl.h: Move include of <bits/types.h> to the top and
70319         include it unconditionally.
70321 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70323         * wcsmbs/Makefile (tests-ifunc): New variable.
70324         (tests): Add $(tests-ifunc).
70325         * wcsmbs/test-wcschr-ifunc.c: New file.
70326         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70327         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70328         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70329         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70330         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70332         * string/Makefile (tests-ifunc): New variable.
70333         (tests): Add $(tests-ifunc).
70334         * string/test-memccpy.c (TEST_NAME): New macro.
70335         * string/test-memchr.c (TEST_NAME): Likewise.
70336         * string/test-memcmp.c (TEST_NAME): Likewise.
70337         * string/test-memcpy.c (TEST_NAME): Likewise.
70338         * string/test-memmem.c (TEST_NAME): Likewise.
70339         * string/test-memmove.c (TEST_NAME): Likewise.
70340         * string/test-memset.c (TEST_NAME): Likewise.
70341         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70342         * string/test-stpcpy.c (TEST_NAME): Likewise.
70343         * string/test-stpncpy.c (TEST_NAME): Likewise.
70344         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70345         * string/test-strcasestr.c (TEST_NAME): Likewise.
70346         * string/test-strcat.c (TEST_NAME): Likewise.
70347         * string/test-strchr.c (TEST_NAME): Likewise.
70348         * string/test-strcmp.c(TEST_NAME): Likewise.
70349         * string/test-strcpy.c (TEST_NAME): Likewise.
70350         * string/test-strcspn.c (TEST_NAME): Likewise.
70351         * string/test-strlen.c (TEST_NAME): Likewise.
70352         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70353         * string/test-strncmp.c (TEST_NAME): Likewise.
70354         * string/test-strncpy.c (TEST_NAME): Likewise.
70355         * string/test-strnlen.c (TEST_NAME): Likewise.
70356         * string/test-strpbrk.c (TEST_NAME): Likewise.
70357         * string/test-strrchr.c (TEST_NAME): Likewise.
70358         * string/test-strspn.c (TEST_NAME): Likewise.
70359         * string/test-strstr.c (TEST_NAME): Likewise.
70360         * string/test-bcopy-ifunc.c: New file.
70361         * string/test-bzero-ifunc.c: Likewise.
70362         * string/test-memccpy-ifunc.c: Likewise.
70363         * string/test-memchr-ifunc.c: Likewise.
70364         * string/test-memcmp-ifunc.c: Likewise.
70365         * string/test-memcpy-ifunc.c: Likewise.
70366         * string/test-memmem-ifunc.c: Likewise.
70367         * string/test-memmove-ifunc.c: Likewise.
70368         * string/test-mempcpy-ifunc.c: Likewise.
70369         * string/test-memset-ifunc.c: Likewise.
70370         * string/test-rawmemchr-ifunc.c: Likewise.
70371         * string/test-stpcpy-ifunc.c: Likewise.
70372         * string/test-stpncpy-ifunc.c: Likewise.
70373         * string/test-strcasecmp-ifunc.c: Likewise.
70374         * string/test-strcasestr-ifunc.c: Likewise.
70375         * string/test-strcat-ifunc.c: Likewise.
70376         * string/test-strchr-ifunc.c: Likewise.
70377         * string/test-strchrnul-ifunc.c: Likewise.
70378         * string/test-strcmp-ifunc.c: Likewise.
70379         * string/test-strcpy-ifunc.c: Likewise.
70380         * string/test-strcspn-ifunc.c: Likewise.
70381         * string/test-strlen-ifunc.c: Likewise.
70382         * string/test-strncasecmp-ifunc.c: Likewise.
70383         * string/test-strncat-ifunc.c: Likewise.
70384         * string/test-strncmp-ifunc.c: Likewise.
70385         * string/test-strncpy-ifunc.c: Likewise.
70386         * string/test-strnlen-ifunc.c: Likewise.
70387         * string/test-strpbrk-ifunc.c: Likewise.
70388         * string/test-strrchr-ifunc.c: Likewise.
70389         * string/test-strspn-ifunc.c: Likewise.
70390         * string/test-strstr-ifunc.c: Likewise.
70392         * debug/Makefile (tests-ifunc): New variable.
70393         (tests): Add $(tests-ifunc).
70394         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70395         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70396         * debug/test-stpcpy_chk-ifunc.c: New file.
70397         * debug/test-strcpy_chk-ifunc.c: Likewise.
70399 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70401         [BZ #13601]
70402         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70403         header is not read in.
70405 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70407         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70408         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70409         directly.  Pass built executable to script as
70410         $(built-program-cmd).
70411         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70412         $testprogram without using LD_LIBRARY_PATH and $ldso.
70414         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70415         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70416         $(rtld-installed-name).
70417         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70418         (rtld_installed_name): Likewise.
70419         (library_path): Likewise.
70420         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70421         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70422         $(run-program-prefix) to tst-tables.sh.
70423         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70424         it to run tst-table-from and tst-table-to.
70425         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70426         Pass it to tst-table.sh.
70427         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70428         $(run-program-prefix) to tst-gettext.sh.
70429         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70430         tst-translit.sh.
70431         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70432         tst-gettext2.sh.
70433         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70434         to run tst-gettext.
70435         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70436         to run tst-gettext2.
70437         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70438         to run tst-translit.
70439         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70440         $(run-program-prefix) to tst-mtrace.sh.
70441         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70442         to run tst-mtrace.
70443         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70444         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70445         $(rtld-installed-name).
70446         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70447         (rtld_installed_name): Likewise.
70448         (run_program_prefix): New variable.  Use it to run wordexp-test.
70450         * Makeconfig (ARCH): Remove all definitions.
70451         (machine): Likewise.
70452         [ARCH]: Remove conditional code.
70453         [!objdir]: Give error.
70454         [!objdir] (objpfx): Remove.
70455         [!objdir] (common-objpfx): Likewise.
70456         [!objdir] (common-objdir): Likewise.
70457         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70458         AC_CONFIG_FILES call.
70459         * configure: Regenerated.
70461         [BZ #13888]
70462         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70463         or TMPDIR.
70464         (testout): Likewise.
70466         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70467         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70468         $(rtld-installed-name).
70469         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70470         (rtld_installed_name): Likewise.
70471         (runit): Remove function.
70472         (run_getconf): New variable,  Use it for running getconf binary.
70474 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70476         [BZ #14716]
70477         * string/test-memmem.c (check_result): New function.
70478         (do_one_test): Use it.
70479         (check1): New function.
70480         (test_main): Use it.
70482 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70484         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70486 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70488         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70489         (_G_LSEEK64): Likewise.
70490         (_G_MMAP64): Likewise.
70491         (_G_FSTAT64): Likewise.
70492         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70493         (_G_LSEEK64): Likewise.
70494         (_G_MMAP64): Likewise.
70495         (_G_FSTAT64): Likewise.
70496         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70497         unconditional.  Call __mmap64 directly.
70498         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70499         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70500         __lseek64 directly.
70501         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70502         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70503         __mmap64 directly.
70504         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70505         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70506         __lseek64 directly.
70507         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70508         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70509         __lseek64 directly.
70510         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70511         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70512         __lseek64 directly.
70513         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70514         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70515         __fxstat64 directly.
70516         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70517         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70518         unconditional.
70519         (freopen64) [!_G_OPEN64]: Remove conditional code.
70520         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70521         unconditional.
70522         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70523         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70524         unconditional.
70525         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70526         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70527         unconditional.
70528         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70529         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70530         unconditional.
70531         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70532         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70533         unconditional.
70534         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70535         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70536         unconditional.
70537         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70538         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70539         unconditional.
70540         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70542 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70544         [BZ #12140]
70545         * manual/memory.texi (Malloc Tunable Parameters): Add note
70546         about free list pointers overwriting some perturb bytes.
70547         Wording suggested by Roland McGrath.
70549 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70551         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70552         (lgamma_test): Likewise.
70553         (tgamma_test): Likewise.
70555 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70557         [BZ #14700]
70558         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70559         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70561 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70563         * NEWS: Mention BZ #14716.
70564         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70565         when removing AVAILABLE1_USES_J macro.
70567 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70569         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70570         (__bswap_64): __uint64_t for unsigned 64-bit int.
70572 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70574         * include/string.h (memmem): Declare libc hidden alias.
70575         * string/memmem.c (memmem): Define libc hidden alias.
70576         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70577         __read, __close instead of open, read, close.
70579 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70582         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70583         global and hidden.
70584         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70585         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70586         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70587         Likewise.
70588         (__rawmemchr_sse2): Likewise.
70589         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70590         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70591         (__strchr_sse2): Likewise.
70592         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70593         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70594         (__strcasecmp_sse2): Likewise.
70595         (__strncasecmp_sse2): Likewise.
70596         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70597         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70598         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70599         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70600         (__strrchr_sse2): Likewise.
70601         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70602         ifunc-impl-list.c.
70603         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70604         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70605         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70606         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70607         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70608         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70609         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70610         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70611         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70612         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70613         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70614         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70615         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70616         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70617         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70619         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70620         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70621         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70622         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70623         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70624         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70625         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70626         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70627         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70628         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70629         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70630         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70631         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70632         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70634         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70635         global and hidden.
70636         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70637         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70638         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70639         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70640         Likewise.
70641         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70642         Likewise.
70643         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70644         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70645         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70646         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70647         ifunc-impl-list.c.
70648         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70649         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70650         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70651         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70652         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70653         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70654         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70655         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70656         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70657         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70658         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70659         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70660         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70661         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70662         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70663         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70664         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70665         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70666         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70667         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70668         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70669         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70670         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70671         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70672         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70673         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70674         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70675         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70676         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70677         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70678         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70679         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70680         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70681         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70682         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70683         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70684         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70685         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70686         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70687         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70688         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70690         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70691         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70692         * include/ifunc-impl-list.h: New file.
70693         * misc/ifunc-impl-list.c: Likewise.
70694         * misc/Makefile (routines): Add ifunc-impl-list.
70695         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70696         * string/test-string.h: Include <ifunc-impl-list.h>.
70697         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70698         TEST_NAME]: New variables.
70699         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70700         are defined.
70701         (test_init): Call __libc_ifunc_impl_list to initialize
70702         func_list if TEST_IFUNC and TEST_NAME are defined.
70704         * string/Makefile (strop-tests): Add bcopy and bzero.
70705         * string/test-bcopy.c: New file.
70706         * string/test-bzero.c: Likewise.
70707         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70708         defined.
70709         * string/test-memset.c: Support bzero test if TEST_BZERO is
70710         defined.
70711         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70712         __libc_memmove.
70713         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70714         __libc_memset.
70715         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70716         of memset.
70718 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70720         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70721         * configure: Regenerated.
70723         * Makeconfig (+link-static-before-libc): Don't include
70724         $(link-static-libc).
70726         * libio/libio.h (_IO_pos_t): Remove.
70728 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70730         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70731         McGrath.
70733 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70735         * crypt/crypt-entry.c: Include fips-private.h.
70736         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70737         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70738         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70739         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70741 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70743         * crypt/crypt-private.h: Include stdbool.h.
70744         (_ufc_setup_salt_r): Return bool.
70745         * crypt/crypt-entry.c: Include errno.h.
70746         (__crypt_r): Return NULL with EINVAL for bad salt.
70747         * crypt/crypt_util.c (bad_for_salt): New.
70748         (_ufc_setup_salt_r): Check that salt is long enough and within
70749         the specified alphabet.
70750         * crypt/badsalttest.c: New file.
70751         * crypt/Makefile (tests): Add it.
70752         ($(objpfx)badsalttest): New.
70754 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70756         * NEWS: Add entry for BZ #14602.
70758 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70760         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70761         type-generic.
70762         * math/libm-test.inc: Update comment listing what functions and
70763         macros are tested.
70764         (isgreater_test): New function.
70765         (isgreaterequal_test): Likewise.
70766         (isless_test): Likewise.
70767         (islessequal_test): Likewise.
70768         (islessgreater_test): Likewise.
70769         (isunordered_test): Likewise.
70770         (main): Call the new functions.
70772 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70774         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70775         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70776         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70777         * sysdeps/i386/configure: Regenerated.
70778         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70779         * sysdeps/mach/configure: Regenerated.
70780         * sysdeps/mach/hurd/configure: Regenerated.
70781         * sysdeps/powerpc/configure: Regenerated.
70782         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70783         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70784         * sysdeps/s390/s390-32/configure: Regenerated.
70785         * sysdeps/s390/s390-64/configure: Regenerated.
70786         * sysdeps/sh/configure: Regenerated.
70787         * sysdeps/sparc/configure: Regenerated.
70788         * sysdeps/unix/sysv/linux/configure: Regenerated.
70789         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70790         * sysdeps/x86_64/configure: Regenerated.
70792         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70793         defined.  Don't check if MAP is NULL.
70795 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70797         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70798         (_G_stat64): Likewise.
70799         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70800         (_G_stat64): Likewise.
70801         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70802         instead of struct _G_stat64.
70803         * libio/fileops.c (mmap_remap_check): Likewise.
70804         (decide_maybe_mmap): Likewise.
70805         (_IO_new_file_seekoff): Likewise.
70806         (_IO_file_stat): Likewise.
70807         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70808         _G_off64_t.
70809         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70810         instead of struct _G_stat64.
70811         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70813 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70815         [BZ #14602]
70816         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70817         Replace with ...
70818         (CHECK_EOL): New macro.
70819         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70820         CHECK_EOL.
70821         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70822         Replace with CHECK_EOL.
70823         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70824         Replace with CHECK_EOL.
70826 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70828         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70829         type-generic.
70830         * math/libm-test.inc: Update comment listing what functions and
70831         macros are tested.
70832         (finite_test): New function.
70833         (isinf_test): Likewise.
70834         (isnan_test): Likewise.
70835         (fpclassify_test): Test subnormal input.
70836         (isfinite_test): Likewise.
70837         (isnormal_test): Likewise.
70838         (main): Call the new functions.
70840 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70842         [BZ #14660]
70843         * Makerules (%.dynsym): Force C locale when running
70844         $(OBJDUMP) --dynamic-syms.
70846 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70848         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70849         <stdint.h>.
70851 2012-10-06  David S. Miller  <davem@davemloft.net>
70853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70854         upper 32-bits of the length value in %o2 since we use branch-on-register
70855         tests which consider the entire 64-bit register.
70857 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70859         * string/test-strstr.c (check2): Add a test for page boundary.
70861 2012-10-05  David S. Miller  <davem@davemloft.net>
70863         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70864         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70865         file.
70866         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70867         sysdep_routines.
70868         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70869         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70870         and bzero when HWCAP_SPARC_CRYPTO is present.
70872 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70874         [BZ #14602]
70875         * string/test-strstr.c (check2): New function.
70876         (test_main): Call check2.
70878         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70879         and bug-strchr1.
70880         * string/bug-strcasestr1.c (do_test): Moved to ...
70881         * string/test-strcasestr.c (check1): Here.  New function.
70882         (do_one_test): Break out result checking code into ...
70883         (check_result): This.  New function.
70884         (do_one_test): Call check_result.
70885         (test_main): Call check1.
70886         * string/bug-strchr1.c (do_test): Moved to ...
70887         * string/test-strchr.c (check1): Here.  New function.
70888         (do_one_test): Break out result checking code into ...
70889         (check_result): This.  New function.
70890         (do_one_test): Call check_result.
70891         (test_main): Call check1.
70892         * string/bug-strstr1.c (main): Moved to ...
70893         * string/test-strstr.c (check1): Here.  New function.
70894         (do_one_test): Break out result checking code into ...
70895         (check_result): This.  New function.
70896         (do_one_test): Call check_result.
70897         (test_main): Call check1.
70898         * string/bug-strcasestr1.c: Removed.
70899         * string/bug-strchr1.c: Likewise.
70900         * string/bug-strstr1.c: Likewise.
70902         * elf/Makefile (dl-routines): Add hwcaps.
70903         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70904         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70905         (_dl_important_hwcaps): Moved to ...
70906         * elf/dl-hwcaps.c: Here.  New file.
70907         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70909         [BZ #14557]
70910         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70911         if IS_IN_rtld isn't defined.
70913         * elf/dl-support.c (_dl_sysinfo_map): New.
70914         Include "get-dynamic-info.h" and "setup-vdso.h".
70915         (_dl_non_dynamic_init): Call setup_vdso.
70916         * elf/dynamic-link.h: Don't include <assert.h>.
70917         (elf_get_dynamic_info): Moved to ...
70918         * elf/get-dynamic-info.h: Here.  New file.
70919         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70920         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70921         * elf/setup-vdso.h: Here.  New file.
70922         * elf/rtld.c: Include "setup-vdso.h".
70923         (dl_main): Call setup_vdso.
70925 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70927         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70928         creal in comment listing functions tested.  List finite, isinf,
70929         isnan, isless, islessequal, isgreater, isgreaterequal,
70930         islessgreater, isunordered, lgamma_r and pow10 as functions and
70931         macros not tested.  Mention which functions not tested are aliases
70932         for other functions.  Fix typo.  Note that signs of NaNs are not
70933         tested.
70935         * scripts/config.guess: Update from config.git.
70936         * scripts/config.sub: Likewise.
70938 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70940         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70941         * misc/madvise.c (madvise): Renamed to __madvise.
70942         Make madvise a weak alias.
70943         * include/sys/mman.h: Declare __madvise.
70944         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70945         * sysdeps/unix/syscalls.list
70946         (madvise): Make __madvise the strong name, and madvise a weak alias.
70947         * sysdeps/unix/sysv/linux/syscalls.list
70948         (madvise, mmap): Remove redundant entries.
70949         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70950         * malloc/malloc.c (mtrim): Likewise.
70951         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70953 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70955         * sysdeps/mach/hurd/dl-cache.c: File removed.
70956         * config.h.in (USE_LDCONFIG): New #undef.
70957         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70958         * configure: Regenerated.
70959         * elf/Makefile (dl-routines): Add dl-cache only under
70960         [$(use-ldconfig) = yes].
70961         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70962         cache on [USE_LDCONFIG].
70963         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70964         [USE_LDCONFIG].
70965         * elf/rtld.c (dl_main): Likewise.
70967 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70969         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70970         _SC_LEVEL4_CACHE_LINESIZE.
70972 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70974         * sysdeps/unix/bsd/confstr.h: File removed.
70976 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70978         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70979         sys/sdt-config.h.
70981 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70983         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70984         Make 'mapoff' field ElfW(Off) rather than off_t.
70986 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70988         * nscd/Makefile: Remove nscd-cflags and all its users.
70989         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70990         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70992         [BZ #10631]
70993         * malloc.c (malloc_printerr): Clarify error message.
70995 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70997         [BZ #14648]
70998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70999         Set bit_FMA_Usable if FMA is supported.
71000         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71001         macro.
71002         (bit_FMA4_Usable): Updated.
71003         (index_FMA_Usable): New macro.
71004         (CPUID_FMA): Likewise.
71005         (HAS_FMA): Defined with bit_FMA_Usable.
71007 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71009         * bits/types.h (__swblk_t): Type removed.
71010         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71011         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71013         (__SWBLK_T_TYPE): Likewise.
71014         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71015         (__SWBLK_T_TYPE): Likewise.
71016         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71017         (__SWBLK_T_TYPE): Likewise.
71018         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71019         (__SWBLK_T_TYPE): Likewise.
71021 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71022             Honza Horak <hhorak@redhat.com>
71024         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71025         (xdr_mapname): Use YPMAXMAP as maxsize.
71026         (xdr_peername): Use YPMAXPEER as maxsize.
71027         (xdr_keydat): Use YPAXRECORD as maxsize.
71028         (xdr_valdat): Use YPMAXRECORD as maxsize.
71030 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71032         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71034         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71035         * csu/init-first.c: ... here.
71036         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71037         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71038         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71039         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71040         * sysdeps/i386/init-first.c: File removed.
71041         * sysdeps/sh/init-first.c: File removed.
71043 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71045         [BZ #14645]
71046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71047         if x * y might underflow to zero and z is zero.
71048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71050         * math/libm-test.inc (min_subnorm_value): New variable.
71051         (fma_test): Add more tests.
71052         (fma_test_towardzero): Likewise.
71053         (fma_test_downward): Likewise.
71054         (fma_test_upward): Likewise.
71055         (initialize): Set min_subnorm_value.
71057 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71059         [BZ #14638]
71060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71061         0 + 0.
71062         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71063         mode for addition resulting in exact zero.
71064         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71065         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71066         exact 0 + 0.
71067         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71068         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71069         * math/libm-test.inc (fma_test): Add more tests.
71070         (fma_test_towardzero): New function.
71071         (fma_test_downward): Likewise.
71072         (fma_test_upward): Likewise.
71073         (main): Call the new functions.
71075 2012-09-28  David S. Miller  <davem@davemloft.net>
71077         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71079 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71081         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71082         instead of SIGALRM.
71084         * sysdeps/gnu/_G_config.h: Moved to ...
71085         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71086         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71087         * sysdeps/generic/_G_config.h: ... here.
71089         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71091         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71093         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71094         Conditionalize target on [libnss_test1.so-version].
71096         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71098         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71099         (elfobjdir): Move out of conditionals.
71101         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71102         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71103         (__nss_lookup_function): Conditionalize label remove_from_tree on
71104         [!DO_STATIC_NSS || SHARED], matching its only use.
71106 2012-09-28  David S. Miller  <davem@davemloft.net>
71108         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71109         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71110         file.
71111         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71112         sysdep_routines.
71113         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71115         when HWCAP_SPARC_CRYPTO is present.
71117 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71119         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71121 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71123         [BZ #6530]
71124         * stdio-common/vfprintf.c (process_string_arg): Revert
71125         2000-07-22 change.
71127 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71129         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71130         for testcase.
71131         * stdio-common/tst-sprintf.c: Include <locale.h>
71132         (main): Test sprintf's handling of incomplete multibyte
71133         characters.
71135 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71137         * elf/dl-runtime.c (VERSYMIDX): Removed.
71138         * elf/dl-version.c (VERSYMIDX): Likewise.
71139         * elf/do-rel.h (VERSYMIDX): Likewise.
71140         (VALIDX): Likewise.
71141         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71142         * elf/rtld.c (VALIDX): Likewise.
71143         (ADDRIDX): Likewise.
71144         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71145         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71146         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71147         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71148         (VALIDX): Likewise.
71149         (ADDRIDX): Likewise.
71151 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71153         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71155 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71157         [BZ #11438]
71158         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71159         to global scope.
71160         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71161         addresses are in the same scope as 192.0.2/24.
71162         * posix/gai.conf: Document new scope table defaults.
71164 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71166         [BZ #5298]
71167         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71168         for ftell.  Compute offsets from write pointers instead.
71169         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71171 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71173         [BZ #14543]
71174         * libio/Makefile (tests): New test case tst-fseek.
71175         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71176         combination works in wide mode.
71177         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71178         state when the external buffer state changes.
71180 2012-09-27  David S. Miller  <davem@davemloft.net>
71182         [BZ #14376]
71183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71184         pass reloc->r_addend in as the 'high' argument to
71185         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71189 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71191         * rt/tst-aio2.c: Include <pthread.h>.
71192         * rt/tst-aio3.c: Likewise.
71194 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71196         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71198 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71200         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71201         contents on [SHARED].
71203 2012-09-26  Marek Polacek  <polacek@redhat.com>
71205         [BZ #14530]
71206         [BZ #13741]
71207         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71208         for C++ and GCC <4.3 as well as for non GCC compilers.
71210 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71214 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71216         * Makefile.in (all, install): Declare with .PHONY.
71217         Reported by Michael Hope <michael.hope@linaro.org>.
71219 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71221         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71222         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71223         system header.
71224         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71225         Likewise.
71226         (sydep_routines): Add the new and the internal functions.
71227         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71228         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71230         (GLIBC_2.17): Add the new function.
71231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71232         (GLIBC_2.17): Likewise.
71233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71234         (GLIBC_2.17): Likewise.
71235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71236         (GLIBC_2.17): Likewise.
71237         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71239 2012-09-25  Alan Modra  <amodra@gmail.com>
71241         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71242         Add release barrier before setting once_control to say
71243         initialisation is done.  Add hints on lwarx.  Use macro in
71244         place of isync.
71245         (clear_once_control): Add release barrier.
71247 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71249         [BZ #13629]
71250         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71251         specially.
71252         * math/s_clog10.c (__clog10): Likewise.
71253         * math/s_clog10f.c (__clog10f): Likewise.
71254         * math/s_clog10l.c (__clog10l): Likewise.
71255         * math/s_clogf.c (__clogf): Likewise.
71256         * math/s_clogl.c (__clogl): Likewise.
71257         * math/Makefile (libm-calls): Add x2y2m1.
71258         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71259         (__x2y2m1): Likewise.
71260         (__x2y2m1l): Likewise.
71261         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71262         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71263         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71264         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71265         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71266         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71267         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71268         * sysdeps/i386/fpu/libm-test-ulps: Update.
71269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71271         [BZ #14621]
71272         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71273         int as type of variable DEPTH.
71274         (glob): Use size_t instead of int as type of variables NEWCOUNT
71275         and OLD_PATHC.
71277 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71279         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71280         Add s_sincosf-sse2.
71281         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71282         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71283         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71284         macros for using routine as __sincosf_ia32.
71285         Use macro for function declaration and weak_alias.
71286         * sysdeps/i386/fpu/libm-test-ulps: Update.
71288         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71291         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71292         subnormal argument.
71293         * math/s_cexpf.c (__cexpf): Likewise.
71294         * math/s_csinf.c (__csinf): Likewise.
71295         * math/s_csinhf.c (__csinhf): Likewise.
71296         * math/s_ctanf.c (__ctanf): Likewise.
71297         * math/s_ctanhf.c (__ctanhf): Likewise.
71298         * math/s_ccosh.c (__ccoshf): Likewise.
71299         * math/s_cexp.c (__cexpl): Likewise.
71300         * math/s_csin.c (__csin): Likewise.
71301         * math/s_csinh.c (__csinh): Likewise.
71302         * math/s_ctan.c (__ctan): Likewise.
71303         * math/s_ctanh.c (ctanh): Likewise.
71304         * math/s_ccoshl.c (__ccoshl): Likewise.
71305         * math/s_cexpl.c (__cexpl): Likewise.
71306         * math/s_csinl.c (__csinl): Likewise.
71307         * math/s_csinhl.c (__csinhl): Likewise.
71308         * math/s_ctanl.c (__ctanl): Likewise.
71309         * math/s_ctanhl.c (__ctanhl): Likewise.
71311 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71313         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71314         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71315         (_IO_off_t): Define to __off_t, not _G_off_t.
71316         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71317         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71318         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71319         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71320         type of __dummy and __dummy2 fields.
71321         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71322         (_G_ssize_t): Likewise.
71323         (_G_off_t): Likewise.
71324         (_G_pid_t): Likewise.
71325         (_G_uid_t): Likewise.
71326         (_G_wchar_t): Likewise.
71327         (_G_wint_t): Likewise.
71328         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71329         (_G_ssize_t): Likewise.
71330         (_G_off_t): Likewise.
71331         (_G_pid_t): Likewise.
71332         (_G_uid_t): Likewise.
71333         (_G_wchar_t): Likewise.
71334         (_G_wint_t): Likewise.
71335         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71336         (_G_ssize_t): Likewise.
71337         (_G_off_t): Likewise.
71338         (_G_pid_t): Likewise.
71339         (_G_uid_t): Likewise.
71340         (_G_wchar_t): Likewise.
71341         (_G_wint_t): Likewise.
71343 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71345         * malloc/arena.c: Include malloc-sysdep.h.
71346         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71347         is sufficient to shrink the heap or an unmap is needed.
71348         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71349         new function check_may_shrink_heap.
71350         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71351         new function check_may_shrink_heap.
71353 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71355         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71356         comments.
71358 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71360         * catgets/test-gencat.sh: Add "set -e".
71361         * elf/tst-pathopt.sh: Likewise.
71362         * grp/tst_fgetgrent.sh: Likewise.
71363         * iconvdata/run-iconv-test.sh: Likewise.
71364         * intl/tst-gettext.sh: Likewise.
71365         * intl/tst-gettext2.sh: Likewise.
71366         * intl/tst-gettext4.sh: Likewise.
71367         * intl/tst-gettext6.sh: Likewise.
71368         * intl/tst-translit.sh: Likewise.
71369         * io/ftwtest-sh: Likewise.
71370         * libio/test-freopen.sh: Likewise.
71371         * malloc/tst-mtrace.sh: Likewise.
71372         * posix/globtest.sh: Likewise.
71373         * posix/tst-getconf.sh: Likewise.
71374         * posix/wordexp-tst.sh: Likewise.
71375         * stdio-common/tst-printf.sh: Likewise.
71376         * stdio-common/tst-unbputc.sh: Likewise.
71377         * stdlib/tst-fmtmsg.sh: Likewise.
71378         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71379         * catgets/Makefile: Do not specify -e option when running
71380         testsuite shell scripts.
71381         * elf/Makefile: Likewise.
71382         * grp/Makefile: Likewise.
71383         * iconvdata/Makefile: Likewise.
71384         * intl/Makefile: Likewise.
71385         * io/Makefile: Likewise.
71386         * libio/Makefile: Likewise.
71387         * malloc/Makefile: Likewise.
71388         * posix/Makefile: Likewise.
71389         * stdio-common/Makefile: Likewise.
71390         * stdlib/Makefile: Likewise.
71391         * sysdeps/x86_64/Makefile: Likewise.
71393         * io/ftwtest-sh: Add copyright header.
71394         * posix/globtest.sh: Likewise.
71395         * posix/tst-getconf.sh: Likewise.
71396         * posix/wordexp-tst.sh: Likewise.
71397         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71399 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71401         [BZ #13679]
71402         * Makeconfig (+link): Defined as $(+link-static) if
71403         $(build-shared) isn't yes.
71404         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71405         isn't yes.
71406         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71408         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71410         [BZ #14562]
71411         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71412         new chunk size with MALLOC_ALIGN_MASK.
71414 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71416         [BZ #5044]
71417         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71418         <rounding-mode.h>.
71419         (__printf_fphex): Determine rounding using get_rounding_mode and
71420         round_away.
71421         * stdio-common/tst-printf-round.c (struct hex_test): New
71422         structure.
71423         (hex_tests): New variable.
71424         (test_hex_in_one_mode): New function.
71425         (do_test): Also run tests for hex float output.
71427 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71429         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71430         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71431         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71432         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71433         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71434         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71435         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71436         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71438 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71440         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71441         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71442         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71443         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71445 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71447         [BZ #14579]
71448         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71449         mode only.
71450         * elf/tst-rtld-load-self.sh: New test.
71451         * elf/Makefile: Run it.
71453 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71455         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71456         (tst-writev-ENV): Remove.
71457         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71459 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71461         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71463 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71465         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71466         unconditional.
71467         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71468         Likewise.
71469         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71470         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71471         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71472         Likewise.
71474 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71476         [BZ #14587]
71477         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71478         * config.make.in (have-cpp-asm-debuginfo): Removed.
71479         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71480         * configure: Regenerated.
71482 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71484         [BZ #5044]
71485         * stdio-common/printf_fp.c: Include <stdbool.h> and
71486         <rounding-mode.h>.
71487         (___printf_fp): Determine rounding using get_rounding_mode and
71488         round_away.
71489         * stdio-common/tst-printf-round.c: New file.
71490         * stdio-common/Makefile (tests): Add tst-printf-round.
71491         (link-libm): New variable.
71492         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71494 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71496         [BZ #14576]
71497         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71498         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71499         Likewise.
71500         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71501         Likewise.
71503 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71505         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71506         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71507         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71508         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71510 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71512         [BZ #14518]
71513         * include/rounding-mode.h: New file.
71514         * sysdeps/generic/get-rounding-mode.h: Likewise.
71515         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71516         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71517         (MAX_VALUE): New macro.
71518         (MIN_VALUE): Likewise.
71519         (overflow_value): New function.
71520         (underflow_value): Likewise.
71521         (round_and_return): Use overflow_value and underflow_value to
71522         determine return values in overflow and underflow cases.  Use
71523         round_away to determine rounding depending on rounding mode.
71524         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71525         determine return values in overflow and underflow cases.
71526         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71527         (struct test_results): New structure.
71528         (struct test): Use struct test_results to store expected results
71529         for all rounding modes.
71530         (TEST): Include expected results for all rounding modes.
71531         (test_in_one_mode): New function.
71532         (do_test): Use test_in_one_mode to compute and check results.
71533         Check results for all rounding modes.
71534         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71535         $(link-libm).
71537 2012-12-09  Allan McRae  <allan@archlinux.org>
71539         * sysdeps/i386/fpu/libm-test-ulps: Update
71541 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71543         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71544         (_G_int32_t): Likewise.
71545         (_G_uint16_t): Likewise.
71546         (_G_uint32_t): Likewise.
71547         (_G_HAVE_BOOL): Likewise.
71548         (_G_HAVE_ATEXIT): Likewise.
71549         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71550         (_G_HAVE_IO_FILE_OPEN): Likewise.
71551         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71552         (_G_int32_t): Likewise.
71553         (_G_uint16_t): Likewise.
71554         (_G_uint32_t): Likewise.
71555         (_G_HAVE_BOOL): Likewise.
71556         (_G_HAVE_ATEXIT): Likewise.
71557         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71558         (_G_HAVE_IO_FILE_OPEN): Likewise.
71559         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71560         (_G_int32_t): Likewise.
71561         (_G_uint16_t): Likewise.
71562         (_G_uint32_t): Likewise.
71563         (_G_HAVE_BOOL): Likewise.
71564         (_G_HAVE_ATEXIT): Likewise.
71565         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71566         (_G_HAVE_IO_FILE_OPEN): Likewise.
71568 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71570         * csu/libc-tls.c: Update copyright years.
71572 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71574         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71575         [!_G_USING_THUNKS]: Remove conditional code.
71576         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71577         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71579         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71580         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71581         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71582         (_G_VTABLE_LABEL_PREFIX): Likewise.
71583         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71584         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71585         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71586         (_G_VTABLE_LABEL_PREFIX): Likewise.
71587         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71588         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71589         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71590         (_G_VTABLE_LABEL_PREFIX): Likewise.
71591         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71593 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71595         * libio/Makefile: Include ../Makeconfig before tests.
71596         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71597         only if $(build-shared) is yes.
71599         * iconv/gconv_db.c: Update copyright years.
71601 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71603         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71604         unwind info if defined PIC. Fix special cases description.
71605         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71607         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71608         DP_HI_MASK entry.
71609         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71611 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71613         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71615         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71616         is NULL.
71618         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71619         (LDLIBS-tst-chk4): This.
71620         (LDFLAGS-tst-chk5): Renamed to ...
71621         (LDLIBS-tst-chk5): This.
71622         (LDFLAGS-tst-chk6): Renamed to ...
71623         (LDLIBS-tst-chk6): This.
71624         (LDFLAGS-tst-lfschk4): Renamed to ...
71625         (LDLIBS-tst-lfschk4): This.
71626         (LDFLAGS-tst-lfschk5): Renamed to ...
71627         (LDLIBS-tst-lfschk5): This.
71628         (LDFLAGS-tst-lfschk6): Renamed to ...
71629         (LDLIBS-tst-lfschk6): This.
71631         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71632         on $(common-objpfx)soversions.mk.
71634 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71636         [BZ #10014]
71637         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71638         example host name.
71640 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71642         * malloc/arena.c (arena_get_retry): New function that gets
71643         another arena for the caller to try its request on.
71644         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71645         current arena cannot fulfill the request.
71646         (__libc_memalign): Likewise.
71647         (__libc_memalign): Likewise.
71648         (__libc_pvalloc): Likewise.
71649         (__libc_calloc): Likewise.
71651 2012-09-05  John Tobey  <john.tobey@gmail.com>
71653         [BZ #13542]
71654         * manual/arith.texi (Operations on Complex): Fix description
71655         of carg branch cut.
71657 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71659         [BZ #10014]
71660         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71661         host name.
71663         [BZ #10038]
71664         * manual/memory.texi (Memory): Make order of menu items match
71665         order of sections.
71667 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71669         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71670         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71671         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71673 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71675         * csu/libc-tls.c (static_dtv): Renamed to ...
71676         (_dl_static_dtv): This.  Make it global.
71677         (_dl_initial_dtv): Removed.
71678         (__libc_setup_tls): Updated.
71679         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71680         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71681         DL_INITIAL_DTV.
71683 2012-09-06  Petr Machata  <pmachata@redhat.com>
71685         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71686         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71687         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71688         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71690 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71692         [BZ #14545]
71693         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71694         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71695         freeing dtv[-1].
71697 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71699         [BZ #14544]
71700         * Makeconfig (link-static-before-libc): Replace $(+prector)
71701         with $(+prectorT).
71702         (link-static-after-libc): Replace $(+postctor) with
71703         $(+postctorT).
71704         (link-bounded): Replace $(+prector)/$(+postctor) with
71705         $(+prectorT)/$(+postctorT).
71706         (+prectorT): New macro.
71707         (+postctorT): Likewise.
71709 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71711         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71712         (round_str): Handle values above the maximum for IBM long double
71713         as inexact.
71714         * stdlib/tst-strtod-round.c (tests): Regenerated.
71716 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71718         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71719         assembler flag.
71720         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71721         zarch_nohighgprs around the zarch optimized routines.
71722         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71723         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71724         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71725         for zarch.
71727 2012-09-05  David S. Miller  <davem@davemloft.net>
71729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71731         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71732         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71733         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71734         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71735         entries.
71737 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71739         * malloc/arena.c: Fold copyright years.
71740         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71742 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71744         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71746 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71748         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71750 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71752         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71753         change internal state upon failure.
71755 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71757         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71758         * malloc/memusage.c (mmap): Likewise.
71759         (mmap64, mremap): Likewise.  Adjust name in comment.
71761 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71763         * libio/fileops.c: Fix typos in comments.
71764         * libio/oldfileops.c: Likewise.
71765         * libio/wfileops.c: Likewise.
71767 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71769         [BZ #1349]
71770         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71771         (tst-malloc-usable-ENV): Set environment for test case.
71772         * malloc/hooks.c (malloc_check_get_size): New function to get
71773         requested size.
71774         * malloc/malloc.c (musable): Use malloc_check_get_size.
71775         * malloc/tst-malloc-usable.c: New test case.
71777 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71779         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71781 2012-09-05  Allan McRae  <allan@archlinux.org>
71783         [BZ #13966]
71784         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71785         determine header location.
71786         * configure: Regenerated.
71788 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71790         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71791         float format.
71792         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71793         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71794         format.
71795         (test): Regenerate.
71797 2012-09-04  David S. Miller  <davem@davemloft.net>
71799         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71800         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71801         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71803 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71805         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71806         failures.
71808         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71810 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71812         [BZ #9914]
71813         * libio/iogetdelim.c: Include <limits.h>.
71814         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71815         + len + 1 would overflow.
71817 2012-09-03  Andreas Jaeger  <aj@suse.de>
71819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71820         * sysdeps/i386/fpu/libm-test-ulps: Update.
71822 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71824         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71825         Add s_sinf-sse2, s_conf-sse2.
71827         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71828         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71829         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71830         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71832         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71833         for using routine as __sinf_ia32.
71834         Use macro for function declaration and weak_alias.
71835         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71836         for using routine as __cosf_ia32.
71837         Use macro for function declaration and weak_alias.
71839         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71840         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71842         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71843         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71846         * math/libm-test.inc (cos_test): Add more test cases.
71847         (sin_test): Likewise.
71848         (sincos_test): Likewise.
71850 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71852         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71853         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71854         hidden.
71855         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71857 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71859         [BZ #14538]
71860         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71861         first element of the GOT.
71862         (elf_machine_load_address): Return the difference between
71863         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71865 2012-09-01  Allan McRae  <allan@archlinux.org>
71867         [BZ #13412]
71868         * configure.in (AWK): Require gawk version 3.0 or later.
71869         * configure: Regenerated.
71871 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71873         * sysdeps/unix/sysv/linux/kernel-features.h
71874         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71876         [__NR_clock_getres]: Make code unconditional.
71877         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71878         (clock_getcpuclockid): Remove code left unreachable by removal of
71879         conditionals.
71880         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71881         code unconditional.
71882         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71883         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71884         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71885         Make code unconditional.
71886         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71887         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71888         * sysdeps/unix/sysv/linux/clock_settime.c
71889         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71890         conditional code.
71891         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71892         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71894 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71896         [BZ #14476]
71897         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71898         scripts/test-installation.pl.
71900         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71901         and $ld_so_version if it is set.
71903 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71905         [BZ #14516]
71906         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71907         failure if reading from procfs failed.
71908         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71910 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71912         * sysdeps/unix/sysv/linux/kernel-features.h
71913         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71914         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71915         Remove conditional code.
71916         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71917         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71918         Remove conditional code.
71919         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71920         * sysdeps/unix/sysv/linux/i386/fxstat.c
71921         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71923         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71924         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71926         * sysdeps/unix/sysv/linux/i386/lxstat.c
71927         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71928         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71929         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71930         Remove conditional code.
71931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71932         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71933         Remove conditional code.
71934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71935         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71936         <kernel-features.h>.
71937         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71938         Remove.
71939         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71940         Remove conditional code.
71941         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71942         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71943         Remove conditional.
71945 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71947         [BZ #5400]
71948         * NEWS: Add fixed bug number.
71950 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71952         [BZ #14519]
71953         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71954         underflowing exponent in case of negative sign.
71955         * stdlib/tst-strtod-round-data: Add more tests.
71956         * stdlib/tst-strtod-round.c (tests): Regenerated.
71958         [BZ #3479]
71959         * stdlib/strtod_l.c (NDIG): Remove.
71960         (HEXNDIG): Likewise.
71961         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71962         smallest representable value.
71963         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71964         lie within an exact representation of 1/2 ulp of the result.
71965         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71966         unconditionally.
71967         (TENS_P9_IDX): Define unconditionally.
71968         (TENS_P9_SIZE): Likewise.
71969         (TENS_P10_IDX): Likewise.
71970         (TENS_P10_SIZE): Likewise.
71971         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71972         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71973         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71974         entries for 10^2^13 and 10^2^14.
71975         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71976         (TENS_P13_IDX): Define.
71977         (TENS_P13_SIZE): Likewise.
71978         (TENS_P14_IDX): Likewise.
71979         (TENS_P14_SIZE): Likewise.
71980         (_fpioconst_pow10): Change array size to
71981         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71982         unconditional.
71983         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71984         1024]: Add entries for 10^2^13 and 10^2^14.
71985         [LAST_POW10 > _LAST_POW10]: Remove #error.
71986         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71987         (_fpioconst_pow10): Change array size to
71988         FPIOCONST_POW10_ARRAY_SIZE.
71989         * stdlib/gen-fpioconst.c: New file.
71990         * stdlib/gen-tst-strtod-round.c: Likewise.
71991         * stdlib/tst-strtod-round-data: Likewise.
71992         * stdlib/tst-strtod-round.c: Likewise.
71993         * stdlib/Makefile (tests): Add tst-strtod-round.
71995         [BZ #14459]
71996         * stdlib/strtod_l.c: Include <stdint.h>.
71997         (NDEBUG): Do not define.
71998         (round_and_return): Change EXPONENT parameter to type intmax_t.
71999         Rearrange calculations to avoid internal overflow possibilities.
72000         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72001         Rearrange calculations to avoid internal overflow possibilities.
72002         Assert that number fits inside MPNSIZE limbs.
72003         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72004         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72005         calculations and add assertions to avoid internal overflow
72006         possibilities.  Add casts to avoid signed/unsigned operations.
72007         * stdlib/tst-strtod-overflow.c: New file.
72008         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72010 2012-08-25  Marek Polacek  <polacek@redhat.com>
72012         * time/time.h: Fix some typos in comments.
72014 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72016         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72017         * posix/tst-rfc3484-2.c: Likewise.
72018         * posix/tst-rfc3484-3.c: Likewise.
72020 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72022         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72023         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72025 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72027         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72028         #include of fxstatat64.c.
72030 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72032         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72033         * shadow/getspent_r.c: Likewise.
72034         * shadow/getspnam.c: Likewise.
72035         * shadow/getspnam_r.c: Likewise.
72036         * gshadow/getsgent.c: Likewise.
72037         * gshadow/getsgent_r.c: Likewise.
72038         * gshadow/getsgnam.c: Likewise.
72039         * gshadow/getsgnam_r.c: Likewise.
72040         * inet/getnetbyad.c: Likewise.
72041         * inet/getnetbyad_r.c: Likewise.
72042         * inet/getnetbynm.c: Likewise.
72043         * inet/getnetbynm_r.c: Likewise.
72044         * inet/getnetent.c: Likewise.
72045         * inet/getnetent_r.c: Likewise.
72046         * inet/getproto.c: Likewise.
72047         * inet/getproto_r.c: Likewise.
72048         * inet/getprtent.c: Likewise.
72049         * inet/getprtent_r.c: Likewise.
72050         * inet/getprtname.c: Likewise.
72051         * inet/getprtname_r.c: Likewise.
72052         * inet/getrpcbyname.c: Likewise.
72053         * inet/getrpcbyname_r.c: Likewise.
72054         * inet/getrpcbynumber.c: Likewise.
72055         * inet/getrpcbynumber_r.c: Likewise.
72056         * inet/getrpcent.c: Likewise.
72057         * inet/getrpcent_r.c: Likewise.
72058         * inet/getaliasent.c: Likewise.
72059         * inet/getaliasent_r.c: Likewise.
72060         * inet/getaliasname.c: Likewise.
72061         * inet/getaliasname_r.c: Likewise.
72062         * nscd/getgrgid_r.c: Likewise.
72063         * nscd/getgrnam_r.c: Likewise.
72064         * nscd/gethstbyad_r.c: Likewise.
72065         * nscd/gethstbynm3_r.c: Likewise.
72066         * nscd/getpwnam_r.c: Likewise.
72067         * nscd/getpwuid_r.c: Likewise.
72068         * nscd/getsrvbynm_r.c: Likewise.
72069         * nscd/getsrvbypt_r.c: Likewise.
72070         * nscd/gai.c: Likewise.
72072         * configure.in (build_nscd): New substituted variable, set
72073         by --disable-build-nscd and defaults to $use_nscd.
72074         * configure: Regenerated.
72075         * config.make.in (build-nscd): New substituted variable.
72076         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72077         Change conditional to require [$(build-nscd) = yes] as well.
72078         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72080         [BZ #13696]
72081         * configure.in (use_nscd): New substituted variable, set by
72082         --disable-nscd.  If enabled, define USE_NSCD.
72083         * configure: Regenerated.
72084         * config.h.in: Add USE_NSCD.
72085         * config.make.in (use-nscd): New substituted variable.
72086         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72087         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72088         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72089         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72090         (CFLAGS-getgrnam_r.c): Likewise.
72091         (CFLAGS-initgroups.c): Likewise.
72092         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72093         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72094         Variables removed.
72095         * inet/getnetgrent_r.c
72096         (nscd_setnetgrent): New function, broken out of ...
72097         (setnetgrent): ... here.  Call it.
72098         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72099         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72100         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72101         * nscd/Makefile (routines, aux): Move definitions after include of
72102         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72103         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72104         Conditionalize on [USE_NSCD].
72105         (is_nscd, nscd_init_cb): Likewise.
72106         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72107         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72108         * nss/nss_db/db-init.c: Likewise.
72109         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72110         [USE_NSCD].
72111         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72112         (make_request): Use it.
72113         (cache_valid_p): New function.
72114         (__check_pf): Use it.
72115         * NEWS: Add item for --disable-nscd.
72117 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72119         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72120         to support sed >= 4.2.1-20-ga9bf076.
72121         * configure: Regenerated.
72123 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72125         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72126         Conditionalize whole body on [IREL].
72128 2012-08-22  Jeff Law <law@redhat.com>
72130         [BZ #14505]
72131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72132         if the family is PF_UNSPEC.
72134 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72136         * Makerules (lib-version): Rename from V.
72137         (install-lib-nosubdir): Change V to lib-version.
72139 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72141         [BZ #14252]
72142         * powerpc32/power6/wcschr.c: New file.
72143         * powerpc32/power6/wcscpy.c: New file.
72144         * powerpc32/power6/wcsrchr.c: New file.
72145         * powerpc64/power6/wcschr.c: New file.
72146         * powerpc64/power6/wcscpy.c: New file.
72147         * powerpc64/power6/wcsrchr.c: New file.
72149 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72151         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72152         (two_way_short_needle): Use it.
72153         * string/strstr.c (AVAILABLE1_USES_J): Define.
72154         * string/strcasestr.c: Likewise.
72156         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72157         array references.
72158         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72160         [BZ #11607]
72161         * NEWS: Add an entry.
72162         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72163         define their defaults.
72164         (two_way_short_needle): Detect end-of-string on-the-fly.
72165         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72166         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72167         * string/bug-strcasestr1.c: New test.
72168         * string/Makefile: Run it.
72170 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72172         [BZ #11607]
72173         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72174         the first character.
72176 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72178         * csu/elf-init.c (__libc_csu_irel): Function removed.
72179         * csu/libc-start.c (apply_irel): New function.
72180         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72182 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72184         * sysdeps/unix/sysv/linux/kernel-features.h
72185         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72186         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72187         <kernel-features.h>.
72188         [__NR_fadvise64_64]: Make code unconditional.
72189         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72190         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72191         !__NR_fadvise64_64)]: Likewise.
72192         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72193         !__NR_fadvise64_64))]: Likewise.
72194         [__NR_fadvise64]: Make code unconditional.
72195         [!__NR_fadvise64]: Remove conditional code.
72196         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72197         <kernel-features.h>.
72198         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72199         unconditional.
72200         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72201         conditional code.
72202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72203         not include <kernel-features.h>.
72204         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72205         unconditional.
72206         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72207         conditional code.
72208         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72209         include <kernel-features.h>.
72210         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72211         unconditional.
72212         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72213         conditional code.
72215 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72217         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72218         slight instruction rearrangements per scrollpipe analysis.
72219         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72221 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72223         * manual/syslog.texi (syslog; vsyslog, closelog):
72224         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72225         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72227         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72228         DSOCAPS to match condition on defining it.
72230 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72232         * sysdeps/unix/sysv/linux/kernel-features.h
72233         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72235         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72236         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72238         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72239         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72241         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72242         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72244         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72245         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72247         * sysdeps/unix/sysv/linux/kernel-features.h
72248         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72249         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72250         unconditional.
72251         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72252         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72253         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72254         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72255         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72256         Make code unconditional.
72257         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72258         (__mmap64) [!__NR_mmap2]: Likewise.
72259         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72260         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72261         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72262         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72263         [__NR_mmap2]: Make code unconditional.
72264         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72265         (__mmap64) [!__NR_mmap2]: Likewise.
72267 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72269         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72271 2012-08-18  Andreas Jaeger  <aj@suse.de>
72273         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72275 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72277         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72278         * include/unistd.h (__have_sock_cloexec): Likewise.
72279         (__have_pipe2): Likewise.
72280         (__have_dup3): Likewise.
72282 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72284         [BZ #9685]
72285         * include/unistd.h (__have_pipe2): Change define into an extern int.
72286         (__have_dup3): Likewise.
72287         * socket/have_sock_cloexec.c: Include fcntl.h.
72288         (__have_pipe2): New variable.
72289         (__have_dup3): Likewise.
72291 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72293         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72295 2012-08-17  Marek Polacek  <polacek@redhat.com>
72297         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72298         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72300 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72302         * configure.in: Add AC_SUBST for sysheaders.
72303         * configure: Regenerated.
72304         * config.make.in (sysheaders): New substituted variable.
72306         * sysdeps/unix/mkfifo.c: Moved ...
72307         * sysdeps/posix/mkfifo.c: ... here.
72308         * sysdeps/unix/mkfifoat.c: Moved ...
72309         * sysdeps/posix/mkfifoat.c: ... here.
72311         * sysdeps/unix/utime.c: Moved ...
72312         * sysdeps/posix/utime.c: ... here.
72314         * sysdeps/unix/time.c: Moved ...
72315         * sysdeps/posix/time.c: ... here.
72316         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72317         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72319         * sysdeps/unix/nice.c: Moved ...
72320         * sysdeps/posix/nice.c: ... here.
72322         * sysdeps/unix/alarm.c: Moved ...
72323         * sysdeps/posix/alarm.c: ... here.
72325         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72327 2012-08-17  Jeff Law <law@redhat.com>
72329         * intl/Makefile (codeset_mo): New variable.
72330         ($(codeset_mo)): New target.
72331         (tst-codeset.out): Depend on that.  Remove explicit rule.
72332         (tst-gettext3.out, tst-gettext5.out): Likewise.
72333         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72334         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72335         * intl/tst-codeset.sh: Remove.
72336         * intl/tst-gettext3.sh: Likewise.
72337         * intl/tst-gettext5.sh: Likewise.
72339 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72341         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72342         * sysdeps/unix/syscalls.list: ... here.
72344         * sysdeps/posix/getaddrinfo.c
72345         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72346         (gaiconf_init, gaiconf_reload): Use them.
72347         [!_STATBUF_ST_NSEC]
72348         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72349         Define using time_t rather than struct timespec.
72351         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72352         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72353         Macros removed.
72354         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72355         [!NO_THREADS].
72356         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72357         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72358         Likewise.
72360         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72361         __libc_cleanup_push argument.
72363         * bits/param.h: New file.
72364         * misc/sys/param.h: New file.
72365         * include/sys/param.h: New file.
72366         * misc/Makefile (headers): Add bits/param.h.
72367         * sysdeps/generic/sys/param.h: File removed.
72368         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72369         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72370         * sysdeps/mach/hurd/bits/param.h: New file.
72371         * sysdeps/mach/hurd/sys/param.h: File removed.
72373         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72374         last change.
72376         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72377         [_IO_MTSAFE_IO].
72378         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72379         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72380         New macros.
72382         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72383         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72384         rather than -D_IO_MTSAFE_IO conditionally.
72385         * stdio-common/Makefile (CPPFLAGS): Likewise.
72386         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72387         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72388         Use $(libio-mtsafe).
72389         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72390         of -D_IO_MTSAFE_IO.
72391         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72392         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72393         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72394         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72395         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72396         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72397         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72398         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72399         (CFLAGS-fread_u_chk.c): Likewise.
72400         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72401         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72402         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72403         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72404         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72405         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72406         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72407         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72408         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72410         * libio/Makefile: Test [$(libc-reentrant) = yes]
72411         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72413         * Makeconfig
72414         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72415         * sysdeps/pthread/configure: File removed.
72416         * sysdeps/pthread/Makeconfig: New file.
72417         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72418         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72420 2012-08-16  Gary Benson  <gbenson@redhat.com>
72422         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72423         unmapping the first object in a namespace.
72425 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72427         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72428         (__internal_setnetgrent): ... this.  Add internal_function to
72429         definition.  Add libc_hidden_def.
72430         (setnetgrent): Update caller.
72431         (internal_endnetgrent): Renamed to ...
72432         (__internal_endnetgrent): ... this.  Add internal_function to
72433         definition.  Add libc_hidden_def.
72434         (endnetgrent): Update caller.
72435         (internal_getnetgrent_r): Renamed to ...
72436         (__internal_getnetgrent_r): ... this.  Add internal_function to
72437         definition.  Add libc_hidden_def.
72438         (__getnetgrent_r): Update caller.
72439         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72441 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72443         * stdlib/longlong.h: Update from GCC.
72445 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72447         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72448         on _QL, which is set by umul_ppmm but never used.
72449         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72450         variables, which are set by GMP macros but never used.
72451         * stdio-common/_itowa.c (_itowa): Likewise.
72452         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72453         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72455 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72457         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72458         struct La_sh_regs is not constant.
72459         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72460         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72461         and struct La_sparc64_regs are not constant.
72463 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72465         * sysdeps/unix/sysv/linux/kernel-features.h
72466         (__ASSUME_POSIX_TIMERS): Remove.
72467         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72468         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72469         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72470         Make code unconditional.
72471         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72472         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72473         Make code unconditional.
72474         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72475         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72476         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72477         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72478         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72479         Make code unconditional.
72480         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72481         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72482         (__libc_missing_posix_timers): Remove.
72484 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72486         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72487         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72489         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72491         * elf/dl-sym.c: Include <stdlib.h>.
72493         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72494         constants, which avoids warnings in 32-bit builds.
72496         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72497         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72499         * misc/lseek.c: File moved to ...
72500         * io/lseek.c: ... here.
72502         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72504         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72505         shifting LEN more than 31 bits at once.
72507 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72509         [BZ #14195]
72510         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72511         segmentation fault for a case of two empty input strings.
72512         * string/test-strncasecmp.c (check1): Renamed to...
72513         (bz12205): ...this.
72514         (bz14195): Add new testcase for two empty input strings and N > 0.
72515         (test_main): Call new testcase, adapt for renamed function.
72517 2012-08-15  Andreas Jaeger  <aj@suse.de>
72519         [BZ #14090]
72520         * crypt/md5test2.c: New test, based on test supplied by Serge
72521         Belyshev <belyshev@depni.sinp.msu.ru>.
72522         * crypt/Makefile (xtests): Add md5test-giant..
72523         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72525 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72527         [BZ #14090]
72528         * crypt/md5.c (md5_process_block): Don't assume the buffer
72529         length is less than 2**32.
72530         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72531         length is less than 2**64.
72533 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72535         * string/str-two-way.h: Include <sys/param.h>.
72536         (MAX): Macro removed.
72538         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72539         Move #define and #undef of memmove to just before and after
72540         including <string.h>.
72542         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72543         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72544         and after including <string.h>.  Move declarations of
72545         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72546         to before #include "string/memmove.c".
72548         * include/dirent.h: Declare __getdirentries.
72550         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72551         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72553 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72555         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72556         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72557         * sysdeps/i386/configure: Regenerated.
72558         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72559         STABS_CURRENT_FILE, and STABS_FUN.
72560         (END): Remove call to STABS_FUN_END.
72561         (STABS_CURRENT_FILE1): Delete.
72562         (STABS_CURRENT_FILE): Likewise.
72563         (STABS_FUN): Likewise.
72564         (STABS_FUN_END): Likewise.
72565         (STABS_FUN2): Likewise.
72566         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72567         * sysdeps/x86_64/configure: Regenerated.
72569 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72571         * elf/dl-open.c: Include <atomic.h>.
72572         * elf/dl-lookup.c: Likewise.
72574 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72576         * sysdeps/unix/sysv/linux/kernel-features.h
72577         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72578         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72579         unconditionally.
72580         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72581         unconditionally.
72582         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72583         condition on __ASSUME_CLONE_THREAD_FLAGS.
72585 2012-08-14  Andreas Jaeger  <aj@suse.de>
72587         * sysdeps/i386/fpu/libm-test-ulps: Update.
72589 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72591         * include/atomic.h (atomic_exchange_and_add): Split into ...
72592         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72593         New atomic macros.
72595 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72599 2012-08-13  Jeff Law <law@redhat.com>
72601         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72602         null byte in the output string.
72604 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72606         * sysdeps/unix/sysv/linux/kernel-features.h
72607         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72608         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72609         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72610         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72611         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72612         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72613         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72615 2012-08-09  Jeff Law <law@redhat.com>
72617         [BZ #13939]
72618         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72619         When avoid_arena is set, don't retry in the that arena.  Pick the
72620         next one, whatever it might be.
72621         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72622         (arena_lock): Pass in new parameter to arena_get2.
72623         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72624         arena_get2.
72625         (__libc_malloc): Unify retrying after main arena failure with
72626         __libc_memalign version.
72627         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72629 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72631         [BZ #14166]
72632         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72633         to __redirect_strstr.
72634         (__strstr_sse42): Use typeof __redirect_strstr.
72635         (__strstr_ia32): Likewise.
72636         (__libc_strstr): New prototype.
72637         (strstr): Renamed to ...
72638         (__libc_strstr): This.
72639         (strstr): New strong alias of __libc_strstr.
72640         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72641         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72642         __redirect_time.
72643         Include <time.h>.
72644         (__libc_time): New prototype.
72645         (time_ifunc): Replace time with __libc_time.
72646         (time): New strong alias and hidden definition of __libc_time.
72647         (__GI_time): Remove strong alias.
72648         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72649         Include <stddef.h>.
72650         (memmove): Redefined to __redirect_memmove.
72651         (__memmove_sse2): Use typeof __redirect_memmove.
72652         (__memmove_ssse3): Likewise.
72653         (__memmove_ssse3_back): Likewise.
72654         (__libc_memmove): New prototype.
72655         (memmove): Renamed to ...
72656         (__libc_memmove): This.
72657         (memmove): New strong alias of __libc_memmove.
72659 2012-08-08  Mark Salter  <msalter@redhat.com>
72661         * elf/elf.h
72662         (R_MN10300_TLS_GD): Define.
72663         (R_MN10300_TLS_LD): Likewise.
72664         (R_MN10300_TLS_LDO): Likewise.
72665         (R_MN10300_TLS_GOTIE): Likewise.
72666         (R_MN10300_TLS_IE): Likewise.
72667         (R_MN10300_TLS_LE): Likewise.
72668         (R_MN10300_TLS_DTPMOD): Likewise.
72669         (R_MN10300_TLS_DTPOFF): Likewise.
72670         (R_MN10300_TLS_TPOFF): Likewise.
72671         (R_MN10300_SYM_DIFF): Likewise.
72672         (R_MN10300_ALIGN): Likewise.
72673         (R_MN10300_NUM): Update.
72675 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72677         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72678         Remove.
72680 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72682         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72684         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72685         sysdeps/unix -> sysdeps/posix move.
72686         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72688 2012-08-07      Allan McRae     <allan@archlinux.org>
72690         [BZ #14303]
72691         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72692         (SUNOS_CPP): Likewise.
72693         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72694         not found.
72695         (open_input): Call CPP using execvp.
72697 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72699         * sysdeps/unix/sysv/linux/kernel-features.h
72700         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72701         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72702         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72703         (__ASSUME_WAITID_SYSCALL): Likewise.
72704         * sysdeps/unix/sysv/linux/dl-execstack.c
72705         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72706         code unconditional.
72707         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72708         conditional code.
72709         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72710         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72711         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72712         code.
72713         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72714         unconditional.
72715         [__ASSUME_WAITID_SYSCALL]: Likewise.
72716         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72718 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72720         * sysdeps/unix/closedir.c: Renamed to ...
72721         * sysdeps/posix/closedir.c: ... here.
72722         * sysdeps/unix/dirfd.c: Renamed to ...
72723         * sysdeps/posix/dirfd.c: ... here.
72724         * sysdeps/unix/dirstream.h: Renamed to ...
72725         * sysdeps/posix/dirstream.h: ... here.
72726         * sysdeps/unix/fdopendir.c: Renamed to ...
72727         * sysdeps/posix/fdopendir.c: ... here.
72728         * sysdeps/unix/opendir.c: Renamed to ...
72729         * sysdeps/posix/opendir.c: ... here.
72730         * sysdeps/unix/readdir.c: Renamed to ...
72731         * sysdeps/posix/readdir.c: ... here.
72732         * sysdeps/unix/readdir_r.c: Renamed to ...
72733         * sysdeps/posix/readdir_r.c: ... here.
72734         * sysdeps/unix/rewinddir.c: Renamed to ...
72735         * sysdeps/posix/rewinddir.c: ... here.
72736         * sysdeps/unix/seekdir.c: Renamed to ...
72737         * sysdeps/posix/seekdir.c: ... here.
72738         * sysdeps/unix/telldir.c: Renamed to ...
72739         * sysdeps/posix/telldir.c: ... here.
72740         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72741         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72742         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72743         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72745         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72746         * bits/fcntl.h: ... here.
72748         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72749         not 0.
72750         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72751         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72752         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72753         (struct flock): Move l_start, l_len to the beginning.
72754         Use __pid_t for l_pid.
72755         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72756         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72757         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72758         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72759         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72760         [__USE_LARGEFILE64] (struct flock64): New type.
72761         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72763         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72764         * bits/dirent.h: ... here.
72766         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72767         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72769 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72771         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72772         Change from 2.6.0 to 2.6.16.
72773         * sysdeps/unix/sysv/linux/configure: Regenerated.
72774         * sysdeps/unix/sysv/linux/kernel-features.h
72775         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72776         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72777         version.
72778         (__ASSUME_UTIMES): Likewise.
72779         (__ASSUME_CLONE_STOPPED): Remove.
72780         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72781         architectures, not kernel version.
72782         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72783         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72784         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72785         (__ASSUME_WAITID_SYSCALL): Likewise.
72786         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72787         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72788         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72789         refer to older versions.
72791 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72793         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72794         Define alphasort64 as an alias.
72795         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72796         Define versionsort64 as an alias.
72797         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72798         Define scandir64 as an alias.
72799         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72800         Define scandirat64 as an alias.
72801         * dirent/alphasort64.c (alphasort64):
72802         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72803         * dirent/versionsort64.c: Likewise.
72804         * dirent/scandir64.c: Likewise.
72805         * dirent/scandirat64.c: Likewise.
72806         * sysdeps/wordsize-64/alphasort.c: File removed.
72807         * sysdeps/wordsize-64/alphasort64.c: File removed.
72808         * sysdeps/wordsize-64/scandir.c: File removed.
72809         * sysdeps/wordsize-64/scandir64.c: File removed.
72810         * sysdeps/wordsize-64/scandirat.c: File removed.
72811         * sysdeps/wordsize-64/scandirat64.c: File removed.
72812         * sysdeps/wordsize-64/versionsort.c: File removed.
72813         * sysdeps/wordsize-64/versionsort64.c: File removed.
72814         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72815         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72816         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72817         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72818         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72819         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72820         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72821         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72823         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72825         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72827         [defined __arch64__ || defined __sparcv9]
72828         (__INO_T_MATCHES_INO64_T): New macro.
72829         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72830         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72831         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72832         * sysdeps/unix/sysv/linux/bits/dirent.h
72833         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72834         (_DIRENT_MATCHES_DIRENT64): New macro.
72836         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72837         Define lockf64 as an alias.
72838         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72839         Define fseeko64 as an alias.
72840         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72841         Define ftello64 as an alias.
72842         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72843         Define _IO_fgetpos64 and fgetpos64 as aliases.
72844         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72845         Define _IO_fsetpos64 and fsetpos64 as aliases.
72846         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72847         Conditionalize body on this.
72848         * libio/fseeko64.c: Likewise.
72849         * libio/ftello64.c: Likewise.
72850         * libio/iofgetpos64.c: Likewise.
72851         * libio/iofsetpos64.c: Likewise.
72852         * sysdeps/wordsize-64/lockf.c: File removed.
72853         * sysdeps/wordsize-64/lockf64.c: File removed.
72854         * sysdeps/wordsize-64/fseeko.c: File removed.
72855         * sysdeps/wordsize-64/fseeko64.c: File removed.
72856         * sysdeps/wordsize-64/ftello.c: File removed.
72857         * sysdeps/wordsize-64/ftello64.c: File removed.
72858         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72859         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72860         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72861         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72862         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72863         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72864         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72865         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72866         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72867         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72868         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72869         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72870         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72871         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72873         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72874         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72875         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72877         [defined __arch64__ || defined __sparcv9]
72878         (__OFF_T_MATCHES_OFF64_T): New macro.
72879         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72880         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72882         (__OFF_T_MATCHES_OFF64_T): New macro.
72884 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72886         * stdlib/secure-getenv.c (__secure_getenv): Replace
72887         GLIBC_2_16 with GLIBC_2_17.
72889 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72891         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72892         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72894 2012-08-03  David S. Miller  <davem@davemloft.net>
72896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72898 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72900         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72901         Remove.
72902         (__ASSUME_CORRECT_SI_PID): Likewise.
72903         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72904         (__ASSUME_TMPFS_NAME): Likewise.
72905         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72906         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72907         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72908         (HAVE_AUX_SECURE): Make definition unconditional.
72909         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72910         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72912 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72914         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72915         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72916         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72917         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72918         __eloop_threshold instead of SYMLOOP_MAX.
72920         * sysdeps/generic/eloop-threshold.h: New file.
72921         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72922         of MAXSYMLINKS.
72923         * elf/chroot_canon.c (chroot_canon): Likewise.
72925 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72927         [BZ #13717]
72928         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72929         Change to 2.6.0 everywhere.
72930         * sysdeps/unix/sysv/linux/configure: Regenerated.
72931         * sysdeps/unix/sysv/linux/kernel-features.h
72932         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72933         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72934         kernel versions.
72935         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72936         (__ASSUME_FUTEX_REQUEUE): Remove.
72937         (__ASSUME_STATFS64): Define unconditionally.
72938         (__ASSUME_AT_SECURE): Likewise.
72939         (__ASSUME_CORRECT_SI_PID): Likewise.
72940         (__ASSUME_TGKILL): Define without depending on kernel version for
72941         i386.
72942         (__ASSUME_UTIMES): Likewise.
72943         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72944         kernel version.
72945         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72946         (__ASSUME_TMPFS_NAME): Likewise.
72947         * README: Update reference to Linux kernel versions.
72949 2012-08-02  Marek Polacek  <polacek@redhat.com>
72951         [BZ #14150]
72952         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72953         libc_cv_asm_type_prefix with %.
72954         * configure: Regenerated.
72955         * include/libc-symbols.h: Remove comment about
72956         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72957         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72958         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72959         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72960         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72961         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72962         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72963         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72964         * elf/tst-unique2mod1.c: Likewise.
72965         * elf/tst-unique1mod2.c: Likewise.
72966         * elf/tst-unique1mod1.c: Likewise.
72967         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72968         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72969         Replace ASM_TYPE_DIRECTIVE with .type.
72970         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72971         * sysdeps/i386/sysdep.h: Likewise.
72972         * sysdeps/x86_64/sysdep.h: Likewise.
72973         * sysdeps/sh/sysdep.h: Likewise.
72974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72975         Do not define ASM_TYPE_DIRECTIVE.
72976         * sysdeps/powerpc/sysdep.h: Likewise.
72977         * sysdeps/powerpc/powerpc32/sysdep.h:
72978         Replace ASM_TYPE_DIRECTIVE with .type.
72979         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72980         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72981         * sysdeps/i386/fpu/e_powf.S: Likewise.
72982         * sysdeps/i386/fpu/e_expl.S: Likewise.
72983         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72984         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72985         * sysdeps/i386/fpu/e_pow.S: Likewise.
72986         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72987         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72988         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72989         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72990         * sysdeps/i386/fpu/e_log2.S: Likewise.
72991         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72992         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72993         * sysdeps/i386/fpu/e_powl.S: Likewise.
72994         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72995         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72996         * sysdeps/i386/fpu/e_logl.S: Likewise.
72997         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72998         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72999         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73000         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73001         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73002         * sysdeps/i386/fpu/e_log.S: Likewise.
73003         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73004         * sysdeps/i386/fpu/e_logf.S: Likewise.
73005         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73006         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73007         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73008         * sysdeps/i386/fpu/e_log10.S: Likewise.
73009         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73010         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73011         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73012         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73013         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73014         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73015         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73016         * sysdeps/i386/i686/strtok.S: Likewise.
73017         * sysdeps/i386/i386-mcount.S: Likewise.
73018         * sysdeps/i386/strtok.S: Likewise.
73019         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73020         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73021         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73022         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73023         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73024         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73025         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73026         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73027         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73028         * sysdeps/x86_64/_mcount.S: Likewise.
73029         * sysdeps/x86_64/strtok.S: Likewise.
73030         * sysdeps/sh/_mcount.S: Likewise.
73032 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73034         * libio/iofopen.c: Include <fcntl.h>.
73035         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73036         (_IO_fopen64, fopen64): Define as aliases.
73037         * libio/iofopen64.c: Include <fcntl.h>.
73038         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73039         Conditionalize body on this.
73040         * sysdeps/wordsize-64/iofopen.c: File removed.
73041         * sysdeps/wordsize-64/iofopen64.c: File removed.
73043 2012-08-01  Marek Polacek  <polacek@redhat.com>
73045         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73046         Use dlfcn directly instead of a variable.
73047         (binfmt-subdir): Do not define.
73048         (dlfcn): Likewise.
73050 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73053         Remove all definitions.
73054         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73055         <kernel-features.h>.
73056         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73057         (miss_F_GETOWN_EX): Remove all definitions.
73058         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73059         macro definition.
73060         [!__ASSUME_FCNTL64]: Remove conditional code.
73061         [__ASSUME_FCNTL64]: Make code unconditional.
73062         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73063         <kernel-features.h>.
73064         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73065         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73066         (lockf64) [__NR_fcntl64]: Make code unconditional.
73067         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73069         * sysdeps/unix/sysv/linux/kernel-features.h
73070         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73071         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73072         Make code unconditional.
73073         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73074         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73076         [__NR_vfork]: Make code unconditional.
73077         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73078         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73080         [__NR_vfork]: Make code unconditional.
73081         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73082         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73084 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73086         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73087         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73089         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73090         Define mkstemp64 as an alias.
73091         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73092         Define mkstemps64 as an alias.
73093         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73094         Define mkostemp64 as an alias.
73095         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73096         Define mkostemps64 as an alias.
73097         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73098         Conditionalize body on this.
73099         * misc/mkostemp64.c: Likewise.
73100         * misc/mkostemps64.c: Likewise.
73101         * misc/mkstemps64.c: Likewise.
73102         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73103         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73104         * sysdeps/wordsize-64/mkostemp.c: File removed.
73105         * sysdeps/wordsize-64/mkstemp.c: File removed.
73106         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73107         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73108         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73109         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73111         [BZ #14138]
73112         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73113         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73114         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73115         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73117         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73118         compat_symbol macros from <shlib-compat.h> rather than the underlying
73119         default_symbol_version and symbol_version macros, so that DEFAULT
73120         lines in shlib-versions are respected.
73121         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73123 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73125         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73126         Declare with warn_unused_result.
73127         (setgid, setregid, setegid, setresgid): Likewise.
73128         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73129         Likewise.
73130         * WUR-REPORT: Remove set*id functions.
73132 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73134         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73136 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73138         [BZ #10191]
73139         * include/sys/socket.h (__libc_accept, __libc_accept4):
73140         Add attribute_hidden.
73141         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73143         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73144         use of PTR_MANGLE.
73145         * inet/getnetgrent_r.c (setup): Likewise.
73147         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73149 2012-07-31  David S. Miller  <davem@davemloft.net>
73151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73153 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73155         [BZ #13629]
73156         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73157         value between 1.0 and 2.0 and smaller part has absolute value less
73158         than 1.0.
73159         * math/s_clog10.c (__clog10): Likewise.
73160         * math/s_clog10f.c (__clog10f): Likewise.
73161         * math/s_clog10l.c (__clog10l): Likewise.
73162         * math/s_clogf.c (__clogf): Likewise.
73163         * math/s_clogl.c (__clogl): Likewise.
73164         * math/libm-test.inc (clog_test): Add more tests.
73165         (clog10_test): Likewise.
73166         * sysdeps/i386/fpu/libm-test-ulps: Update.
73167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73169 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73171         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73172         Exit with zero in case no suitable GID is found, and write a
73173         message to standard error.
73175 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73177         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73178         rather than to 1.
73179         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73180         (MAXPATHLEN): Removed.
73181         (NOGROUP, NODEV): New macros.
73182         (setbit, clrbit, isset, isclr): New macros.
73183         (howmany, roundup, powerof2): New macros.
73184         (DEV_BSIZE): New macro.
73186         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73187         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73189         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73190         definition on [!__NO_LONG_DOUBLE_MATH].
73192         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73193         PTR_MANGLE and PTR_DEMANGLE.
73195         * socket/accept4.c (accept4): Rename to __libc_accept4.
73196         Define accept4 as a weak alias.
73198         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73199         on [_DIRENT_HAVE_D_TYPE].
73200         * io/ftw.c (ftw_dir): Likewise.
73202         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73204         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73206         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73207         Use the BSD numbers rather than the arbitrary ones we had.
73208         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73209         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73210         (SIGXCPU, SIGXFSZ): New macros.
73211         (_NSIG): Now 32.
73213         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73214         initializer on [_LIBC_REENTRANT].
73216         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73217         definitions inside [_POSIX_MAPPED_FILES].
73219         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73221         * dirent/opendir.c: Include <fcntl.h>.
73223         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73224         (__libc_getspecific): Likewise.
73225         (__libc_key_create): Likewise.
73227         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73228         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73229         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73230         (tmpfile64): Define as alias.
73231         * sysdeps/wordsize-64/tmpfile.c: File removed.
73232         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73233         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73234         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73236         * stdio-common/vfscanf.c: Include <stdbool.h>.
73237         * nss/makedb.c: Likewise.
73238         * stdio-common/_i18n_number.h: Likewise.
73239         * argp/argp-help.c: Likewise.
73240         * posix/wordexp.c: Likewise.
73241         * sysdeps/posix/spawni.c: Likewise.
73242         * nss/nss_files/files-initgroups.c: Likewise.
73243         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73244         * nss/nss_files/files-initgroups.c: Likewise.
73245         * nss/nss_db/db-netgrp.c: Likewise.
73246         * nss/nss_db/db-initgroups.c: Likewise.
73247         * io/fchmodat.c: Include <sys/stat.h>.
73249         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73250         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73252         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73253         [HAVE_MMAP].
73255         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73256         Add multiple inclusion protection.
73258 2012-07-27  David S. Miller  <davem@davemloft.net>
73260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73262 2012-07-27  Gary Benson  <gbenson@redhat.com>
73264         [BZ #14298]
73265         * elf/rtld.c: Include <stap-probe.h>.
73266         (dl_main): Added static probes "init_start" and "init_complete".
73267         * elf/dl-load.c: Include <stap-probe.h>.
73268         (lose): Take new parameter "nsid".
73269         Added static probe "map_failed".
73270         (_dl_map_object_from_fd): Pass namespace id to lose.
73271         Added static probe "map_start".
73272         (open_verify): Pass namespace id to lose.
73273         * elf/dl-open.c: Include <stap-probe.h>.
73274         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73275         and "reloc_complete".
73276         * elf/dl-close.c: Include <stap-probe.h>.
73277         (_dl_close_worker): Added static probes "unmap_start" and
73278         "unmap_complete".
73279         * elf/rtld-debugger-interface.txt: New file documenting the above.
73281 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73283         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73284         rather than a string variable.
73285         * sunrpc/rpc_main.c (h_output): Likewise.
73286         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73288 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73290         * inet/check_native.c: New file.
73292 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73294         [BZ #13629]
73295         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73296         if larger part has absolute value 1.0.
73297         * math/s_clog10.c (__clog10): Likewise.
73298         * math/s_clog10f.c (__clog10f): Likewise.
73299         * math/s_clog10l.c (__clog10l): Likewise.
73300         * math/s_clogf.c (__clogf): Likewise.
73301         * math/s_clogl.c (__clogl): Likewise.
73302         * math/libm-test.inc (clog_test): Add more tests.
73303         (clog10_test): Likewise.
73304         * sysdeps/i386/fpu/libm-test-ulps: Update.
73305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73307         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73308         (pltexit): Likewise.
73309         (La_regs): Likewise.
73310         (La_retval): Likewise.
73311         (int_retval): Likewise.
73312         Update #error for removed macros to refer only to definitions in
73313         tst-audit.h.
73314         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73315         macro.
73316         (pltexit): Likewise.
73317         (La_regs): Likewise.
73318         (La_retval): Likewise.
73319         (int_retval): Likewise.
73320         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73321         macro.
73322         (pltexit): Likewise.
73323         (La_regs): Likewise.
73324         (La_retval): Likewise.
73325         (int_retval): Likewise.
73326         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73327         macro.
73328         (pltexit): Likewise.
73329         (La_regs): Likewise.
73330         (La_retval): Likewise.
73331         (int_retval): Likewise.
73332         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73333         macro.
73334         (pltexit): Likewise.
73335         (La_regs): Likewise.
73336         (La_retval): Likewise.
73337         (int_retval): Likewise.
73338         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73339         macro.
73340         (pltexit): Likewise.
73341         (La_regs): Likewise.
73342         (La_retval): Likewise.
73343         (int_retval): Likewise.
73344         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73345         macro.
73346         (pltexit): Likewise.
73347         (La_regs): Likewise.
73348         (La_retval): Likewise.
73349         (int_retval): Likewise.
73350         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73351         macro definitions in tst-audit.h.
73352         * sysdeps/i386/tst-audit.h: New file.
73353         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73354         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73355         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73356         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73357         * sysdeps/sh/tst-audit.h: Likewise.
73358         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73359         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73360         * sysdeps/x86_64/tst-audit.h: Likewise.
73362 2012-07-26  Andreas Jaeger  <aj@suse.de>
73364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73365         ptrace.
73367         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73368         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73369         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73370         PTRACE_O_MASK.
73371         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73372         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73373         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73375         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73376         value.
73378         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73379         _sigsys.
73380         (si_call_addr, si_syscall, si_arch): Define new macro.
73381         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73382         _sigsys.
73383         (si_call_addr, si_syscall, si_arch): Define new marcro.
73384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73385         _sigsys.
73386         (si_call_addr, si_syscall, si_arch): Define new macro.
73387         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73388         _sigsys.
73389         (si_call_addr, si_syscall, si_arch): Define new macro.
73391 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73393         [BZ #13717]
73394         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73395         Change to 2.4.21 where previously 2.4.1.
73396         * sysdeps/unix/sysv/linux/configure: Regenerated.
73397         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73398         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73399         Linux kernel version.
73400         (__ASSUME_STD_AUXV): Remove.
73401         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73402         kernel version.
73403         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73404         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73405         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73406         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73407         (__ASSUME_NETLINK_SUPPORT): Likewise.
73408         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73409         (__no_netlink_support): Remove conditional definition.
73410         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73411         Remove.
73412         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73413         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73414         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73415         (if_nameindex_ioctl): Remove.
73416         (if_nameindex_netlink): Do not handle __no_netlink_support.
73417         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73418         code.
73419         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73420         Remove conditional code.
73421         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73422         code.
73423         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73424         unconditional.
73425         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73426         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73427         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73428         Remove.
73429         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73430         [!__ASSUME_STD_AUXV]: Remove conditional code.
73431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73432         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73433         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73435         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73436         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73437         code.
73438         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73440         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73441         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73442         conditional code.
73443         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73445         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73446         code.
73447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73448         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73449         conditional code.
73450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73451         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73452         code unconditional.
73453         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73454         conditional code.
73455         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73456         unconditional.
73457         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73458         conditional code.
73459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73460         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73461         unconditional.
73462         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73463         conditional code.
73464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73465         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73466         code unconditional.
73467         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73468         conditional code.
73469         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73470         unconditional.
73471         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73472         conditional code.
73473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73474         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73475         code unconditional.
73476         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73477         conditional code.
73478         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73479         unconditional.
73480         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73481         conditional code.
73483 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73485         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73486         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73487         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73488         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73489         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73490         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73491         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73492         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73493         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73494         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73495         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73496         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73497         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73498         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73499         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73500         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73501         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73502         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73503         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73505         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73506         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73507         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73509 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73511         * Versions.def: Add GLIBC_2.17.
73512         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73513         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73514         Introduce __libc_secure_getenv.
73515         * stdlib/Versions (2.17): Add secure_getenv
73516         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73517         * stdlib/secure-getenv.c: Rename __secure_getenv to
73518         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73519         symbol __secure_getenv for GLIBC_2.0.
73520         * stdlib/tst-secure-getenv.c: New.
73521         * stdlib/Makefile (tests): Add testcase.
73522         * manual/startup.texi (Environment Access): Document
73523         secure_getenv.
73524         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73525         __libc_secure_getenv.
73526         * inet/ruserpass.c (ruserpass): Likewise.
73527         * malloc/mtrace.c (mtrace): Likewise.
73528         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73529         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73530         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73531         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73532         HAVE_SECURE_GETENV.
73533         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73534         __secure_getenv to __libc_secure_getenv.
73535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73537         Likewise.
73538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73539         Likewise.
73540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73548 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73550         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73551         (struct La_i86_retval): Likewise.
73552         (struct La_x86_64_regs): Likewise.
73553         (struct La_x86_64_retval): Likewise.
73554         (struct La_x32_regs): Likewise.
73555         (struct La_x32_retval): Likewise.
73556         (struct La_ppc32_regs): Likewise.
73557         (struct La_ppc32_retval): Likewise.
73558         (struct La_ppc64_regs): Likewise.
73559         (struct La_ppc64_retval): Likewise.
73560         (struct La_sh_regs): Likewise.
73561         (struct La_sh_retval): Likewise.
73562         (struct La_s390_32_regs): Likewise.
73563         (struct La_s390_32_retval): Likewise.
73564         (struct La_s390_64_regs): Likewise.
73565         (struct La_s390_64_retval): Likewise.
73566         (struct La_sparc32_regs): Likewise.
73567         (struct La_sparc32_retval): Likewise.
73568         (struct La_sparc64_regs): Likewise.
73569         (struct La_sparc64_retval): Likewise.
73570         (struct audit_ifaces): Remove architecture-specific pltenter and
73571         pltexit members.
73572         * sysdeps/i386/ldsodefs.h: New file.
73573         * sysdeps/powerpc/ldsodefs.h: Likewise.
73574         * sysdeps/s390/ldsodefs.h: Likewise.
73575         * sysdeps/sh/ldsodefs.h: Likewise.
73576         * sysdeps/sparc/ldsodefs.h: Likewise.
73577         * sysdeps/x86_64/ldsodefs.h: Likewise.
73579 2012-07-25  Marek Polacek  <polacek@redhat.com>
73581         [BZ #6808]
73582         * math/libm-test.inc (yn_test): Add another test.
73583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73584         to ERANGE when the result is +-Inf.
73585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73587         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73588         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73590 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73592         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73593         equal to 0.
73594         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73595         clock_t.
73596         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73598 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73600         * configure.in <sysdeps resolving>: Correct printing
73601         Implies_before.
73602         * configure: Regenerate.
73604 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73606         * math/w_ilogb.c: Include <limits.h>.
73607         * math/w_ilogbl.c: Likewise.
73609 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73611         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73612         va_copy.  Document allowing for unavailable va_copy only as
73613         pre-C99 compatibility.
73614         * manual/string.texi (Copying and Concatenation): Use va_copy
73615         instead of __va_copy in concat example.
73617 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73619         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73620         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73621         it if not null.
73623         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73624         with O_NOLINK passed to __file_name_lookup.
73626         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73627         with O_NOLINK passed to __file_name_lookup.
73629         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73630         negative N or less than NGIDS.
73632         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73633         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73634         enough.  Use memcpy instead of strncpy.
73636 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73638         * elf/Makefile (check-data): Remove.
73639         (localplt.data): New vpath directive.
73640         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73641         instead of $(check-data).
73642         * scripts/data/localplt-generic.data: Move to ...
73643         * sysdeps/generic/localplt.data: ... here.
73644         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73645         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73646         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73648         ... here.
73649         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73651         ... here.
73652         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73654         ... here.
73655         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73657         ... here.
73658         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73660         ... here.
73661         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73663         ... here.
73665 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73667         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73668         PPC32 and PPC64 files.
73669         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73670         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73672 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73674         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73675         __makecontext_ret to ...
73676         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73677         ... here and call exit if uc_link is NULL.  New file.
73678         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73679         __makecontext_ret.S.
73680         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73681         __makecontext_ret to ...
73682         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73683         ... here and call exit if uc_link is NULL.  New file.
73684         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73685         __makecontext_ret.S.
73687 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73689         * elf/elf.h (R_390_IRELATIVE): New definition.
73690         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73691         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73692         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73693         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73694         (elf_machine_lazy_rel): Likewise.
73695         * sysdeps/s390/dl-irel.h: New file.
73696         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73697         * sysdeps/s390/s390-64/memset.S: New asm code.
73698         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73699         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73700         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73701         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73702         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73703         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73705         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73706         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73707         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73708         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73709         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73710         * sysdeps/s390/s390-32/memset.S: New asm code.
73711         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73713 2012-07-17  Marek Polacek  <polacek@redhat.com>
73715         [BZ #14349]
73716         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73717         * sysdeps/s390/s390-64/configure.in: Likewise.
73718         * sysdeps/sparc/configure.in: Likewise.
73719         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73720         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73721         * sysdeps/i386/configure.in: Likewise.
73722         * sysdeps/x86_64/configure.in: Likewise.
73723         * sysdeps/sh/configure.in: Likewise.
73724         * sysdeps/s390/s390-32/configure: Regenerated.
73725         * sysdeps/s390/s390-64/configure: Likewise.
73726         * sysdeps/x86_64/configure: Likewise.
73727         * sysdeps/sh/configure: Likewise.
73728         * sysdeps/powerpc/powerpc64/configure: Likewise.
73729         * sysdeps/powerpc/powerpc32/configure: Likewise.
73730         * sysdeps/sparc/configure: Likewise.
73731         * sysdeps/i386/configure: Likewise.
73733         * elf/dl-open.c: Comment fixes.
73735 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73737         * Makefile [CXX] (check-data): Remove.
73738         [CXX] (c++-types.data): New vpath directive.
73739         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73740         vpath.  Do not allow for C++ type data being missing.
73741         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73742         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73743         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73744         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73745         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73746         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73747         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73749         ... here.
73750         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73752         ... here.
73753         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73755         ... here.
73756         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73758         ... here.
73759         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73761         ... here.
73762         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73764         ... here.
73765         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73767         ... here.
73768         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73771         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73772         definitions to architecture-specific files.
73773         (TLS_IE): Likewise.
73774         (TLS_LD): Likewise.
73775         (TLS_GD): Likewise.
73776         * sysdeps/i386/tls-macros.h: New file.
73777         * sysdeps/powerpc/tls-macros.h: Likewise.
73778         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73779         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73780         * sysdeps/sh/tls-macros.h: Likewise.
73781         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73782         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73783         * sysdeps/x86_64/tls-macros.h: Likewise.
73785 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73787         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73788         zero value for regular exit case.
73790         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73791         (__start_context): Preserve zero value for regular exit case.
73793 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73794             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73796         * manual/setjmp.texi (setcontext): Clarify normal process
73797         termination when uc_link is the null pointer.
73798         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73799         exit call.
73801 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73803         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73804         preprocessor.  Test for each exception mask separately.
73806 2012-07-16  Andreas Jaeger  <aj@suse.de>
73808         * po/ru.po: Update from translation team.
73810 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73812         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73813         equal to 0.
73814         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73815         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73816         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73817         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73820 2012-07-13  Andreas Jaeger  <aj@suse.de>
73822         * po/fr.po: Update from translation team.
73824 2012-07-12  Marek Polacek  <polacek@redhat.com>
73826         [BZ #14173]
73827         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73828         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73829         loop condition.
73831 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73833         [BZ #13717]
73834         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73835         Change to 2.4.1 where previously 2.4.0.
73836         * sysdeps/unix/sysv/linux/configure: Regenerated.
73837         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73838         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73839         version.
73840         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73841         (__ASSUME_AT_CLKTCK): Remove.
73842         (__ASSUME_AT_PAGESIZE): Likewise.
73843         (__ASSUME_AT_XID): Likewise.
73844         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73845         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73846         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73847         unconditionally.
73848         (HAVE_AUX_PAGESIZE): Likewise.
73849         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73850         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73851         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73853 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73855         [BZ #14307]
73856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73857         the temporary buffer used to invoke __gethostbyname2_r,
73858         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73859         host_data / struct gaih_addrtuple.
73860         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73861         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73862         header file nss/nsswitch.h.
73863         * nss/nsswitch.h (global scope): Add definition of implementation
73864         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73865         resolv/nss_dns/dns-host.c).
73867 2012-07-11  Andreas Jaeger  <aj@suse.de>
73869         * po/fr.po: Update from translation team.
73871         * po/sv.po: Update from translation team
73872         * po/fr.po: Another update from translation team.
73874 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73876         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73877         for subnormals or multiply small sinh result by itself.
73878         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73881 2012-07-11  David S. Miller  <davem@davemloft.net>
73883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73885 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73887         [BZ #14347]
73888         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73889         (INTERNAL_MARK): Shift it here.
73891 2012-07-10  Marek Polacek  <polacek@redhat.com>
73893         [BZ #14151]
73894         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73895         libc_cv_asm_global_directive with .globl.
73896         * configure: Regenerated.
73897         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73898         with .globl.
73899         * sysdeps/i386/configure: Regenerated.
73900         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73901         with .globl.
73902         * sysdeps/x86_64/configure: Regenerated.
73903         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73904         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73905         * elf/tst-unique2mod2.c: Likewise.
73906         * elf/tst-unique2mod1.c: Likewise.
73907         * elf/tst-unique1mod2.c: Likewise.
73908         * elf/tst-unique1mod1.c: Likewise.
73909         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73910         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73911         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73912         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73913         * sysdeps/mach/sysdep.h: Likewise.
73914         * sysdeps/i386/sysdep.h: Likewise.
73915         * sysdeps/i386/i386-mcount.S: Likewise.
73916         * sysdeps/x86_64/_mcount.S: Likewise.
73917         * sysdeps/x86_64/sysdep.h: Likewise.
73918         * sysdeps/sh/_mcount.S: Likewise.
73919         * sysdeps/sh/sysdep.h: Likewise.
73920         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73921         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73922         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73923         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73924         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73925         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73926         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73927         * locale/localeinfo.h: Likewise.
73928         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73929         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73931 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73933         [BZ #14336]
73934         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73935         system".
73936         * manual/message.texi (The Uniforum approach): Likewise.
73937         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73938         (glibc iconv Implementation): Likewise.
73940 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73942         [BZ #14337]
73943         * math/s_clog.c (__clog): Avoid scaling a value down where that
73944         could result in underflow.
73945         * math/s_clog10.c (__clog10): Likewise.
73946         * math/s_clog10f.c (__clog10f): Likewise.
73947         * math/s_clog10l.c (__clog10l): Likewise.
73948         * math/s_clogf.c (__clogf): Likewise.
73949         * math/s_clogl.c (__clogl): Likewise.
73950         * math/libm-test.inc (clog_test): Add more tests.
73951         (clog10_test): Likewise.
73952         * sysdeps/i386/fpu/libm-test-ulps: Update.
73953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73955 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73957         [BZ #14283]
73958         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73959         by 7 not 8 to examine high bit of fractional part.
73961         [BZ #14042]
73962         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73963         for call to __mcount_internal.
73964         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73965         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73966         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73968 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73970         [BZ #14154]
73971         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73972         approximation for values within 0x1p-13f of an odd multiple of
73973         pi/4.
73974         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73975         exception.  Add more tests.
73976         * sysdeps/i386/fpu/libm-test-ulps: Update.
73978         [BZ #6778]
73979         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73980         inputs and return -1 for them.  Do not check for +Inf in case not
73981         reachable for +Inf.
73982         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73983         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73984         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73985         and return -1 for them.  Do not check for +Inf in case not
73986         reachable for +Inf.
73987         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73988         define.
73989         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73990         and return -1 for them.  Do not check for +Inf in case not
73991         reachable for +Inf.
73992         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73993         spurious underflow.
73994         * sysdeps/i386/fpu/libm-test-ulps: Update.
73995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73997 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73999         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74001 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74003         [BZ #14157]
74004         [BZ #14331]
74005         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74006         could result in spurious underflow.  Scale down values above
74007         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74008         * math/s_csqrtf.c (__csqrtf): Likewise.
74009         * math/s_csqrtl.c (__csqrtl): Likewise.
74010         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74011         spurious underflow.
74012         * sysdeps/i386/fpu/libm-test-ulps: Update.
74013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74015 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74017         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74018         xopen-msg.sed.
74019         * catgets/xopen-msg.awk: New file.
74020         * catgets/xopen-msg.sed: Removed.
74022         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74023         po2text.sed.
74024         * intl/po2test.awk: New file.
74025         * intl/po2test.sed: Removed.
74027 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74029         [BZ #14328]
74030         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74031         or multiply small sinh result by itself.
74032         * math/s_ctanf.c (__ctanf): Likewise.
74033         * math/s_ctanh.c (__ctanh): Likewise.
74034         * math/s_ctanhf.c (__ctanhf): Likewise.
74035         * math/s_ctanhl.c (__ctanhl): Likewise.
74036         * math/s_ctanl.c (__ctanl): Likewise.
74037         * math/libm-test.inc (ctan_test_tonearest): New function.
74038         (ctan_test_towardzero): Likewise.
74039         (ctan_test_downward): Likewise.
74040         (ctan_test_upward): Likewise.
74041         (ctanh_test_tonearest): Likewise.
74042         (ctanh_test_towardzero): Likewise.
74043         (ctanh_test_downward): Likewise.
74044         (ctanh_test_upward): Likewise.
74045         (main): Call these new functions.
74046         * sysdeps/i386/fpu/libm-test-ulps: Update.
74047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74049 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74051         * .gitignore: Delete /ports entry.
74053 2012-07-03  Andreas Jaeger  <aj@suse.de>
74055         * po/bg.po: Update from translation team.
74056         * po/cs.po: Likewise.
74057         * po/de.po: Likewise.
74058         * po/hr.po: Likewise.
74059         * po/nl.pl: Likewise.
74060         * po/pl.po: Likewise.
74061         * po/vi.po: Likewise.
74063 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74065         * Makeconfig [!+link] (+link-before-libc): New variable.
74066         [!+link] (+link-after-libc): Likewise.
74067         [!+link] (+link-tests): Likewise.
74068         [!+link] (+link): Define in terms of $(+link-before-libc) and
74069         $(+link-after-libc).
74070         [!+link-static] (+link-static-before-libc): New variable.
74071         [!+link-static] (+link-static-after-libc): Likewise.
74072         [!+link-static] (+link-static-tests): Likewise.
74073         [!+link-static] (+link-static): Define in terms of
74074         $(+link-static-before-libc) and $(+link-static-after-libc).
74075         [build-shared] (link-libc-before-gnulib): New variable.
74076         [build-shared] (link-libc-tests): Likewise.
74077         [build-shared] (link-libc): Define in terms of
74078         $(link-libc-before-gnulib).
74079         [!build-shared] (link-libc-tests): New variable.
74080         (link-libc-static-tests): New variable.
74081         [!gnulib] (gnulib-arch): New variable.
74082         [!gnulib] (gnulib-tests): Likewise.
74083         [!gnulib] (static-gnulib-arch): Likewise.
74084         [!gnulib] (static-gnulib-tests): Likewise.
74085         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74086         Define with "=" instead of ":=".
74087         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74088         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74089         * Rules (binaries-all-notests): New variable.
74090         (binaries-all-tests): Likewise.
74091         (binaries-static-notests): Likewise.
74092         (binaries-static-tests): Likewise.
74093         (binaries-all): Define using $(binaries-all-notests) and
74094         $(binaries-all-tests).
74095         (binaries-static): Define using $(binaries-static-notests) and
74096         $(binaries-static-tests).
74097         (binaries-shared-tests): New variable.
74098         (binaries-shared-notests): Likewise.
74099         (binaries-shared): Remove variable.
74100         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74101         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74102         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74103         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74104         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74105         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74106         * elf/Makefile (sln-modules): New variable.
74107         (extra-objs): Add $(sln-modules:=.o).
74108         (ldconfig-modules): Add static-stubs.
74109         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74110         * elf/static-stubs.c: New file.
74112         [BZ #14283]
74113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74114         by 7 not 8 to examine high bit of fractional part.  Use volatile
74115         variables when splitting into final array of floats if
74116         __FLT_EVAL_METHOD__ != 0.
74117         * math/libm-test.inc (cos_test): Add another test.
74118         (sin_test): Likewise.
74119         * sysdeps/i386/fpu/libm-test-ulps: Update.
74121         [BZ #14273]
74122         * math/libm-test.inc (cosh_test): Add more tests.
74124         * version.h (RELEASE): Set to "development".
74125         (VERSION): Set to "2.16.90".
74127 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74129         * NEWS: Update copyright. Remove last-updated date.
74130         Mention math library bug fixes and timezone data changes.
74131         * README: Mention GNU/Hurd, x32, and HPPA support status.
74133 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74135         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74137 2012-06-27  Andreas Jaeger  <aj@suse.de>
74139         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74141 2012-06-25  Andreas Jaeger  <aj@suse.de>
74143         * sysdeps/s390/fpu/libm-test-ulps: Update.
74145 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74146             Thomas Schwinge  <thomas@codesourcery.com>
74148         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74149         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74150         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74151         fanotify_mark.
74153 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74155         * sysdeps/mach/start.c: Remove file.
74156         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74157         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74158         * sysdeps/sh/init-first.c: Likewise.
74160         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74161         registers for frame unwinding purposes, add CFI directives.
74162         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74163         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74164         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74165         Likewise.
74167         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74168         __fortify_fail returning.
74169         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74171         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74172         sysdeps/sh/____longjmp_chk.S.
74173         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74174         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74175         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74176         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74178         * sysdeps/sh/abort-instr.h: New file.
74179         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74180         process in case exit returns.
74182         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74183         initialize the GOT register before use.
74185         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74186         calculation of ARGC > 4.
74188         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74189         meaningful names to some local labels.
74191 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74192             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74194         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74195         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74196         (__arch_compare_and_exchange_val_16_acq): Likewise.
74197         (__arch_compare_and_exchange_val_32_acq): Likewise.
74198         (atomic_exchange_and_add): Fix gUSA sequence.
74199         (atomic_add): Likewise.
74200         (atomic_add_negative): Likewise.
74201         (atomic_add_zero): Likewise.
74202         (atomic_bit_test_set): Likewise.
74204 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74206         [BZ #13579]
74207         * include/link.h (struct link_map): Add l_free_initfini.
74208         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74209         l_initfini.
74210         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74211         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74212         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74213         set.
74215 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74217         * configure.in: Use AC_LANG_SOURCE.
74218         * configure: Regenerate.
74220 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74222         * configure.in (libc_cv_localstatedir): New substituted variable.
74223         * configure: Regenerated.
74224         * config.make.in (localstatedir): New variable, substituted from
74225         libc_cv_localstatedir.
74226         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74227         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74228         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74229         * sysdeps/gnu/configure: Regenerated.
74231 2012-06-21  Jeff Law  <law@redhat.com>
74233         [BZ #14277]
74234         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74235         free.  Simplify list management for _LIBC case.
74237 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74239         [BZ #14273]
74240         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74241         Clear sign bit of 64-bit integer value before comparing against
74242         overflow value.
74244         * sysdeps/mach/configure: Regenerated.
74246 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74248         [BZ #14278]
74249         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74251 2012-06-21  Jeff Law  <law@redhat.com>
74253         [BZ #13882]
74254         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74255         uint16_t for elements in the "seen" array to avoid char overflows.
74256         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74257         * elf/dl-open.c (dl_open_worker): Likewise.
74259 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74261         * scripts/list-sources.sh: Scan PORTS for translations.
74262         * po/libc.pot: Regenerated.
74264 2012-06-21  Andreas Jaeger  <aj@suse.de>
74266         [BZ #12194]
74267         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74268         warning.
74269         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74270         * bits/byteswap-16.h (__bswap_16): Likewise.
74271         * bits/byteswap.h (__bswap_constant_16): Likewise.
74273 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74275         [BZ #14117]
74276         * sysdeps/i386/fpu_control.h: Removed.
74277         * sysdeps/x86_64/fpu_control.h: Moved to ...
74278         * sysdeps/x86/fpu_control.h: Here.
74280         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74281         (_FPU_SETCW): Likewise.
74283 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74285         [BZ #14117]
74286         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74287         * sysdeps/x86/fpu/bits/mathinline.h: This.
74288         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74290         [BZ #14050]
74291         [BZ #14117]
74292         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74293         functions if __x86_64__ is defined.
74295 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74297         * string/endian.h: Add !__ASSEMBLER__ condition for including
74298         conversion interfaces.
74300 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74302         [BZ #14241]
74303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74304         of ABS(x) in calculating zero to negative powers other than odd
74305         integers.
74306         * math/libm-test.inc (pow_test): Add more tests.
74308 2012-06-15  Andreas Jaeger  <aj@suse.de>
74310         * manual/contrib.texi (Contributors): Update entry of Liubov
74311         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74312         Machado Filho.
74314 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74316         * string/string.h: Add __wur to GNU version of strerror_r.
74318 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74320         [BZ #14229]
74321         * string/Makefile (tests): Add tst-strtok_r.
74322         * string/tst-strtok_r.c: New file.
74323         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74324         RAX_LP/RDX_LP on SAVE_PTR.
74326 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74328         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74330 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74332         * libm_test.inc (csqrt_test): Allow more spurious underflow
74333         exceptions.
74334         (j0_test): Likewise.
74335         (j1_test): Likewise.
74336         (y0_test): Likewise.
74337         (y1_test): Likewise.
74339 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74341         * po/Makefile (libc.pot): Use UTF-8 charset.
74343 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74345         [BZ #14210]
74346         Suppress sign-conversion warning from FD_SET.
74347         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74348         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74349         not unsigned long int.
74350         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74352 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74354         [BZ #14050]
74355         [BZ #14117]
74356         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74357         __extern_always_inline instead of __extern_inline.
74358         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74359         (__signbit): Likewise.
74360         (__signbitl): Support C++ namespace.
74361         (lrintf): New inline function.
74362         (lrint): Likewise.
74363         (llrintf): Likewise.
74364         (llrint): Likewise.
74365         (fmaxf): Likewise.
74366         (fmax): Likewise.
74367         (fminf): Likewise.
74368         (fmin): Likewise.
74369         (rint): Likewise.
74370         (rintf): Likewise.
74371         (ceil): Likewise.
74372         (ceilf): Likewise.
74373         (floor): Likewise.
74374         (floorf): Likewise.
74375         (nearbyint): Likewise.
74376         (nearbyintf): Likewise.
74378 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74380         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74381         non-default versions.
74383 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74385         [BZ #14218]
74386         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74388 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74390         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74391         (FE_UPWARD, FE_DOWNWARD): Don't define.
74392         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74393         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74395         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74396         reading it.
74397         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74398         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74400 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74402         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74404         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74405         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74407 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74409         [BZ #14117]
74410         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74411         * sysdeps/i386/fpu/Implies: New file.
74412         * sysdeps/x86_64/fpu/Implies: Likewise.
74413         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74414         * sysdeps/x86/fpu/bits/fenv.h: This.
74416         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74417         __SSE_MATH__.
74419 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74421         [BZ #14134]
74422         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74423         character 0xffff that matches the last element of the
74424         conversion table.
74426 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74428         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74429         fmodl commit.
74431 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74434         values higher than 25.6283.
74436 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74438         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74439         subnormal exponent extraction and add some __builtin_expect.
74440         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74441         Fix for subnormal mantissa calculation.
74443 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74445         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74446         cpu2 is -1 and errno is not ENOSYS.
74448 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74450         [BZ #14117]
74451         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74452         * sysdeps/x86/bits/string.h: This.
74453         * sysdeps/x86_64/bits/string.h: Removed.
74455         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74456         if not compiling for x86-64, but compiling for >= i486.
74458         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74459         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74461         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74462         New macro from Linux kernel 3.4.0.
74463         (FP_XSTATE_MAGIC2): Likewise.
74464         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74465         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74466         (struct _fpx_sw_bytes): New struct.
74467         (struct _xsave_hdr): Likewise.
74468         (struct _ymmh_state): Likewise.
74469         (struct _xstate): Likewise.
74471         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74472         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74473         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74474         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74475         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74476         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74478         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74479         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74480         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74481         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74482         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74483         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74485 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74487         [BZ #13743]
74488         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74489         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74490         (sysdep_headers): Include sys/platform/ppc.h.
74491         * sysdeps/powerpc/test-gettimebase.c: Test for
74492         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74493         * manual/Makefile (appendices): Include platform.texi.
74494         * manual/contrib.texi (Contributors): Update @node pointers.
74495         * manual/maint.texi (Maintenance): Likewise.
74496         (Platform): New node.
74497         * manual/platform.texi: New file.  Document the new features.
74499 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74500             Jakub Jelinek  <jakub@redhat.com>
74502         [BZ #14188]
74503         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74504         where __builtin_expect is unavailable.
74506 2012-06-03  David S. Miller  <davem@davemloft.net>
74508         * stdlib/longlong.h: Updated from GCC.
74510 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74512         [BZ #14042]
74513         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74514         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74515         __mcount_internal.
74516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74517         (GLIBC_2.16): Likewise.
74519 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74521         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74523 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74526         (default-abi): New variable.
74527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74528         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74529         variable.
74530         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74531         Likewise.
74532         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74533         Likewise.
74534         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74535         Likewise.
74537         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74538         definition.  Document in comment.
74540 2012-06-01  David S. Miller  <davem@davemloft.net>
74542         * stdlib/longlong.h: Updated from GCC.
74544 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74546         [BZ #14117]
74547         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74548         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74549         sys/debugreg.h sys/io.h here.
74550         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74551         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74552         sys/io.h.
74553         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74554         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74555         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74556         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74557         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74558         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74560         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74561         Define only if __x86_64__ is defined.
74563 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74565         [BZ #14048]
74566         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74567         Use int64_t for variable i.
74568         * math/libm-test.inc (fmod_test): Add more tests.
74570         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74571         z computation is not scheduled after fetestexcept.
74572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74573         Use math_force_eval instead of asm to ensure calculation scheduled
74574         before exception test.
74575         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74576         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74578 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74581         computation is not scheduled after fetestexcept.
74583 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74585         [BZ #14117]
74586         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74587         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74589 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74591         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74592         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74594 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74596         [BZ #14117]
74597         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74598         <bits/wordsize.h>.
74599         (__WCHAR_MIN): Support __WORDSIZE == 64.
74600         (__WCHAR_MAX): Likewise.
74602         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74603         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74605         [BZ #14183]
74606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74607         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74609         [BZ #14117]
74610         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74611         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74613         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74614         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74616         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74617         Defined to 1 if __x86_64__ isn't defined.
74618         (_STAT_VER_LINUX_OLD): New.
74619         (st_atime): Remove duplicate.
74620         (st_mtime): Likewise.
74621         (st_ctime): Likewise.
74623 2012-05-31  David S. Miller  <davem@davemloft.net>
74625         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74626         entries.
74628 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74630         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74631         gen-libm-test.pl.
74633         [BZ #14132]
74634         * elf/dl-reloc.c: Include <_itoa.h>.
74635         (_dl_reloc_bad_type): Remove use of INTUSE.
74636         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74637         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74638         * stdio-common/psiginfo.c (psiginfo): Likewise.
74639         * stdio-common/psignal.c (psignal): Likewise.
74640         * string/strsignal.c (strsignal): Likewise.
74641         * include/signal.h (_sys_siglist): Declare hidden proto.
74642         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74643         INTVARDEF with libc_hidden_data_def.
74644         * stdio-common/itoa-udigits.c: Likewise.
74645         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74646         (_itoa_lower_digits_internal): Remove declaration.
74647         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74648         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74649         (_sys_sigabbrev_internal): Remove aliases.
74650         (_sys_siglist): Define hidden alias.
74652 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74655         bits/sysctl.h.
74657 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74659         [BZ #14117]
74660         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74661         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74663         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74664         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74665         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74666         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74667         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74668         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74670         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74671         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74672         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74674         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74675         with __addr.
74676         (insw): Likewise.
74677         (insl): Likewise.
74678         (outsb): Likewise.
74679         (outsw): Likewise.
74680         (outsl): Likewise.
74682         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74683         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74684         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74686         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74687         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74688         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74689         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74690         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74691         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74693         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74694         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74696         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74697         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74699         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74700         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74701         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74703         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74704         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74705         to ...
74706         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74708         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74709         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74710         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74712         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74713         for x86-64.
74714         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74716 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74718         * math/math.h (M_El): Use two more decimal places.
74719         (M_LOG2El): Likewise.
74720         (M_LOG10El): Likewise.
74721         (M_LN2l): Likewise.
74722         (M_LN10l): Likewise.
74723         (M_PIl): Likewise.
74724         (M_PI_2l): Likewise.
74725         (M_PI_4l): Likewise.
74726         (M_1_PIl): Likewise.
74727         (M_2_PIl): Likewise.
74728         (M_2_SQRTPIl): Likewise.
74729         (M_SQRT2l): Likewise.
74730         (M_SQRT1_2l): Likewise.
74732 2012-05-31  David S. Miller  <davem@davemloft.net>
74734         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74735         values between float registers.
74736         * sysdeps/sparc/sparc64/memset.S: Likewise.
74737         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74739 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74741         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74742         -D_FORTIFY_SOURCE=1.
74743         (CPPFLAGS-tst-longjmp_chk.c): Define.
74744         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74745         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74746         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74747         CFLAGS-tst-wchar-h.c.
74749 2012-05-31  Marek Polacek  <polacek@redhat.com>
74751         [BZ #14132]
74752         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74753         __endmntent_internal): Remove declaration.
74754         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74755         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74756         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74758 2012-05-30  David S. Miller  <davem@davemloft.net>
74760         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74761         (___Q_simulate_exceptions): Use real FP ops rather than writing
74762         into the %fsr.
74763         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74764         Likewise.
74766 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74768         [BZ #14117]
74769         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74770         * sysdeps/x86/bits/xtitypes.h: This.
74772         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74773         * sysdeps/x86/bits/wordsize.h: This.
74775         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74776         * sysdeps/x86/bits/huge_vall.h: This.
74778         * sysdeps/i386/bits/select.h: Removed.
74779         * sysdeps/x86_64/bits/select.h: Renamed to ...
74780         * sysdeps/x86/bits/select.h: This.
74782         * sysdeps/i386/bits/setjmp.h: Removed.
74783         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74784         * sysdeps/x86/bits/setjmp.h: This.
74786         * sysdeps/i386/bits/mathdef.h: Removed.
74787         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74788         * sysdeps/x86/bits/mathdef.h: This.
74790 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74792         [BZ #14132]
74793         * include/sys/socket.h (__connect_internal)
74794         (__libc_sa_len_internal): Remove declaration.
74795         (__connect, __libc_sa_len): Declare hidden_proto.
74796         (SA_LEN): Remove use of INTUSE.
74797         * socket/connect.c: Add libc_hidden_def.
74798         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74799         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74800         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74801         alias.
74802         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74803         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74804         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74805         of adding _internal alias.
74807 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74809         [BZ #14117]
74810         * sysdeps/i386/bits/link.h: Removed.
74811         * sysdeps/i386/bits/linkmap.h: Likewise.
74812         * sysdeps/x86_64/bits/link.h: Renamed to ...
74813         * sysdeps/x86/bits/link.h: This.
74814         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74815         * sysdeps/x86/bits/linkmap.h: This.
74817         * sysdeps/i386/bits/endian.h: Removed.
74818         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74819         * sysdeps/x86/bits/endian.h: This.
74821         * sysdeps/i386/bits/byteswap.h: Removed.
74822         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74823         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74824         * sysdeps/x86/bits/byteswap.h: This.
74825         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74826         * sysdeps/x86/bits/byteswap-16.h: This.
74827         * sysdeps/i386/Implies: Add x86.
74828         * sysdeps/x86_64/Implies: Likewise.
74830 2012-05-30  David S. Miller  <davem@davemloft.net>
74832         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74833         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74835         (FP_TRAPPING_EXCEPTIONS): Define.
74836         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74837         (FP_TRAPPING_EXCEPTIONS): Define.
74838         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74839         subnormals only when inexact has been signalled or underflow
74840         exceptions are enabled.
74841         (_FP_PACK_CANONICAL): Likewise.
74843 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74845         [BZ #14183]
74846         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74847         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74849 2012-05-30  Richard Henderson  <rth@twiddle.net>
74851         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74852         with #ifndef NOT_IN_libc.
74854         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74855         marked to avoid plt entry.
74857 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74859         [BZ #14112]
74860         * Makeconfig (default-abi): New macro.
74861         (abi-includes): Likewise.
74862         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74863         $(abi-$(default-abi)-lib-soname) for soname if defined.
74864         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74865         abi-variants.
74866         * Makefile (installed-stubs): Likewise.
74867         * include/stubs-biarch.h: Removed.
74868         * scripts/lib-names.awk: Only handle one library at a time.
74869         * scripts/soversions.awk: Remove WORDSIZE support.
74870         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74871         entries.
74872         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74873         Removed.
74874         (syscall-list-default-condition): Likewise.
74875         (syscall-list-default-condition): Likewise.
74876         (syscall-list-includes): Likewise.
74877         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74878         syscall-list-* with abi-*.  Handle undefined abi-variants.
74879         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74880         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74881         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74882         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74883         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74884         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74885         Removed.
74886         (syscall-list-32-options): Likewise.
74887         (syscall-list-32-condition): Likewise.
74888         (syscall-list-64-options): Likewise.
74889         (syscall-list-64-condition): Likewise.
74890         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74891         macro.
74892         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74893         Renamed to ...
74894         (abi-*): This.
74895         (abi-64-ld-soname): New macro.
74896         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74897         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74898         Renamed to ...
74899         (abi-*): This.
74900         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74901         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74903 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74905         * sysdeps/unix/sysv/linux/kernel-features.h
74906         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74907         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74908         include <kernel-features.h>.
74909         [!__NR_ftruncate64]: Remove conditional code.
74910         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74911         [__NR_ftruncate64]: Make code unconditional.
74912         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74913         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74914         include <kernel-features.h>.
74915         [!__NR_ftruncate64]: Remove conditional code.
74916         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74917         [__NR_ftruncate64]: Make code unconditional.
74918         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74920         include <kernel-features.h>.
74921         [!__NR_ftruncate64]: Remove conditional code.
74922         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74923         [__NR_ftruncate64]: Make code unconditional.
74924         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74926         include <kernel-features.h>.
74927         [!__NR_ftruncate64]: Remove conditional code.
74928         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74929         [__NR_ftruncate64]: Make code unconditional.
74930         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74932         * configure.in (libc_cv_fpie): Weaken to a compile test using
74933         LIBC_TRY_CC_OPTION.
74934         * configure: Regenerated.
74936 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74942         Refreshed.
74943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74949         Refreshed.
74951 2012-05-27  David S. Miller  <davem@davemloft.net>
74953         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74954         (___Q_zero): New.
74955         (__Q_simulate_exceptions): Return void.  Change to simulate
74956         exceptions by writing into the %fsr.
74957         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74958         (__Qp_handle_exceptions): Likewise.
74959         (numbers): Delete.
74960         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74961         __Qp_handle_exceptions.
74962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74963         __Qp_handle_exceptions.
74964         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74965         as unused and give dummy FP_RND_NEAREST initializer.
74966         (FP_INHIBIT_RESULTS): Define.
74967         (___Q_simulate_exceptions): Update declaration.
74968         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74969         formatting.
74970         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74971         as unused and give dummy FP_RND_NEAREST initializer.
74972         (__Qp_handle_exceptions): Update declaration.
74973         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74974         formatting.
74976 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74978         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74979         the temporary FPU control word.
74980         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74981         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74982         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74983         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74984         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74985         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74986         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74987         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74988         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74989         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74990         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74992 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74994         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74995         fields.
74997 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74999         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75000         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75001         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75002         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75003         Likewise.
75004         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75005         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75006         Likewise.
75008 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75010         * po/h.po: Update from translation team.
75012 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75014         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75016         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75017         handling of denormals.
75018         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75019         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75020         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75021         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75025         Likewise.
75027 2012-05-26  Marek Polacek  <polacek@redhat.com>
75029         [BZ #14152]
75030         * math/libm-test.inc (fma_test): Don't always expect underflow
75031         exception.
75033 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75035         [BZ #12416]
75036         * elf/tst-execstack.c: Include stackinfo.h.
75037         (do_test): Adjust test case to ensure that pthread_getattr_np
75038         behaviour remains the same after marking stack executable.
75040 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75042         * sysdeps/unix/sysv/linux/kernel-features.h
75043         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75044         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75045         kernel-features.h.
75046         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75047         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75048         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75049         kernel-features.h.
75050         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75051         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75053 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75055         * configure.in: Define the default includes to being none.
75056         * configure: Regenerated.
75058 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75060         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75061         * sysdeps/x86_64/setjmp.S: Likewise.
75062         * sysdeps/i386/bsd-setjmp.S: Likewise.
75063         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75064         * sysdeps/i386/setjmp.S: Likewise.
75065         * sysdeps/i386/__longjmp.S: Likewise.
75066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75067         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75069         * include/stap-probe.h: New file.
75070         * configure.in: Handle --enable-systemtap.
75071         * configure: Regenerated.
75072         * config.h.in (USE_STAP_PROBE): New #undef.
75073         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75074         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75075         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75077 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75079         [BZ #13717]
75080         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75081         to 2.4.0 where earlier.
75082         * sysdeps/unix/sysv/linux/configure: Regenerated.
75083         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75084         <kernel-features.h>.
75085         [__ASSUME_32BITUIDS]: Make code unconditional.
75086         [!__ASSUME_32BITUIDS]: Remove conditional code.
75087         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75088         <kernel-features.h>.
75089         [__ASSUME_32BITUIDS]: Make code unconditional.
75090         [!__ASSUME_32BITUIDS]: Remove conditional code.
75091         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75092         [__ASSUME_32BITUIDS]: Make code unconditional.
75093         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75094         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
75115         <kernel-features.h>.
75116         [__ASSUME_32BITUIDS]: Make code unconditional.
75117         [!__ASSUME_32BITUIDS]: Remove conditional code.
75118         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75119         <kernel-features.h>.
75120         [__ASSUME_32BITUIDS]: Make code unconditional.
75121         [!__ASSUME_32BITUIDS]: Remove conditional code.
75122         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75123         <kernel-features.h>.
75124         [__ASSUME_32BITUIDS]: Make code unconditional.
75125         [!__ASSUME_32BITUIDS]: Remove conditional code.
75126         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75127         <kernel-features.h>.
75128         [__ASSUME_32BITUIDS]: Make code unconditional.
75129         [!__ASSUME_32BITUIDS]: Remove conditional code.
75130         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75131         <kernel-features.h>.
75132         [__ASSUME_32BITUIDS]: Make code unconditional.
75133         [!__ASSUME_32BITUIDS]: Remove conditional code.
75134         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75135         <kernel-features.h>.
75136         [__NR_setresgid] (__setresgid): Do not declare.
75137         [__ASSUME_32BITUIDS]: Make code unconditional.
75138         [!__ASSUME_32BITUIDS]: Remove conditional code.
75139         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75140         <kernel-features.h>.
75141         [__NR_setresuid] (__setresuid): Do not declare.
75142         [__ASSUME_32BITUIDS]: Make code unconditional.
75143         [!__ASSUME_32BITUIDS]: Remove conditional code.
75144         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
75165         <kernel-features.h>.
75166         [__ASSUME_32BITUIDS]: Make code unconditional.
75167         [!__ASSUME_32BITUIDS]: Remove conditional code.
75168         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75169         <kernel-features.h>.
75170         [__ASSUME_32BITUIDS]: Make code unconditional.
75171         [!__ASSUME_32BITUIDS]: Remove conditional code.
75172         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75173         <kernel-features.h>.
75174         [__ASSUME_32BITUIDS]: Make code unconditional.
75175         [!__ASSUME_32BITUIDS]: Remove conditional code.
75176         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75177         <kernel-features.h>.
75178         [__ASSUME_32BITUIDS]: Make code unconditional.
75179         [!__ASSUME_32BITUIDS]: Remove conditional code.
75180         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75181         <kernel-features.h>.
75182         [__ASSUME_32BITUIDS]: Make code unconditional.
75183         [!__ASSUME_32BITUIDS]: Remove conditional code.
75184         * sysdeps/unix/sysv/linux/kernel-features.h
75185         (__ASSUME_SETRESUID_SYSCALL): Remove.
75186         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75187         (__ASSUME_32BITUIDS): Likewise.
75188         (__ASSUME_LDT_WORKS): Likewise.
75189         (__ASSUME_O_DIRECTORY): Likewise.
75190         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75191         architecture but not kernel version.
75192         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75193         (__ASSUME_MMAP2_SYSCALL): Likewise.
75194         (__ASSUME_STAT64_SYSCALL): Likewise.
75195         (__ASSUME_IPC64): Likewise.
75196         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75197         <kernel-features.h>.
75198         [__ASSUME_32BITUIDS]: Make code unconditional.
75199         [!__ASSUME_32BITUIDS]: Remove conditional code.
75200         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75201         <kernel-features.h>.
75202         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75203         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75204         132096]: Remove conditional code.
75205         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75206         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75207         <kernel-features.h>.
75208         [__ASSUME_32BITUIDS]: Make code unconditional.
75209         [!__ASSUME_32BITUIDS]: Remove conditional code.
75210         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75211         <kernel-features.h>.
75212         [__ASSUME_32BITUIDS]: Make code unconditional.
75213         [!__ASSUME_32BITUIDS]: Remove conditional code.
75214         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75215         <kernel-features.h>.
75216         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75217         unconditional.
75218         (__setresgid): Do not declare.
75219         [__ASSUME_32BITUIDS]: Make code unconditional.
75220         [!__ASSUME_32BITUIDS]: Remove conditional code.
75221         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75222         <kernel-features.h>.
75223         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75224         unconditional.
75225         (__setresuid): Do not declare.
75226         [__ASSUME_32BITUIDS]: Make code unconditional.
75227         [!__ASSUME_32BITUIDS]: Remove conditional code.
75228         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75229         <kernel-features.h>.
75230         [__ASSUME_32BITUIDS]: Make code unconditional.
75231         [!__ASSUME_32BITUIDS]: Remove conditional code.
75232         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75233         <kernel-features.h>.
75234         [__ASSUME_32BITUIDS]: Make code unconditional.
75235         [!__ASSUME_32BITUIDS]: Remove conditional code.
75237 2012-05-25  Richard Henderson  <rth@twiddle.net>
75239         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75240         dl_hwcap to ifunc resolver.
75241         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75242         elf_ifunc_invoke.
75243         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75244         dl_hwcap to ifunc resolver.
75245         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75247 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75249         [BZ #14153]
75250         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75251         for |x| <= 2**-26, not 2**-57.
75252         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75253         exception.
75255 2012-05-24  Jeff Law  <law@redhat.com>
75257         * stdio-common/Makefile (tests): Add bug25.
75258         * stdio-common/bug25.c: New test.
75260 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75262         [BZ #13576]
75263         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75264         multiple of MALLOC_ALIGNMENT in size.
75265         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75267 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75269         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75270         Require >= 256.
75271         (FILENAME_MAX): Use macro-int-constant.
75272         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75273         (_IOFBF): Use macro-int-constant.
75274         (_IOLBF): Likewise.
75275         (_IONBF): Likewise.
75276         (SEEK_CUR): Likewise.
75277         (SEEK_END): Likewise.
75278         (SEEK_SET): Likewise.
75279         (TMP_MAX): Likewise.
75280         (EOF): Use macro-int-constant.  Require < 0.
75281         (NULL): Use macro-constant.  Require == 0.
75282         (stdin): Require type to be FILE *.
75283         (stdout): Likewise.
75284         (stderr): Likewise.
75285         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75286         macro-int-constant.
75287         (EXIT_SUCCESS): Likewise.
75288         (NULL): Use macro-constant.  Require == 0.
75289         (RAND_MAX): Use macro-int-constant.
75290         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75291         [C99-based standards] (strtof): Require function.
75292         [C99-based standards] (strtold): Likewise.
75293         [C99-based standards] (strtoll): Likewise.
75294         [C99-based standards] (strtoull): Likewise.
75295         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75296         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75297         [ISO || ISO99 || ISO11] (math.h): Likewise.
75298         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75299         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75302 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75304         [BZ #14132]
75305         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75306         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75307         * intl/dgettext.c (DCGETTEXT): Likewise.
75308         * intl/gettext.c (DCGETTEXT): Likewise.
75309         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75310         * posix/regex_internal.h (gettext): Likewise.
75311         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75312         Remove declaration.
75313         * include/argz.h (__argz_count_internal)
75314         (__argz_stringify_internal): Remove declaration.
75315         (__argz_count, __argz_stringify): Declare hidden proto.
75316         * intl/dcgettext.c: Remove use of INTDEF.
75317         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75318         * string/argz-stringify.c: Likewise.
75319         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75320         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75321         Declare hidden proto.
75322         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75323         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75324         Declare hidden proto.
75325         * include/stdio.h (__asprintf_internal): Don't declare.
75326         (__asprintf): Don't define as macro.  Declare hidden proto.
75327         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75328         (__fsetlocking): Declare hidden proto.
75329         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75330         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75331         hidden proto.
75332         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75333         (_IO_setlinebuf): Remove use of INTUSE.
75334         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75335         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75336         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75337         Remove declaration.
75338         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75339         (_IO_do_flush): Remove use of INTUSE.
75340         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75341         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75342         (_IO_adjust_column, _IO_least_wmarker)
75343         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75344         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75345         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75346         (_IO_default_doallocate, _IO_wdefault_doallocate)
75347         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75348         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75349         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75350         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75351         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75352         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75353         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75354         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75355         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75356         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75357         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75358         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75359         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75360         proto.
75361         (_IO_flush_all_internal, _IO_adjust_column_internal)
75362         (_IO_default_uflow_internal, _IO_default_finish_internal)
75363         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75364         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75365         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75366         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75367         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75368         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75369         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75370         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75371         (_IO_file_close_internal, _IO_file_close_it_internal)
75372         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75373         (_IO_file_init_internal, _IO_file_attach_internal)
75374         (_IO_file_fopen_internal, _IO_file_read_internal)
75375         (_IO_file_sync_internal, _IO_file_seek_internal)
75376         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75377         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75378         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75379         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75380         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75381         (_IO_list_all_internal, _IO_link_in_internal)
75382         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75383         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75384         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75385         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75386         (_IO_do_write_internal, _IO_padn_internal)
75387         (_IO_getline_info_internal, _IO_getline_internal)
75388         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75389         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75390         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75391         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75392         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75393         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75394         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75395         with libc_hidden_ver, remove use of INTUSE.
75396         * libio/genops.c: Likewise.
75397         * libio/freopen.c: Likewise.
75398         * libio/freopen64.c: Likewise.
75399         * libio/iofclose.c: Likewise.
75400         * libio/iofdopen.c: Likewise.
75401         * libio/iofflush.c: Likewise.
75402         * libio/iofflush_u.c: Likewise.
75403         * libio/iofgets.c: Likewise.
75404         * libio/iofgets_u.c: Likewise.
75405         * libio/iofopen.c: Likewise.
75406         * libio/iofopncook.c: Likewise.
75407         * libio/iofread.c: Likewise.
75408         * libio/iofread_u.c: Likewise.
75409         * libio/ioftell.c: Likewise.
75410         * libio/iofwrite.c: Likewise.
75411         * libio/iogetline.c: Likewise.
75412         * libio/iogets.c: Likewise.
75413         * libio/iogetwline.c: Likewise.
75414         * libio/iopadn.c: Likewise.
75415         * libio/iopopen.c: Likewise.
75416         * libio/ioseekoff.c: Likewise.
75417         * libio/ioseekpos.c: Likewise.
75418         * libio/iosetbuffer.c: Likewise.
75419         * libio/iosetvbuf.c: Likewise.
75420         * libio/ioungetc.c: Likewise.
75421         * libio/ioungetwc.c: Likewise.
75422         * libio/iovdprintf.c: Likewise.
75423         * libio/iovsprintf.c: Likewise.
75424         * libio/iovsscanf.c: Likewise.
75425         * libio/memstream.c: Likewise.
75426         * libio/obprintf.c: Likewise.
75427         * libio/oldfileops.c: Likewise.
75428         * libio/oldiofclose.c: Likewise.
75429         * libio/oldiofdopen.c: Likewise.
75430         * libio/oldiofopen.c: Likewise.
75431         * libio/oldiopopen.c: Likewise.
75432         * libio/oldstdfiles.c: Likewise.
75433         * libio/putc.c: Likewise.
75434         * libio/setbuf.c: Likewise.
75435         * libio/setlinebuf.c: Likewise.
75436         * libio/stdfiles.c: Likewise.
75437         * libio/strops.c: Likewise.
75438         * libio/vasprintf.c: Likewise.
75439         * libio/vscanf.c: Likewise.
75440         * libio/vsnprintf.c: Likewise.
75441         * libio/vswprintf.c: Likewise.
75442         * libio/wfiledoalloc.c: Likewise.
75443         * libio/wfileops.c: Likewise.
75444         * libio/wgenops.c: Likewise.
75445         * libio/wmemstream.c: Likewise.
75446         * libio/wstrops.c: Likewise.
75447         * libio/__fpurge.c: Likewise.
75448         * libio/__fsetlocking.c: Likewise.
75449         * assert/assert.c: Likewise.
75450         * debug/fgets_chk.c: Likewise.
75451         * debug/fgets_u_chk.c: Likewise.
75452         * debug/fread_chk.c: Likewise.
75453         * debug/fread_u_chk.c: Likewise.
75454         * debug/gets_chk.c: Likewise.
75455         * debug/obprintf_chk.c: Likewise.
75456         * debug/vasprintf_chk.c: Likewise.
75457         * debug/vdprintf_chk.c: Likewise.
75458         * debug/vsnprintf_chk.c: Likewise.
75459         * debug/vsprintf_chk.c: Likewise.
75460         * malloc/mtrace.c: Likewise.
75461         * misc/error.c: Likewise.
75462         * misc/syslog.c: Likewise.
75463         * stdio-common/asprintf.c: Likewise.
75464         * stdio-common/fxprintf.c: Likewise.
75465         * stdio-common/getw.c: Likewise.
75466         * stdio-common/isoc99_fscanf.c: Likewise.
75467         * stdio-common/isoc99_scanf.c: Likewise.
75468         * stdio-common/isoc99_vfscanf.c: Likewise.
75469         * stdio-common/isoc99_vscanf.c: Likewise.
75470         * stdio-common/isoc99_vsscanf.c: Likewise.
75471         * stdio-common/printf-prs.c: Likewise.
75472         * stdio-common/printf_fp.c: Likewise.
75473         * stdio-common/printf_fphex.c: Likewise.
75474         * stdio-common/printf_size.c: Likewise.
75475         * stdio-common/putw.c: Likewise.
75476         * stdio-common/scanf.c: Likewise.
75477         * stdio-common/sprintf.c: Likewise.
75478         * stdio-common/tmpfile.c: Likewise.
75479         * stdio-common/vfprintf.c: Likewise.
75480         * stdio-common/vfscanf.c: Likewise.
75481         * stdlib/strfmon_l.c: Likewise.
75482         * sunrpc/openchild.c: Likewise.
75483         * sunrpc/xdr_stdio.c: Likewise.
75484         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75485         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75487 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75489         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75491         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75492         in the third column, to generate for the shared library an IFUNC
75493         that uses _dl_vdso_vsym.
75494         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75495         * Makeconfig (object-suffixes-noshared): New variable.
75497         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75498         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75499         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75500         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75502         [BZ #14132]
75503         * include/sys/time.h (__gettimeofday): Remove macro.
75504         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75505         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75506         Remove INTDEF.
75507         (__gettimeofday): Add libc_hidden_def.
75508         (gettimeofday): Add libc_hidden_weak.
75509         * sysdeps/mach/gettimeofday.c: Likewise.
75510         * sysdeps/posix/gettimeofday.c: Likewise.
75511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75512         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75514         (__gettimeofday_internal): Remove strong_alias.
75515         (__gettimeofday): Add libc_hidden_def.
75516         (gettimeofday): Add libc_hidden_weak.
75517         * sysdeps/unix/syscalls.list (gettimeofday):
75518         Remove __gettimeofday_internal alias.
75520 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75521             H.J. Lu  <hongjiu.lu@intel.com>
75523         [BZ #12495]
75524         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75525         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75526         (largebin_index_32_big): New.
75527         (largebin_index): Use it for 16-byte alignment.
75528         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75529         correction with front_misalign.
75531 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75535         Likewise.
75536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75537         Likewise.
75538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75539         Likewise.
75540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75541         Likewise.
75542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75543         Likewise.
75544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75545         Likewise.
75546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75547         Likewise.
75548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75549         Likewise.
75550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75551         Likewise.
75552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75553         Likewise.
75554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75555         Likewise.
75556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75557         Likewise.
75559         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75560         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75562 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75564         [BZ #10846]
75565         [BZ #14036]
75566         * math/libm-test.inc (exp_test): Add test from bug 14036.
75567         (pow_test): Add test from bug 10846.
75569         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75570         and other flags.
75571         (special_function): Do not include flags in test name.
75572         (parse_args): Likewise.
75573         * sysdeps/i386/fpu/libm-test-ulps: Update.
75574         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75575         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75576         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75579         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75580         exceptions.
75581         * math/libm-test.inc ("Philosophy"): Update comment about
75582         exception testing.
75583         (UNDERFLOW_EXCEPTION): New macro.
75584         (UNDERFLOW_EXCEPTION_OK): Likewise.
75585         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75586         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75587         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75588         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75589         (INVALID_EXCEPTION_OK): Update value.
75590         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75591         (OVERFLOW_EXCEPTION_OK): Likewise.
75592         (IGNORE_ZERO_INF_SIGN): Likewise.
75593         (test_exceptions): Handle underflow exceptions.
75594         (acos_test): Update for underflow exception expectations.
75595         (cexp_test): Likewise.
75596         (clog_test): Likewise.
75597         (clog10_test): Likewise.
75598         (csqrt_test): Likewise.
75599         (ctan_test): Likewise.
75600         (ctanh_test): Likewise.
75601         (exp_test): Likewise.
75602         (exp10_test): Likewise.
75603         (exp2_test): Likewise.
75604         (expm1_test): Likewise.
75605         (fma_test): Likewise.
75606         (j0_test): Likewise.
75607         (jn_test): Likewise.
75608         (nexttoward_test): Likewise.
75609         (pow_test): Likewise.
75610         (scalbn_test): Likewise.
75611         (scalbln_test): Likewise.
75612         (tan_test): Likewise.
75613         (y1_test): Likewise.
75614         * sysdeps/i386/fpu/libm-test-ulps: Update.
75615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75617 2012-05-23  David S. Miller  <davem@davemloft.net>
75619         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75620         (__libc_sigaction): Remove unused local variables.
75622 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75624         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75626 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75628         mktime: avoid signed integer overflow
75629         * time/mktime.c (__mktime_internal): Do not mishandle the case
75630         where diff == INT_MIN.
75632         mktime: simplify computation of average
75633         * time/mktime.c (ranged_convert): Use new time_t_avg function
75634         instead of rolling our own (probably-slower) code.
75636         mktime: do not assume signed right shift propagates sign bit
75637         * time/mktime.c (isdst_differ): New static function.
75638         (__mktime_internal): No need to normalize tm_isdst now.
75639         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75640         tm_isdst values.
75642         mktime: merge another wrapv change from gnulib
75643         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75644         from some compilers.
75646         mktime: remove incorrect attempt at unusual arithmetics
75647         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75648         The code didn't really work on such machines anyway.
75649         (TYPE_MINIMUM): Assume two's complement.
75650         (twos_complement_arithmetic): Verify that long_int and time_t
75651         are two's complement (or unsigned, in the latter case).
75653         mktime: check signed shifts on long_int and time_t, too
75654         * time/mktime.c (SHR): Check that shifts work as desired
75655         on the types long_int and time_t too, as SHR is used on
75656         such types.
75658         mktime: do not assume 'long' is wide enough
75659         * time/mktime.c (verify): Move decl up.
75660         (long_int): New type.
75661         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75662         to remove assumption in the code that 'long' is wide enough to
75663         store year values.  This assumption is not true on x32 and on
75664         some non-glibc platforms.
75666         mktime: merge wrapv change from gnulib
75667         * time/mktime.c (WRAPV): New macro.
75668         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75669         (guess_time_tm, __mktime_internal): Do not assume that signed
75670         integer overflow wraps around; modern compilers generate code
75671         where this assumption is no longer valid.
75673 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75675         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75676         Replace "jmp L(pseudo_end)" with "ret".
75677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75678         Likewise.
75680 2012-05-23  Andreas Jaeger  <aj@suse.de>
75682         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75683         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75685 2012-05-23  Andreas Jaeger  <aj@suse.de>
75686             Maximilian Attems  <max@stro.at>
75688         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75689         New macros.
75691 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75693         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75694         code so that pseudo_end is just ret and the stack pointer is
75695         correct also for static library in error case.
75697 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75699         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75700         move to syscalls.list.
75701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75706         * manual/install.texi (Running make install): Do not mention Linux
75707         kernel version for which pt_chown is not needed.
75708         (Linux): Do not mention problems with nscd with 2.0 kernels.
75709         * INSTALL: Regenerated.
75711 2012-05-23  Andreas Jaeger  <aj@suse.de>
75713         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75714         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75715         macro.
75716         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75717         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75718         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75719         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75720         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75721         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75722         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75724         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75726         * sysdeps/unix/sysv/linux/bits/in.h
75727         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75729 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75731         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75732         (PREPARE_VERSION): Just use assert instead, it will be elided
75733         under [NDEBUG] anyway.
75735 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75737         * sysdeps/unix/sysv/linux/Makefile: Include
75738         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75739         (sysdep_routines): Remove sysctl.
75740         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75741         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75742         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75743         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75744         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75746 2012-05-22  Andreas Jaeger  <aj@suse.de>
75748         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75749         that pseudo_end is just ret and the stack pointer is correct also
75750         for static library in error case.
75752 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75754         [BZ #14122]
75755         * nss/nsswitch.c (defconfig_entries): New variable.
75756         (__nss_database_lookup): Don't leak defconfig entries.
75757         (nss_parse_service_list): Don't leak on error paths.
75758         (free_database_entries): New function.
75759         (free_defconfig): New function.
75760         (free_mem): Move common code to free_database_entries.
75762 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75764         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75765         Add arch_prctl.
75766         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75768         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75769         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75771         New macro.
75772         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75773         (INTERNAL_SYSCALL_TYPES): Likewise.
75774         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75775         (LOAD_REGS_TYPES_[1-6]): Likewise.
75776         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75777         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75779 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75781         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75782         copysignl for GLIBC_2_0.
75783         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75784         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75786         logbl for GLIBC_2_0.
75787         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75788         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75790 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75793         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75795         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75796         Use "neg %eax".
75798         * time/mktime.c: Update copyright years.
75800 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75802         mktime: merge comment-quoting-style change from gnulib
75803         * time/mktime.c: Quote 'like this' in comments.
75804         The GNU coding standards suggest that we no longer quote `like this',
75805         as "`" and "'" are typically rendered asymmetrically nowadays.
75806         The typical gnulib style is to quote 'like this' when quoting
75807         code, and "like this" when quoting English.
75809         * time/mktime.c (compile-command): Add "-I.".
75811         mktime: merge mktime-internal.h change from gnulib
75812         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75814         mktime: merge time_r change from gnulib
75815         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75817         mktime: merge DEBUG change from gnulib
75818         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75819         case system <time.h> has a #define.
75821         mktime: merge <sys/types.h> change from gnulib
75822         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75823         since <time.t> is now guaranteed to define time_t.
75825         mktime: merge HAVE_CONFIG_H change from gnulib
75826         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75828 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75831         Use "neg %eax".
75833         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75834         __rlim_t cast.
75835         (struct rusage): Use anonymous union to pad each field to
75836         __syscall_slong_t.
75838 2012-05-21  David S. Miller  <davem@davemloft.net>
75840         * Makefules (o-iterator): Remove .s cases.
75841         (compile-command.s): Delete.
75842         (COMPILE.s): Delete.
75843         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75845 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75847         * configure.in (libc_cv_predef_stack_protector): Only consider
75848         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75849         * configure: Regenerated.
75851 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75854         New macro.  Use R*LP on int and pointer.
75855         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75856         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75857         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75858         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75860         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75861         [__WORDSIZE_TIME64_COMPAT32] instead of
75862         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75863         (struct utmp): Likewise.
75864         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75865         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75866         Renamed to ...
75867         (__WORDSIZE_TIME64_COMPAT32): This.
75868         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75869         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75870         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75871         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75872         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75873         (__WORDSIZE_TIME64_COMPAT32): New macro.
75875 2012-05-21  Andreas Jaeger  <aj@suse.de>
75877         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75878         only if [SHARED]. Add prototype for __wcschr_ia32.
75880 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75882         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75883         of %rbp unmolested in the jmp_buf while mangling the low bits.
75884         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75885         unmolested high bits of %rbp while demangling the low bits.
75886         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75888 2012-05-21  Andreas Jaeger  <aj@suse.de>
75890         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75891         * sunrpc/svc_simple.c: Use it for registerrpc.
75892         * sunrpc/xcrypt.c: Use it for passwd2des.
75894         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75896 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75898         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75899         Don't define if [__SYSCALL_WORDSIZE != 32].
75900         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75901         New macro.
75903 2012-05-21  Bruno Haible  <bruno@clisp.org>
75904             Andreas Jaeger  <aj@suse.de>
75906         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75907         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75908         inptr and inend for must_buffer_ch.
75909         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75910         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75911         * stdio-common/Makefile (tests): Remove bug15.
75912         (bug15-ENV): Remove macro.
75913         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75914         anymore.
75916 2012-05-19  Andreas Jaeger  <aj@suse.de>
75917             Roland McGrath  <roland@hack.frob.com>
75919         * manual/contrib.texi: Completely rewritten. It contains now an
75920         alphabetical list of contributors and their contributions.
75922 2012-05-21  Richard Henderson  <rth@twiddle.net>
75924         * misc/getauxval.c (__getauxval): Use unsigned long int.
75925         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75926         (getauxval): Use unsigned long int.
75928 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75930         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75932 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75934         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75935         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75936         __alignof__ (long double).
75938 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75942 2012-05-20  Richard Henderson  <rth@twiddle.net>
75944         * misc/getauxval.c: New file.
75945         * misc/sys/auxv.h: New file.
75946         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75947         (routines): Add getauxval.
75948         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75949         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75950         * elf/dl-sysdep.c (_dl_auxv): Remove.
75951         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75952         * elf/dl-support.c (_dl_auxv): New variable.
75953         (_dl_aux_init): Initialize it.
75954         * manual/startup.texi (Auxiliary Vector): New node.
75955         * sysdeps/generic/bits/hwcap.h: New file.
75956         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75957         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75958         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75959         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75960         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75963         Update.
75964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75967         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75973 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75977 2012-05-19  David S. Miller  <davem@davemloft.net>
75979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75981 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75983         [BZ #14123]
75984         * math/s_ccosh.c: Include <float.h>
75985         (__ccosh): Avoid internal overflow calculating sinh and cosh
75986         values before multiplying by sin and cos values.
75987         * math/s_ccoshf.c: Likewise.
75988         * math/s_ccoshl.c: Likewise.
75989         * math/s_csin.c: Likewise.
75990         * math/s_csinf.c: Likewise.
75991         * math/s_csinl.c: Likewise.
75992         * math/s_csinh.c: Likewise.
75993         * math/s_csinhf.c: Likewise.
75994         * math/s_csinhl.c: Likewise.
75995         * math/libm-test.inc (ccos_test): Add more tests.
75996         (ccosh_test): Likewise.
75997         (csin_test): Likewise.
75998         (csinh_test): Likewise.
75999         * sysdeps/i386/fpu/libm-test-ulps: Update.
76000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76002 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76004         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76005         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76007         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76009 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76011         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76012         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76013         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76014         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76015         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76016         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76017         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76018         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76019         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76020         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76021         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76022         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76023         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76024         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76025         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76026         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76027         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76028         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76029         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76030         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76031         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76032         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76033         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76034         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76035         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76036         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76037         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76038         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76039         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76040         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76041         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76043 2012-05-18  Andreas Jaeger  <aj@suse.de>
76045         * csu/.gitignore: Delete.
76047 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76049         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76050         (timex): Use __syscall_slong_t.
76052 2012-05-18  Andreas Jaeger  <aj@suse.de>
76053             Carlos O'Donell  <carlos_odonell@mentor.com>
76055         * manual/install.texi (Configuring and compiling): Update
76056         description about files modified in the source directory.
76057         * INSTALL: Regenerated.
76059 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76061         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76062         value.  Use "or" to set return value to -1.
76063         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76064         negate return value.
76066 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76068         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76069         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76070         failure if the compiler has Graphite support disabled.
76071         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76072         Likewise.
76073         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76074         (CFLAGS-memmove.c): Likewise.
76075         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76076         Likewise.
76078 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76080         * sysdeps/x86_64/x32/_itoa.h: New file.
76082         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76083         getdents system call only if kernel and user dirents have the
76084         same d_ino and d_off.
76086         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76087         LLONG_MAX != LONG_MAX.
76088         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76089         (_fitoa_word): Likewise.
76091         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76092         years.
76093         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76094         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76095         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76097         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76098         include <bits/wordsize.h>.  Check __x86_64__ instead of
76099         __WORDSIZE.
76100         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76101         if __x86_64__ is defined.  Use anonymous union on fpstate.
76103         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76104         anonymous union.
76106 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76108         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76109         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76110         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76111         Refer to _rtld_local_ro instead of _rtld_global_ro.
76112         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76113         Likewise.
76114         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76115         Likewise.
76116         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76117         Likewise.
76118         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76119         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76120         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76122         [BZ #10882]
76123         * sysdeps/powerpc/powerpc32/dl-machine.c
76124         (__elf_machine_runtime_setup) [PROF]: Don't reference
76125         _dl_prof_resolve.
76127 2012-05-18  Andreas Jaeger  <aj@suse.de>
76129         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76130         function only available for GCCs before 3.4 since GCC 3.4
76131         introduced a builtin.
76132         (lrint): Likewise.
76133         (llrintf): Likewise.
76134         (llrint): Likewise.
76135         (fmaxf): Likewise.
76136         (fmax): Likewise.
76137         (fminf): Likewise.
76138         (fmin): Likewise.
76139         (rint): Likewise.
76140         (rintf): Likewise.
76141         (nearbyint): Likewise.
76142         (nearbyintf): Likewise.
76143         (ceil): Likewise.
76144         (ceilf): Likewise.
76145         (floor): Likewise.
76146         (floorf): Likewise.
76148 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76150         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76151         on both fields and cast pointer to __syscall_ulong_t.
76153         * bits/types.h (__fsword_t): New type.
76154         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76155         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76157         (__FSWORD_T_TYPE): Likewise.
76158         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76159         (__FSWORD_T_TYPE): Likewise.
76160         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76161         (__FSWORD_T_TYPE): Likewise.
76162         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76163         (__FSWORD_T_TYPE): Likewise.
76164         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76165         __SWORD_TYPE with __fsword_t.
76166         (statfs64): Likewise.
76168 2012-05-17  David S. Miller  <davem@davemloft.net>
76170         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76172 2012-05-17  Andreas Jaeger  <aj@suse.de>
76174         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76175         warning.
76177 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76179         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76181 2012-05-17  Andreas Jaeger  <aj@suse.de>
76183         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76184         when it is used.
76186 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76188         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76190 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76192         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76193         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76195 2012-05-17  Andreas Jaeger  <aj@suse.de>
76196             Carlos O'Donell  <carlos_odonell@mentor.com>
76198         [BZ #14059]
76199         * sysdeps/x86_64/multiarch/init-arch.h
76200         (bit_YMM_Usable): Rename to...
76201         (bit_AVX_Usable): ... this.
76202         (bit_FMA4_Usable): New macro.
76203         (bit_XMM_state): New macro.
76204         (bit_YMM_state): New macro.
76205         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76206         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76207         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76208         (CPUID_OSXSAVE): New macro.
76209         (CPUID_AVX): New macro.
76210         (CPUID_FMA4): New macro.
76211         (index_YMM_Usable): Rename to...
76212         (index_AVX_Usable): ... this.
76213         (HAS_AVX): Use HAS_ARCH_FEATURE.
76214         (HAS_FMA4): Likewise.
76215         (HAS_YMM_USABLE): Remove.
76216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76217         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76218         are present.
76219         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76220         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76221         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76222         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76223         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76225 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76227         * math/libm-test.c: Support platforms without multiple rounding modes.
76228         * math/bug-nextafter.c: Support platforms without FP exceptions.
76229         * math/bug-nexttoward.c: Likewise.
76230         * math/test-fenv.c: Likewise.
76231         * math/test-misc.c: Likewise.
76232         * stdlib/bug-getcontext.c: Likewise.
76234 2012-05-17  Andreas Jaeger  <aj@suse.de>
76236         * manual/examples/search.c (critter_cmp): Change signature to
76237         avoid warnings.
76238         * manual/string.texi (Collation Functions): Likewise.
76240 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76242         * bits/types.h: Fold copyright years.
76243         * bits/typesizes.h: Likewise.
76244         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76245         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76246         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76247         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76248         * time/time.h: Likewise.
76250 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76252         [BZ #208]
76253         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76254         in instead of returning them.  Return void.
76255         (__libc_mallinfo): Accumulate over all arenas.
76256         (__malloc_stats): Adjust for change in int_mallinfo interface.
76258 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76260         [BZ #10375]
76261         * configure.in (NM): Add AC_CHECK_TOOL for it.
76262         (libc_extra_cflags): New substituted variable.
76263         Check for -fstack-protector being used implicitly.
76264         * configure: Regenerated.
76265         * config.make.in (config-extra-cflags): New variable,
76266         gets @libc_extra_cflags@.
76267         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76269         [BZ #10375]
76270         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76271         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76272         * configure: Regenerated.
76273         * config.make.in (CPPUNDEFS): New substituted variable.
76274         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76275         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76276         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76278 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76280         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76281         (mq_attr): Use __syscall_slong_t.
76283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76285         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76286         Check __x86_64__ instead of __WORDSIZE.
76287         (_STAT_VER_LINUX): Likewise.
76288         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76289         __syscall_ulong_t and __syscall_slong_t.
76290         (stat64): Likewise.
76292 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76294         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76296 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76298         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76300 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76302         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76303         __syscall_ulong_t.
76305         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76306         include <bits/wordsize.h>.  Check __x86_64__ instead of
76307         __WORDSIZE.
76308         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76309         defined.
76310         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76312         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76313         include <bits/wordsize.h>.  Check __x86_64__ instead of
76314         __WORDSIZE.
76315         (user_regs_struct): Use "__extension__ unsigned long long"
76316         instead of "unsigned long" if __x86_64__ is defined.
76317         (user): Likewise.  Pad after pointer field if __ILP32__ is
76318         defined.
76320 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76322         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76323         versions 5 to 9.
76324         * configure: Regenerated.
76325         * manual/install.texi (texinfo): Increase version requirement to
76326         4.5 or later.
76327         * INSTALL: Regenerated.
76329         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76331 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76333         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76335         * sysdeps/x86_64/x32/ffs.c: New file.
76337         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76338         __syscall_ulong_t.
76339         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76340         defined.  Use __syscall_ulong_t.
76341         (shminfo): Use __syscall_ulong_t.
76342         (shm_info): Likewise.
76344         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76345         __syscall_ulong_t.
76347         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76348         <bits/wordsize.h>.
76349         (msgqnum_t): Use __syscall_ulong_t.
76350         (msglen_t): Likewise.
76351         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76352         __syscall_ulong_t.
76354         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76355         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76357         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76359         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76360         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76362         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76363         __syscall_slong_t.
76365         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76366         include <bits/wordsize.h>.  Check __x86_64__ instead of
76367         __WORDSIZE.
76369         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76370         "unsigned long long int" if __x86_64__ is defined.
76371         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76374         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76375         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76377         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76378         <stdint.h>.
76379         (GET_PC): Cast to uintptr_t first.
76380         (GET_FRAME): Likewise.
76381         (GET_STACK): Likewise.
76383         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76384         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76385         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76386         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76387         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76388         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76389         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76390         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76391         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76392         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76393         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76394         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76395         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76396         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76397         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76398         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76399         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76400         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76401         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76402         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76403         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76404         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76405         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76406         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76407         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76408         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76409         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76410         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76411         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76413 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76415         * Makerules (+depfiles): Also collect depfiles from .oS in
76416         $(extra-objs).
76417         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76418         .oS, $(libnldbl-routines)).
76420         * Makerules (native-compile-mkdep-flags): Define.
76421         * sunrpc/Makefile (extra-objs): Add $(addprefix
76422         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76423         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76424         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76425         calling $(make-target-directory).
76427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76429         * bits/types.h (__snseconds_t): Removed.
76430         * time/time.h (struct timespec): Replace __snseconds_t with
76431         __syscall_slong_t.
76432         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76433         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76434         Likewise.
76435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76436         (__SNSECONDS_T_TYPE): Likewise.
76437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76438         (__SNSECONDS_T_TYPE): Likewise.
76439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76440         (__SNSECONDS_T_TYPE): Likewise.
76442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76444         * sysdeps/mach/hurd/bits/typesizes.h
76445         (__SYSCALL_SLONG_TYPE): New macro.
76446         (__SYSCALL_ULONG_TYPE): Likewise.
76448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76450         * bits/types.h (__syscall_slong_t): New type.
76451         (__syscall_ulong_t): Likewise.
76453         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76454         (__SYSCALL_ULONG_TYPE): Likewise.
76455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76456         (__SYSCALL_SLONG_TYPE): Likewise.
76457         (__SYSCALL_ULONG_TYPE): Likewise.
76458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76459         (__SYSCALL_SLONG_TYPE): Likewise.
76460         (__SYSCALL_ULONG_TYPE): Likewise.
76461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76462         (__SYSCALL_SLONG_TYPE): Likewise.
76463         (__SYSCALL_ULONG_TYPE): Likewise.
76465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76467         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76468         Add sigaltstack-offsets.sym.
76469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76470         <sigaltstack-offsets.h>.
76471         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76472         longjmp_msg pointer.
76473         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76474         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76475         signal stack.
76476         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76478 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76480         * elf/stackguard-macros.h: Remove file.
76481         * sysdeps/generic/stackguard-macros.h: New file.
76482         * sysdeps/i386/stackguard-macros.h: Likewise.
76483         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76484         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76485         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76486         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76487         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76488         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76489         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76490         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76491         <elf/stackguard-macros.h>.
76493         [BZ #14109]
76494         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76495         __aligned__ in attribute.
76496         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76497         (gregset_t): Likewise.
76499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76501         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76502         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76503         * sysdeps/x86_64/x32/Implies-after: New file.
76505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76507         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76508         and access return value for _dl_profile_fixup.  Use R10_LP to
76509         load frame size.
76511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76513         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76517         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76518         * sysdeps/x86_64/x32/sysdep.h: New file.
76520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76522         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76523         * sysdeps/x86_64/setjmp.S: Likewise.
76525 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76527         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76528         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76529         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76531         remove unused global constant.
76533 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76535         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76536         include of <not-cancel.h>.
76538 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76540         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76542 2012-05-15  Jeff Law  <law@redhat.com>
76543             Andreas Jaeger  <aj@suse.de>
76545         [BZ #13594]
76546         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76547         out from...
76548         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76549         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76550         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76551         code changing __hst_map_handle.map.
76553 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76555         * configure.in (sysnames): Look for Implies-before and Implies-after
76556         files.
76557         * configure: Regenerated.
76559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76561         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76562         8-byte data alignment with LP_SIZE alignment.
76564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76566         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76567         into R10_LP.
76569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76571         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76575         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76576         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76577         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76578         Likewise.
76579         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76583         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76584         (stackinfo_sub_sp): Likewise.
76586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76588         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76589         RAX_LP.
76591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76594         into R*_LP.
76596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76598         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76599         sizes into R*_LP.
76601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76603         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76607         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76608         into R11_LP and load __x86_64_shared_cache_size_half into
76609         R8_LP.
76611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76613         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76614         R8_LP.
76616 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76619         logb for POWER7.
76620         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76621         logbf for POWER7.
76622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76623         logbl for POWER7.
76624         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76625         powerpc32/power7/fpu/s_logb.c via #include.
76626         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76627         powerpc32/power7/fpu/s_logbf.c via #include.
76628         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76629         powerpc32/power7/fpu/s_logbl.c via #include.
76631 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76633         * README.libm: Remove file.
76635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76637         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76638         count for x32.  Use R*_LP and omit operand-size suffix.
76640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76642         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76643         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76644         * sysdeps/x86_64/x32/shlib-versions: New file.
76646 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76648         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76649         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76650         Use _dl_fatal_printf instead.
76652 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76654         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76655         set if not set by the user.  Do not allow for being unset.
76656         * sysdeps/unix/sysv/linux/configure: Regenerated.
76658 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76660         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76661         the `q' suffix from lea and replace .quad with ASM_ADDR.
76663 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76666         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76667         instead of $17.
76668         (PTR_DEMANGLE): Likewise.
76670 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76672         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76673         (LP_OP): Likewise.
76674         (ASM_ADDR): Likewise.
76675         (RAX_LP): Likewise.
76676         (RBP_LP): Likewise.
76677         (RBX_LP): Likewise.
76678         (RCX_LP): Likewise.
76679         (RDI_LP): Likewise.
76680         (RSI_LP): Likewise.
76681         (RSP_LP): Likewise.
76682         (R8_LP): Likewise.
76683         (R9_LP): Likewise.
76684         (R10_LP): Likewise.
76685         (R10_LP): Likewise.
76686         (R11_LP): Likewise.
76687         (R12_LP): Likewise.
76688         (R13_LP): Likewise.
76689         (R14_LP): Likewise.
76690         (R15_LP): Likewise.
76692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76694         * sysdeps/x86_64/x32/dl-machine.h: New file.
76696 2012-05-14  Andreas Jaeger  <aj@suse.de>
76698         * manual/Makefile (subdir): Remove export of subdir.
76699         (all): Remove target.
76700         (.PHONY): Remove all from list.
76701         (mkinstalldirs): Remove.
76702         (.PHONY): Remove installdirs from list.
76703         ($(inst_infodir)/libc.info): Use make-target-directory.
76704         (installdirs): Remove.
76705         (subdir_%): Remove.
76706         (glibc-targets): Remove.
76707         (lib): Remove.
76708         (stubs): Remove.
76709         ($(objpfx)stubs ../po/manual.pot): Remove.
76710         ($(objpfx)stamp%): Remove.
76711         (make-target-directory): Remove.
76712         (subdir_install): Remove.
76713         (routines): Remove.
76714         (aux): Remove.
76715         (sources): Remove.
76716         (objects): Remove.
76717         (headers): Remove.
76719         [BZ #13750]
76720         * manual/.gitignore: Remove, it's not needed anymore.
76721         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76722         all files in it.
76723         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76724         directory.
76725         (texis): Renamed to $(objpfx)texis.
76726         (texis-path): New, contains path to generated files.
76727         (chapters.%): Use texis-path for complete path, add extra argument
76728         libc-texinfo.sh.
76729         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76730         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76731         (summary,texi, stamp-summary): Use complete path of
76732         files. Generate files in build dir.
76733         (dir-add.texi): Build in build dir.
76734         (libm-err.texi,stamp-libm-err): Likewise.
76735         (version.texi, stamp-version): Likewise.
76736         (.%c.texi): Likewise.
76737         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76738         (mostlyclean): Remove target.
76739         (realclean): Remove target.
76740         (generated): Add new variable with contents from mostlyclean and
76741         realclean, remove entries duplicated in common-mostlyclean, add
76742         stamp-libm-err and stamp-version.
76743         (generated-dirs): Add libc directory.
76744         ($(inst_infodir)/libc.info): Install files from build dir.
76746         * manual/install.texi (Configuring and compiling): Adjust since
76747         the info files are not part of the tar ball anymore.
76749 2012-05-14  Andreas Jaeger  <aj@suse.de>
76751         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76752         variable.
76754 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76756         [BZ #13717]
76757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76758         to 2.2.0 where earlier.
76759         * sysdeps/unix/sysv/linux/configure: Regenerated.
76760         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76761         Remove conditional code.
76762         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76763         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76764         Remove conditional code.
76765         [!__NR_lchown]: Likewise.
76766         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76767         [__NR_lchown]: Likewise.
76768         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76769         comment referencing __ASSUME_LCHOWN_SYSCALL.
76770         * sysdeps/unix/sysv/linux/i386/sigaction.c
76771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76773         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76774         Remove conditional code.
76775         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76776         (__protocol_available): Remove #if 0 code.
76777         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76778         conditional code.
76779         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76780         * sysdeps/unix/sysv/linux/kernel-features.h
76781         (__ASSUME_GETCWD_SYSCALL): Don't define.
76782         (__ASSUME_REALTIME_SIGNALS): Likewise.
76783         (__ASSUME_PREAD_SYSCALL): Likewise.
76784         (__ASSUME_PWRITE_SYSCALL): Likewise.
76785         (__ASSUME_POLL_SYSCALL): Likewise.
76786         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76787         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76788         non-SPARC.
76789         (__ASSUME_SIOCGIFNAME): Don't define.
76790         (__ASSUME_MSG_NOSIGNAL): Likewise.
76791         (__ASSUME_SENDFILE): Define unconditionally.
76792         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76793         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76794         conditional code.
76795         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76796         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76797         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76798         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76799         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76800         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76801         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76803         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76804         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76806         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76807         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76809         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76812         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76815         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76816         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76818         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76821         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76824         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76826         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76827         Remove conditional code.
76828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76829         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76830         Remove conditional code.
76831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76832         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76833         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76834         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76835         Remove conditional code.
76836         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76837         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76838         Remove conditional code.
76839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76840         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76841         Remove conditional code.
76842         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76843         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76844         Remove conditional code.
76845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76846         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76847         Remove conditional code.
76848         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76849         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76850         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76852         * sysdeps/unix/sysv/linux/sigaction.c
76853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76855         * sysdeps/unix/sysv/linux/sigpending.c
76856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76858         * sysdeps/unix/sysv/linux/sigprocmask.c
76859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76861         * sysdeps/unix/sysv/linux/sigsuspend.c
76862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76864         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76865         (__libc_missing_rt_sigs): Remove.
76866         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76867         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76868         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76869         Remove conditional code.
76870         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76871         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76872         return 1.
76873         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76874         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76875         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76876         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76878 2012-05-14  Andreas Jaeger  <aj@suse.de>
76880         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76881         it's not used in glibc.
76882         (__coshm1): Likewise.
76883         (__acosh1p): Likewise.
76884         (__sgn): Likewise.
76886         * manual/string.texi (Copying and Concatenation): Add missing
76887         variable in concat example.
76888         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76892         [BZ #14103]
76893         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76894         __builtin_clzl with __builtin_clzll.
76896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76898         [BZ #14104]
76899         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76900         libc_freeres_ptr.
76902 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76904         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76905         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76906         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76907         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76909 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76911         * NEWS: Update ia64 info.
76913 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76915         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76916         used as bcopy.
76918 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76920         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76921         * sysdeps/unix/syscalls.list (dup3): Likewise.
76922         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76923         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76925 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76927         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76928         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76930 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76932         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76933         thread pointer.
76934         (TLS_IE): Use mov/add instead of movq/addq to load thread
76935         pointer.
76936         (TLS_GD_PREFIX): New.
76937         (TLS_GD): Use it.
76939 2012-05-11  David S. Miller  <davem@davemloft.net>
76941         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76942         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76943         (_FPU_SETCW): Likewise.
76945 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76947         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76948         is 32-byte aligned.
76950 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76952         [BZ #11837]
76953         * iconvdata/gb18030.c: Update tables.
76954         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76955         characters specially.
76956         (BODY for TO_LOOP): Add encoding of missing ranges.
76958 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76960         [BZ #13673]
76961         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76962         * sysdeps/mach/hurd/dup3.c: Likewise.
76963         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76964         * sysdeps/powerpc/memmove.c:: Likewise.
76966 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76968         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76969         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76971 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76973         * elf/elf.h (R_X86_64_RELATIVE64): New.
76974         (R_X86_64_NUM): Updated.
76975         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76976         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76977         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76978         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76979         tst-quad1pie tst-quad2pie
76980         (modules-names): Add tst-quadmod1 tst-quadmod2.
76981         ($(objpfx)tst-quad1): New dependency.
76982         ($(objpfx)tst-quad2): Likewise.
76983         ($(objpfx)tst-quad1pie): Likewise.
76984         ($(objpfx)tst-quad2pie): Likewise.
76985         * sysdeps/x86_64/tst-quad1.c: New file.
76986         * sysdeps/x86_64/tst-quad1pie.c: New file.
76987         * sysdeps/x86_64/tst-quad2.c: Likewise.
76988         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76989         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76990         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76991         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76992         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76996         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76997         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76998         * streams/stropts.h (t_scalar_t): Define type.
77000         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77001         (_PATH_PRESERVE): Set to "/var/lib".
77002         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77004         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77005         instead of int.
77007         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77008         if __dir_mkfile succeeded.
77010         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77011         checking for _hurd_dtablesize.  Unlock it right after having
77012         finished _hurd_dtable allocation.
77014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77016         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77017         * sysdeps/mach/hurd/configure: Regenerated.
77018         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77019         special-casing to...
77020         * sysdeps/gnu/configure.in: ... this new file.
77021         * sysdeps/unix/sysv/linux/configure: Regenerated.
77022         * sysdeps/gnu/configure: New generated file.
77024         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77025         for Linux: use nsec instead of usec, as well as:
77026         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77027         members of type struct timespec.
77028         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77029         New macros.
77030         (struct stat64): Likewise.
77031         (_STATBUF_ST_NSEC): New macro.
77032         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77034         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77035         __strtoul_internal rather than strtoul.
77037 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77039         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77040         and reject them.
77042 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77044         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77045         which preserves existing values.
77046         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77048 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77050         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77051         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77052         greater than FD_SETSIZE.
77054 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77056         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77057         allocated, call __vm_protect to finish enabling the existing space, and
77058         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77059         allocate the remainder.
77061 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77063         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77064         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77066 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77068         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77069         sysdeps/mach/hurd/readlink.c.
77071         * posix/tst-sysconf.c (posix_options): Only use
77072         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77073         _POSIX_SYNCHRONIZED_IO when they are defined
77074         * sysdeps/mach/hurd/bits/posix_opt.h:
77075         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77076         (_XOPEN_REALTIME): Undefine macro.
77077         (_XOPEN_REALTIME_THREADS): Undefine macro.
77078         (_XOPEN_SHM): Undefine macro.
77079         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77080         macro to -1.
77081         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77082         macro to -1.
77083         (_POSIX_ASYNC_IO): Undefine macro.
77084         (_POSIX_PRIORITIZED_IO): Undefine macro.
77085         (_POSIX_SPIN_LOCKS): Define macro to -1.
77087         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77088         SA_NODEFER, SA_RESETHAND.
77089         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77090         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77091         F_DUPFD_CLOEXEC.
77093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77095         * elf/Makefile (pldd-modules): Define unconditionally.
77097 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77099         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77103         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77104         Return ENOENT when name is empty.
77105         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77109         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77111         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77115         Fix mlock in all cases except non-readable pages.
77116         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77117         instead of VM_PROT_ALL as parameter to __vm_wire function.
77119         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77120         (__mkdir): When path is `/', just fail with EEXIST.
77121         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77125         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77126         <sys/uio.h> (for writev).
77127         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77128         and <sys/param.h> (for MIN).
77130 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77132         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77133         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77134         if interrupted.
77136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77138         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77139         Depend on against $(link-rpcuserlibs).
77141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77143         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77144         (__libc_stack_end): Do not use attribute_relro.
77145         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77146         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77147         to libthread-provided value.
77148         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77149         attribute_relro.
77151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77153         [BZ #3748]
77154         * bits/libc-lock.h (__libc_once_get): New macro.
77155         * sysdeps/mach/bits/libc-lock.h: Likewise.
77156         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77157         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77158         instead of using implementation details.
77160         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77161         * libio/freopen.c: Likewise.
77162         * libio/freopen64.c: Likewise.
77163         * misc/syslog.c: Likewise.
77164         * nscd/connections.c: Likewise.
77165         * nscd/netgroupcache.c: Likewise.
77166         * sysdeps/posix/getcwd.c: Likewise.
77168 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77170         * math/w_ilogbf.c: Add #include <limits.h>.
77172 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77174         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77175         path instead of returning without unlocking.
77177         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77178         immediate-write ioctls.
77179         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77183         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77184         __builtin_frame_address instead of making assumptions about the
77185         location of the return address relative to DATA.  Force early load of
77186         the return address.
77187         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77188         __builtin_frame_address.
77190         dup3 for GNU Hurd.
77191         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77192         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77193         implement dup3 and do some further code clean-ups.
77194         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77195         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77197 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77199         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77201         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77202         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77203         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77204         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77205         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77206         d->port.lock.
77208         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77209         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77210         when handler == SIG_ERR, not when handler != SIG_ERR.
77212 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77214         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77215         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77216         definitions.
77218         accept4 for GNU Hurd.
77219         * include/sys/socket.h (__libc_accept4): New prototype.
77220         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77221         to implement __libc_accept4.
77222         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77223         __libc_accept4.
77224         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77226         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77227         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77228         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77229         signal-defines.sym.
77231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77233         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77235 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77237         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77238         assertion on O_CLOEXEC flag.
77239         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77240         * hurd/intern-fd.c: Likewise.
77241         * hurd/port2fd.c: Likewise.
77243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77245         [BZ #3906]
77246         * bits/in.h (IPV6_PKTINFO): Define new macro.
77247         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77249 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77251         [BZ #13954]
77252         [BZ #13955]
77253         [BZ #13956]
77254         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77255         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77256         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77257         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77258         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77259         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77260         * math/libm-test.inc (logb_test) : Additional logb tests.
77262 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77263             Andreas Jaeger  <aj@suse.de>
77265         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77266         * configure: Regenerated.
77267         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77268         * config.make.in (link-obsolete-rpc): New substituted variable.
77269         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77270         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77271         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77272         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77273         so that libc.a contains the symbols.
77274         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77275         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77276         * sunrpc/auth_none.c: Likewise.
77277         * sunrpc/auth_unix.c: Likewise.
77278         * sunrpc/authdes_prot.c: Likewise.
77279         * sunrpc/authuxprot.c: Likewise.
77280         * sunrpc/clnt_gen.c: Likewise.
77281         * sunrpc/clnt_perr.c: Likewise.
77282         * sunrpc/clnt_raw.c: Likewise.
77283         * sunrpc/clnt_simp.c: Likewise.
77284         * sunrpc/clnt_tcp.c: Likewise.
77285         * sunrpc/clnt_udp.c: Likewise.
77286         * sunrpc/clnt_unix.c: Likewise.
77287         * sunrpc/des_crypt.c: Likewise.
77288         * sunrpc/des_soft.c: Likewise.
77289         * sunrpc/get_myaddr.c: Likewise.
77290         * sunrpc/key_call.c: Likewise.
77291         * sunrpc/key_prot.c: Likewise.
77292         * sunrpc/netname.c: Likewise.
77293         * sunrpc/pm_getmaps.c: Likewise.
77294         * sunrpc/pm_getport.c: Likewise.
77295         * sunrpc/pmap_clnt.c: Likewise.
77296         * sunrpc/pmap_prot.c: Likewise.
77297         * sunrpc/pmap_prot2.c: Likewise.
77298         * sunrpc/pmap_rmt.c: Likewise.
77299         * sunrpc/publickey.c: Likewise.
77300         * sunrpc/rpc_cmsg.c: Likewise.
77301         * sunrpc/rpc_common.c: Likewise.
77302         * sunrpc/rpc_dtable.c: Likewise.
77303         * sunrpc/rpc_prot.c: Likewise.
77304         * sunrpc/rpc_thread.c: Likewise.
77305         * sunrpc/rtime.c: Likewise.
77306         * sunrpc/svc.c: Likewise.
77307         * sunrpc/svc_auth.c: Likewise.
77308         * sunrpc/svc_raw.c: Likewise.
77309         * sunrpc/svc_run.c: Likewise.
77310         * sunrpc/svc_tcp.c: Likewise.
77311         * sunrpc/svc_udp.c: Likewise.
77312         * sunrpc/svc_unix.c: Likewise.
77313         * sunrpc/svcauth_des.c: Likewise.
77314         * sunrpc/xcrypt.c: Likewise.
77315         * sunrpc/xdr.c: Likewise.
77316         * sunrpc/xdr_array.c: Likewise.
77317         * sunrpc/xdr_float.c: Likewise.
77318         * sunrpc/xdr_intXX_t.c: Likewise.
77319         * sunrpc/xdr_mem.c: Likewise.
77320         * sunrpc/xdr_rec.c: Likewise.
77321         * sunrpc/xdr_ref.c: Likewise.
77322         * sunrpc/xdr_sizeof.c: Likewise.
77323         * sunrpc/xdr_stdio.c: Likewise.
77325 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77327         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77328         change.  Update copyright years.
77330 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77332         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77334 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77335             Joseph Myers  <joseph@codesourcery.com>
77336             Paul Pluzhnikov  <ppluzhnikov@google.com>
77338         [BZ #14012]
77339         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77340         requiring rpcgen.
77341         [cross-compiling] (extra-libs): Likewise.
77342         [cross-compiling] (extra-libs-others): Likewise.
77343         [cross-compiling] (librpcsvc-routines): Likewise.
77344         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77345         [cross-compiling] (omit-deps): Likewise.
77346         (sunrpc-CPPFLAGS): New variable.
77347         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77348         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77349         (cross-rpcgen-objs): New variable.
77350         (extra-objs): Append $(cross-rpcgen-objs).
77351         ($(cross-rpcgen-objs)): New rule.
77352         ($(objpfx)cross-rpcgen): Likewise.
77353         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77354         comment.
77355         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77356         ($(objpfx)x%.stmp): Likewise.
77357         * sunrpc/proto.h [IS_IN_build] (_): Define.
77358         [IS_IN_build] (_libc_intl_domainname): Likewise.
77360 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77362         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77363         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77364         and R_X86_64_TPOFF64.
77366 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77368         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77369         sysdeps/unix/sysv/syscalls.list.
77370         (stime): Likewise.
77371         (utime): Likewise.
77372         * sysdeps/unix/sysv/syscalls.list: Remove file.
77374 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77376         [BZ #3440]
77377         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77378         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77379         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77380         (__LC_IDENTIFICATION): Make these macros useful in #if
77381         expressions, as required by C99.
77383 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77385         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77386         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77387         after this.
77389 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77391         * stdlib/longlong.h: Updated from GCC.
77393 2012-05-09  Andreas Jaeger  <aj@suse.de>
77395         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77396         default is first entry.
77397         (run_mode): Set type.
77398         (main): Remove informal message about syslog.
77399         (options): Fix typo.
77401         [BZ #14053]
77402         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77403         to asm.
77404         (lrint): Likewise.
77405         (llrintf): Likewise.
77406         (llrint): Likewise.
77407         (rint): Likewise.
77408         (rintf): Likewise.
77409         (nearbyint): Likewise.
77410         (nearbyintf): Likewise.
77412 2012-05-09  Andreas Jaeger  <aj@suse.de>
77413             Pedro Alves  <palves@redhat.com>
77415         * nscd/nscd.c (run_mode): Use enum.
77416         (main): Cleanup coding style issue.
77418 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77419             Andreas Jaeger  <aj@suse.de>
77421         * nscd/nscd.c (go_background): Replaced with...
77422         (run_mode): ... this.
77423         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77424         (options): Add -F --foreground.
77425         (main): Implement it.
77426         (parse_opt): Parse it.
77428 2012-05-09  Andreas Jaeger  <aj@suse.de>
77430         [BZ #14083]
77431         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77432         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77433         -Wconversion warning.
77434         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77435         Likewise.
77437 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77439         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77440         == 0.
77441         (LC_ALL): Use macro-int-constant.
77442         (LC_COLLATE): Likewise.
77443         (LC_CTYPE): Likewise.
77444         (LC_MESSAGES): Likewise.
77445         (LC_MONETARY): Likewise.
77446         (LC_NUMERIC): Likewise.
77447         (LC_TIME): Likewise.
77448         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77449         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77451         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77452         Specify type.
77453         [C99-based standards] (float_t): Expect type.
77454         [C99-based standards] (double_t): Expect type.
77455         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77456         type.
77457         [C99-based standards] (HUGE_VALL): Likewise.
77458         [C99-based standards] (INFINITY): Likewise.
77459         [C99-based standards] (NAN): Likewise.
77460         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77461         [C99-based standards] (FP_NAN): Likewise.
77462         [C99-based standards] (FP_NORMAL): Likewise.
77463         [C99-based standards] (FP_SUBNORMAL): Likewise.
77464         [C99-based standards] (FP_ZERO): Likewise.
77465         [C99-based standards] (FP_FAST_FMA): Use
77466         optional-macro-int-constant.  Specify type.  Require == 1.
77467         [C99-based standards] (FP_FAST_FMAF): Likewise.
77468         [C99-based standards] (FP_FAST_FMAL): Likewise.
77469         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77470         [C99-based standards] (FP_ILOGBNAN): Likewise.
77471         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77472         Specify type.
77473         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77474         [C99-based standards] (math_errhandling): Specify type.
77475         [ISO99 || ISO11] (signgam): Do not allow.
77476         [non-C99-based standards] (copysignf): Do not allow.
77477         [non-C99-based standards] (exp2f): Likewise.
77478         [non-C99-based standards] (log2f): Likewise.
77479         [non-C99-based standards] (modff): Allow.
77480         [non-C99-based standards] (erff): Do not allow.
77481         [non-C99-based standards] (erfcf): Likewise.
77482         [non-C99-based standards] (gammaf): Likewise.
77483         [non-C99-based standards] (hypotf): Likewise.
77484         [non-C99-based standards] (j0f): Likewise.
77485         [non-C99-based standards] (j1f): Likewise.
77486         [non-C99-based standards] (jnf): Likewise.
77487         [non-C99-based standards] (lgammaf): Likewise.
77488         [non-C99-based standards] (tgammaf): Likewise.
77489         [non-C99-based standards] (y0f): Likewise.
77490         [non-C99-based standards] (y1f): Likewise.
77491         [non-C99-based standards] (ynf): Likewise.
77492         [non-C99-based standards] (isnanf): Likewise.
77493         [non-C99-based standards] (acoshf): Likewise.
77494         [non-C99-based standards] (asinhf): Likewise.
77495         [non-C99-based standards] (atanhf): Likewise.
77496         [non-C99-based standards] (cbrtf): Likewise.
77497         [non-C99-based standards] (expm1f): Likewise.
77498         [non-C99-based standards] (ilogbf): Likewise.
77499         [non-C99-based standards] (log1pf): Likewise.
77500         [non-C99-based standards] (logbf): Likewise.
77501         [non-C99-based standards] (nextafterf): Likewise.
77502         [non-C99-based standards] (remainderf): Likewise.
77503         [non-C99-based standards] (rintf): Likewise.
77504         [non-C99-based standards] (scalbf): Likewise.
77505         [non-C99-based standards] (copysignl): Likewise.
77506         [non-C99-based standards] (exp2l): Likewise.
77507         [non-C99-based standards] (log2l): Likewise.
77508         [non-C99-based standards] (modfl): Allow.
77509         [non-C99-based standards] (erfl): Do not allow.
77510         [non-C99-based standards] (erfcl): Likewise.
77511         [non-C99-based standards] (gammal): Likewise.
77512         [non-C99-based standards] (hypotl): Likewise.
77513         [non-C99-based standards] (j0l): Likewise.
77514         [non-C99-based standards] (j1l): Likewise.
77515         [non-C99-based standards] (jnl): Likewise.
77516         [non-C99-based standards] (lgammal): Likewise.
77517         [non-C99-based standards] (tgammal): Likewise.
77518         [non-C99-based standards] (y0l): Likewise.
77519         [non-C99-based standards] (y1l): Likewise.
77520         [non-C99-based standards] (ynl): Likewise.
77521         [non-C99-based standards] (isnanl): Likewise.
77522         [non-C99-based standards] (acoshl): Likewise.
77523         [non-C99-based standards] (asinhl): Likewise.
77524         [non-C99-based standards] (atanhl): Likewise.
77525         [non-C99-based standards] (cbrtl): Likewise.
77526         [non-C99-based standards] (expm1l): Likewise.
77527         [non-C99-based standards] (ilogbl): Likewise.
77528         [non-C99-based standards] (log1pl): Likewise.
77529         [non-C99-based standards] (logbl): Likewise.
77530         [non-C99-based standards] (nextafterl): Likewise.
77531         [non-C99-based standards] (remainderl): Likewise.
77532         [non-C99-based standards] (rintl): Likewise.
77533         [non-C99-based standards] (scalbl): Likewise.
77534         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77535         [non-C99-based standards] (FP_*): Do not allow.
77536         [C99-based standards] (FP_*): Change to
77537         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77538         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77539         allow.
77540         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77541         (SIG_ERR): Likewise.
77542         [X/Open-based standards] (SIG_HOLD): Likewise.
77543         (SIG_IGN): Likewise.
77544         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77545         positive value.
77546         (SIGFPE): Likewise.
77547         (SIGILL): Likewise.
77548         (SIGINT): Likewise.
77549         (SIGSEGV): Likewise.
77550         (SIGTER): Likewise.
77551         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77552         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77553         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77554         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77555         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77556         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77557         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77558         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77559         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77560         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77561         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77562         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77563         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77564         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77565         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77566         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77567         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77568         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77569         [X/Open-based standards] (SIGTRAP): Likewise.
77570         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77571         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77572         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77573         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77574         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77575         allow.
77577 2012-05-08  Ian Wienand  <ianw@vmware.com>
77579         [BZ #14080]
77580         * time/tzset.c (__tzset_parse_tz): Update default rules for
77581         daylight time changes in the Energy Policy Act of 2005.
77583 2012-05-09  Andreas Jaeger  <aj@suse.de>
77585         [BZ #13983]
77586         * elf/ldconfig.c (parse_conf): Change string to make clear that
77587         ldconfig only issued a warning if ld.so.conf does not exist.
77589 2012-05-08  David S. Miller  <davem@davemloft.net>
77591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77592         movxtod instead of popping the value on the stack.
77594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77596 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77598         * config.h.in: Add HAVE_ARM_PCS_VFP.
77600 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77602         [BZ #13979]
77603         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77604         checking but the checks are disabled for any reason.
77606 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77608         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77609         and ELF64_R_TYPE with ELFW(R_TYPE).
77611 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77613         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77614         (ulimit): Likewise.
77616         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77617         (settimeofday): Likewise.
77619 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77621         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77622         a struct th_u2 inside the union, and move tu_block/tu_code into
77623         a new th_u3 union of tu_block/tu_code inside of that.  Move
77624         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77625         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77626         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77627         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77628         (th_stuff): Change to th_u1.tu_stuff.
77629         (th_data): Define.
77630         (th_msg): Change to th_u1.th_u2.tu_data.
77632 2012-05-07  David S. Miller  <davem@davemloft.net>
77634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77636         [BZ #14074]
77637         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77638         (SETUP_PIC_REG): Use it.
77639         (SETUP_PIC_REG_LEAF): Use it.
77641 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77643         [BZ #13885]
77644         [BZ #13923]
77645         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77646         USE_AS_EXPM1L.
77647         (EXPL_FINITE): Likewise.
77648         (FLDLOG): Likewise.
77649         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77650         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77651         e_expl.S.
77652         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77653         USE_AS_EXPM1L.
77654         (EXPL_FINITE): Likewise.
77655         (FLDLOG): Likewise.
77656         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77657         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77658         e_expl.S.
77659         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77660         test of -max_value argument for long double.
77661         * sysdeps/i386/fpu/libm-test-ulps: Update.
77662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77664 2012-05-06  David S. Miller  <davem@davemloft.net>
77666         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77667         quad soft-float symbols whose references which are compiler
77668         generated.
77669         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77671 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77673         [BZ #13884]
77674         [BZ #13914]
77675         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77676         USE_AS_EXP10L.
77677         (EXPL_FINITE): Likewise.
77678         (FLDLOG): Likewise.
77679         (c0): Likewise.
77680         (c1): Likewise.
77681         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77682         Adjust comments for base varying.
77683         (__expl_finite): Change alias to EXPL_FINITE.
77684         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77685         e_expl.S.
77686         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77687         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77688         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77689         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77690         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77691         USE_AS_EXP10L.
77692         (EXPL_FINITE): Likewise.
77693         (FLDLOG): Likewise.
77694         (c0): Likewise.
77695         (c1): Likewise.
77696         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77697         Adjust comments for base varying.
77698         (__expl_finite): Change alias to EXPL_FINITE.
77699         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77700         tests for bugs.
77701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77703         [BZ #14064]
77704         * math/libm-test.inc (check_float_internal): Correct ulp
77705         calculation for subnormal expected results.
77707 2012-05-06  Andreas Jaeger  <aj@suse.de>
77709         * Makeconfig (+math-flags): New, set to -frounding-math.
77710         (+cflags): Add +math-flags so that all of glibc gets compiled with
77711         it.
77713         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77715 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77717         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77718         Disable one test.
77720         [BZ #13787]
77721         [BZ #13922]
77722         [BZ #14036]
77723         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77724         (__ieee754_expl): Allow for and saturate large arguments.
77725         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77726         (u_threshold): Likewise.
77727         (__exp): Call __ieee754_exp before checking for overflow and
77728         underflow.
77729         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77730         (u_threshold): Likewise.
77731         (__expf): Call __ieee754_expf before checking for overflow and
77732         underflow.
77733         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77734         (u_threshold): Likewise.
77735         (__expl): Call __ieee754_expl before checking for overflow and
77736         underflow.
77737         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77738         (__ieee754_expl): Allow for and saturate large arguments.
77739         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77740         missing overflow exception on overflow.
77741         (expm1_test): Do not allow missing overflow exception on overflow.
77743         * sysdeps/i386/fpu/e_expl.c: Move to ...
77744         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77745         rather than using inline asm.
77746         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77747         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77748         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77750         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77751         (nice): Likewise.
77752         (poll): Likewise.
77753         (signal): Likewise.
77754         (time): Likewise.
77755         (times): Likewise.
77757 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77759         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77760         sysdeps/unix/common/syscalls.list.
77761         (fchmod): Likewise.
77762         (fchown): Likewise.
77763         (ftruncate): Likewise.
77764         (getrusage): Likewise.
77765         (gettimeofday): Likewise.
77766         (setpgid): Likewise.
77767         (setregid): Likewise.
77768         (setreuid): Likewise.
77769         (sigaction): Likewise.
77770         (truncate): Likewise.
77771         (vhangup): Likewise.
77772         * sysdeps/unix/common/syscalls.list: Remove file.
77773         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77774         * sysdeps/unix/sysv/linux/Implies: Likewise.
77776 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77778         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77780         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77781         Moved to ...
77782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77783         Here.
77784         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77785         to ...
77786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77787         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77788         to ...
77789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77790         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77791         to ...
77792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77793         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77794         to ...
77795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77796         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77797         to ...
77798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77799         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77800         to ...
77801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77802         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77803         to ...
77804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77805         Here.
77806         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77807         to ...
77808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77809         Here.
77810         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77811         to ...
77812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77813         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77814         Moved to ...
77815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77816         Here.
77817         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77818         to ...
77819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77821 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77823         * sysdeps/unix/common/bits/dirent.h: Remove file.
77824         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77826         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77827         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77828         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77829         * sysdeps/unix/bsd/isatty.c: Likewise.
77830         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77831         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77832         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77834 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77836         [BZ #13563]
77837         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77838         long double comparison inaccuracies.
77839         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77842 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77844         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77845         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77847 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77849         [BZ #14049]
77850         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77851         nonzero digits before rounding a hex value.
77852         * stdlib/tst-strtod.c (tests): Add another test.
77854 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77856         * sysdeps/s390/fpu/libm-test-ulps: Update.
77858 2012-05-03  Andreas Jaeger  <aj@suse.de>
77860         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77861         does not get optimized out.
77862         (malloc_opt_barrier): New.
77864 2012-05-03  Andreas Jaeger  <aj@suse.de>
77865             Roland McGrath  <roland@hack.frob.com>
77867         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77868         intermediate file deletion.
77869         (generated): Add .symlist files.
77871 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77873         [BZ #13775]
77874         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77875         Redirect under this condition.
77876         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77877         [__USE_GNU] (__dprintf_chk): Not under this condition.
77878         [__USE_GNU] (__vdprintf_chk): Likewise.
77879         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77880         under this condition.
77881         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77882         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77883         [__USE_XOPEN2K8] (vdprintf): Likewise.
77884         [__USE_GNU] (__dprintf_chk): Not under this condition.
77885         [__USE_GNU] (__vdprintf_chk): Likewise.
77886         [__USE_GNU] (dprintf): Likewise.
77887         [__USE_GNU] (vdprintf): Likewise.
77889 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77891         * elf/Makefile (common-generated): Set this instead of generated for
77892         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77893         $(all-built-dso)-derived lists.
77895 2012-05-03  Andreas Jaeger  <aj@suse.de>
77897         * sysdeps/i386/fpu/libm-test-ulps: Update.
77899         * FAQ: Removed.
77900         * FAQ.in: Likewise.
77901         * scripts/gen-FAQ.pl: Likewise.
77902         * manual/install.texi (Installation): Point to online location of
77903         FAQ.
77904         * Makefile (files-for-dist): Remove FAQ.
77905         (FAQ): Remove.
77907 2012-05-02  Allan McRae  <allan@archlinux.org>
77909         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77910         (LDFLAGS-reldepmod5.so): Likewise.
77911         (LDFLAGS-reldep6mod1.so): Likewise.
77912         (LDFLAGS-reldep6mod4.so): Likewise.
77913         (LDFLAGS-reldep8mod3.so): Likewise.
77914         (LDFLAGS-unload4mod1.so): Likewise.
77915         (LDFLAGS-unload4mod2.so): Likewise.
77916         (LDFLAGS-tst-initorder): Likewise.
77917         (LDFLAGS-tst-initordera2.so): Likewise.
77918         (LDFLAGS-tst-initordera3.so): Likewise.
77919         (LDFLAGS-tst-initordera4.so): Likewise.
77920         (LDFLAGS-tst-initorderb2.so): Likewise.
77921         (LDFLAGS-noload): Likewise.
77922         (LDFLAGS-next): Likewise.
77923         (LDFLAGS-order2mod1.so): Likewise.
77924         (LDFLAGS-order2mod2.so): Likewise.
77925         (LDFLAGS-tst-initorder2): Likewise.
77926         (LDFLAGS-tst-initorder2a.so): Likewise.
77927         (LDFLAGS-tst-initorder2b.so): Likewise.
77928         (LDFLAGS-tst-initorder2c.so): Likewise.
77929         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77931 2012-05-02  David S. Miller  <davem@davemloft.net>
77933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77935 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77937         [BZ #14055]
77938         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77940 2012-05-02  Andreas Jaeger  <aj@suse.de>
77942         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77943         since we manipulate rounding mode.
77944         (CPPFLAGS-test-idouble.c): Likewise.
77945         (CPPFLAGS-test-ifloat.c): Likewise.
77946         (CFLAGS-test-ldouble.c): Likewise.
77947         (CFLAGS-test-double.c): Likewise.
77948         (CFLAGS-test-float.c): Likewise.
77949         (CFLAGS-test-misc.c): Likewise.
77950         (CFLAGS-test-test-fenv.c): Likewise.
77952 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77954         [BZ #2550]
77955         [BZ #2570]
77956         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77957         comparisons to determine direction to adjust input.
77959 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77961         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77962         output to the target.
77964         * scripts/localplt.awk: New file.
77965         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77966         (check-localplt-CFLAGS): Variable removed.
77967         ($(all-built-dso:=.jmprel)): New static pattern rule.
77968         (generated): Add those targets.
77969         (localplt-built-dso): New variable.
77970         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77972         * elf/check-localplt.c: File removed.
77974         * scripts/check-execstack.awk: New file.
77975         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77976         (check-execstack-CFLAGS): Variable removed.
77977         ($(objpfx)check-execstack.h): Target removed.
77978         ($(objpfx)execstack-default): New target.
77979         (generated): Add that instead of check-execstack.h.
77980         ($(all-built-dso:=.phdr)): New static pattern rule.
77981         (generated): Add those targets.
77982         * elf/check-execstack.c: File removed.
77984         * scripts/check-textrel.awk: New file.
77985         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77986         (check-textrel-CFLAGS): Variable removed.
77987         (all-built-dso): Use := to define.o
77988         ($(all-built-dso:=.dyn)): New static pattern rule.
77989         (generated): Add those targets.
77990         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77991         * config.make.in (READELF): New substituted variable.
77992         * elf/check-textrel.c: File removed.
77994 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77996         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77997         allow.
77998         * conform/data/ctype.h-data [C99-based standards] (isblank):
77999         Expect function.
78000         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78001         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78003         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78004         Specify type.  Require positive value.
78005         (EILSEQ): Likewise.
78006         (ERANGE): Likewise.
78007         [ISO || POSIX] (EILSEQ): Do not expect.
78008         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78009         Specify type.  Require positive value.
78010         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78011         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78012         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78013         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78014         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78015         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78016         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78017         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78018         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78019         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78020         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78021         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78022         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78023         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78024         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78025         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78026         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78027         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78028         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78029         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78030         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78031         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78032         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78033         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78034         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78035         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78036         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78037         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78038         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78039         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78040         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78041         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78042         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78043         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78044         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78045         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78046         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78047         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78048         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78049         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78050         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78051         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78052         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78053         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78054         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78055         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78056         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78057         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78058         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78059         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78060         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78061         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78062         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78063         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78064         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78065         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78066         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78067         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78068         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78069         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78070         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78071         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78072         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78073         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78074         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78075         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78076         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78077         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78078         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78079         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78080         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78081         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78082         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78083         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78084         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78085         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78086         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78087         Require >= 2.
78088         (FLT_ROUNDS): Expect as macro, not constant.
78089         (FLT_MANT_DIG): Use macro-int-constant.
78090         (DBL_MANT_DIG): Likewise.
78091         (LDBL_MANT_DIG): Likewise.
78092         (FLT_DIG): Likewise.
78093         (DBL_DIG): Likewise.
78094         (LDBL_DIG): Likewise.
78095         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78096         (DBL_MIN_EXP): Likewise.
78097         (LDBL_MIN_EXP): Likewise.
78098         (FLT_MAX_EXP): Use macro-int-constant.
78099         (DBL_MAX_EXP): Likewise.
78100         (LDBL_MAX_EXP): Likewise.
78101         (FLT_MAX_10_EXP): Likewise.
78102         (DBL_MAX_10_EXP): Likewise.
78103         (LDBL_MAX_10_EXP): Likewise.
78104         (FLT_MAX): Use macro-constant.
78105         (DBL_MAX): Likewise.
78106         (LDBL_MAX): Likewise.
78107         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78108         (DBL_EPSILON): Likewise.
78109         (LDBL_EPSILON): Likewise.
78110         (FLT_MIN): Likewise.
78111         (DBL_MIN): Likewise.
78112         (LDBL_MIN): Likewise.
78113         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78114         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78115         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78116         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78117         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78118         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78119         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78120         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78121         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78122         [ISO11] (FLT_TRUE_MIN): Likewise.
78123         [ISO11] (LDBL_TRUE_MIN): Likewise.
78124         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78125         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78126         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78127         (SCHAR_MAX): Likewise.
78128         (UCHAR_MAX): Likewise.
78129         (CHAR_MIN): Likewise.
78130         (CHAR_MAX): Likewise.
78131         (MB_LEN_MAX): Use macro-int-constant.
78132         (SHRT_MIN): Use macro-int-constant.  Specify type.
78133         (SHRT_MAX): Likewise.
78134         (USHRT_MAX): Likewise.
78135         (INT_MAX): Likewise.
78136         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78137         bound negative.
78138         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78139         bound with "U".
78140         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78141         bound with "L".
78142         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78143         bound negative.  Suffix upper bound with "L".
78144         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78145         bound with "UL".
78146         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78147         Specify type.
78148         [C99-based standards] (LLONG_MAX): Likewise.
78149         [C99-based standards] (ULLONG_MAX): Likewise.
78150         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78151         == 0.
78152         [ISO11] (max_align_t): Require type.
78153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78155         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78156         from $CFLAGS, without defining away __attribute__ calls.
78157         (checknamespace): Use $CFLAGS_namespace.
78159         * conform/conformtest.pl (@keywords): Only include C99 keywords
78160         for standards based on C99 or C11.
78162         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78163         Disable tests.
78164         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78165         UNIX98]: Likewise.
78167         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78168         usability of symbols in #if.
78170         * conform/conformtest.pl: If macro or constant types start
78171         "promoted:", expect the symbol to be of the following type
78172         promoted by the integer promotions.
78174         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78175         in one place.  Also handle "macro-constant".
78177         * conform/conformtest.pl: Only accept expected macro values with
78178         "==".  Parse all "macro" lines in one place.
78179         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78181         * conform/conformtest.pl: Handle braced types on "constant" lines
78182         instead of handling "typed-constant".
78183         * conform/data/signal.h-data: Use "constant" instead of
78184         "typed-constant".
78186         * conform/conformtest.pl: Handle "optional-" at start of lines in
78187         one place rather than duplicating several cases.  Handle each
78188         format of "macro" line with initial "optional-".
78190         * conform/conformtest.pl: Only accept expected constant or
78191         optional-constant values with "==".  Parse all "constant" lines in
78192         one place.  Parse all "optional-constant" lines in one place.
78193         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78194         * conform/data/fmtmsg.h-data: Likewise.
78195         * conform/data/netinet/in.h-data: Likewise.
78196         * conform/data/tar.h-data: Likewise.
78197         * conform/data/limits.h-data: Use "==" form on "constant" and
78198         "optional-constant" lines.
78200         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78201         Use -std=c99 for XOPEN2K.
78202         (@knownproblems): Remove.
78203         (newtoken): Don't check %isknown.
78205         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78206         Do not expect macro.
78207         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78208         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78209         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78210         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78211         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78212         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78213         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78214         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78215         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78216         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78217         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78218         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78219         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78220         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78221         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78222         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78223         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78224         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78225         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78226         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78227         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78228         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78229         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78230         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78231         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78232         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78233         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78234         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78235         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78236         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78237         [XPG3] (acosh): Likewise.
78238         [XPG3] (asinh): Likewise.
78239         [XPG3] (atanh): Likewise.
78240         [XPG3] (cbrt): Likewise.
78241         [XPG3] (expm1): Likewise.
78242         [XPG3] (ilogb): Likewise.
78243         [XPG3] (log1p): Likewise.
78244         [XPG3] (logb): Likewise.
78245         [XPG3] (nextafter): Likewise.
78246         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78247         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78248         [XPG3] (remainder): Likewise.
78249         [XPG3] (rint): Likewise.
78250         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78251         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78252         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78253         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78254         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78255         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78256         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78257         [UNIX98 || XOPEN2K] (scalb): Expect.
78258         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78259         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78260         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78261         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78262         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78263         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78264         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78265         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78266         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78267         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78268         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78269         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78270         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78271         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78272         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78273         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78274         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78275         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78276         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78277         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78278         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78279         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78280         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78281         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78282         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78283         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78284         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78285         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78286         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78287         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78288         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78289         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78290         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78291         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78292         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78293         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78294         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78295         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78296         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78297         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78298         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78299         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78300         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78301         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78302         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78303         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78304         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78305         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78306         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78307         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78308         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78309         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78310         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78311         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78312         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78313         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78314         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78315         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78316         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78317         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78318         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78319         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78320         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78321         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78322         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78323         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78324         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78325         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78326         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78327         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78328         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78329         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78330         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78331         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78332         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78333         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78334         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78335         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78336         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78337         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78338         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78339         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78340         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78341         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78342         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78343         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78344         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78345         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78346         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78347         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78348         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78349         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78350         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78351         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78352         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78353         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78354         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78355         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78356         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78357         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78358         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78359         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78360         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78361         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78362         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78363         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78364         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78365         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78366         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78367         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78368         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78369         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78370         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78371         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78372         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78373         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78374         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78375         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78376         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78377         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78378         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78379         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78380         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78381         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78382         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78383         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78384         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78385         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78386         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78387         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78388         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78389         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78390         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78391         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78392         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78393         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78394         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78396         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78397         _XOPEN_SOURCE_EXTENDED for XPG4.
78399         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78401         * Makeconfig (localtime): Remove variable.
78402         (inst_localtime-file): Likewise.
78404 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78407         Update.
78408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78409         Update.
78410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78411         Update.
78412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78413         Update.
78414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78415         Update.
78416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78417         Update.
78418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78419         Update.
78420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78421         Update.
78422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78423         Update.
78425 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78427         [BZ #2550]
78428         [BZ #2570]
78429         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78430         comparisons to determine direction to adjust input.
78431         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78432         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78434         Likewise.
78435         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78436         Likewise.
78437         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78438         Likewise.
78439         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78440         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78441         Likewise.
78442         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78443         Likewise.
78444         * math/libm-test.inc (nexttoward_test): Add more tests.
78446 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78448         [BZ #14040]
78449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78450         in version GLIBC_2.1, not GLIBC_2.0.
78451         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78452         Likewise.
78454 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78456         [BZ #13942]
78457         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78458         (1 - x) * (1 + x).
78459         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78460         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78461         * math/libm-test.inc (acos_test): Add more tests.
78462         (asin_test): Likewise.
78463         * sysdeps/i386/fpu/libm-test-ulps: Update.
78464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78466         [BZ #14034]
78467         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78468         of square root.
78469         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78470         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78471         * math/libm-test.inc (acos_test_tonearest): New function.
78472         (acos_test_towardzero): Likewise.
78473         (acos_test_downward): Likewise.
78474         (acos_test_upward): Likewise.
78475         (asin_test_tonearest): Likewise.
78476         (asin_test_towardzero): Likewise.
78477         (asin_test_downward): Likewise.
78478         (asin_test_upward): Likewise.
78479         (main): Call the new functions.
78480         * sysdeps/i386/fpu/libm-test-ulps: Update.
78481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78483         [BZ #13884]
78484         [BZ #13924]
78485         * math/e_exp10.c: Include <float.h>.
78486         (__ieee754_exp10): Handle underflow here rather than multiplying
78487         large negative argument by M_LN10.
78488         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78489         of __ieee754_expf.
78490         * math/e_exp10l.c: Include <float.h>.
78491         (__ieee754_exp10l): Handle underflow here rather than multiplying
78492         large negative argument by M_LN10l.
78493         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78494         spurious overflow exception on underflow.
78496 2012-04-29  Marek Polacek  <polacek@redhat.com>
78498         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78499         (__fortify_function): New macro.
78500         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78501         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78502         __extern_always_inline.
78503         * libio/bits/stdio2.h: Likewise.
78504         * libio/bits/stdio.h: Likewise.
78505         * string/string.h: Likewise.
78506         * string/bits/string3.h: Likewise.
78507         * include/stdio.h: Likewise.
78508         * stdlib/bits/stdlib.h: Likewise.
78509         * stdlib/stdlib.h: Likewise.
78510         * rt/bits/mqueue2.h: Likewise.
78511         * rt/mqueue.h: Likewise.
78512         * posix/bits/unistd.h: Likewise.
78513         * posix/unistd.h: Likewise.
78514         * io/bits/poll2.h: Likewise.
78515         * io/bits/fcntl2.h: Likewise.
78516         * io/fcntl.h: Likewise.
78517         * io/sys/poll.h: Likewise.
78518         * misc/bits/syslog.h: Likewise.
78519         * misc/bits/syslog-ldbl.h: Likewise.
78520         * misc/sys/syslog.h: Likewise.
78521         * socket/bits/socket2.h: Likewise.
78522         * socket/sys/socket.h: Likewise.
78523         * debug/tst-chk1.c: Likewise.
78524         * wcsmbs/bits/wchar2.h: Likewise.
78525         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78526         * wcsmbs/wchar.h: Likewise.
78528 2012-04-29  Andreas Jaeger  <aj@suse.de>
78530         * Makerules (tests): Remove enable-check-abi protection.
78531         (check-abi-warn): Remove.
78532         (check-abi-%): Remove check-abi-warn usage.
78534         * configure.in: Remove check-abi configure option.
78535         * configure: Regenerated.
78536         * config.make.in (enable-check-abi): Remove.
78538 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78540         [BZ #14033]
78541         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78542         double functions to double *_finite functions.
78544         [BZ #13941]
78545         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78546         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78547         LDBL_MIN_EXP.
78548         * stdio-common/Makefile (tests): Add tst-sprintf3.
78549         * stdio-common/tst-sprintf3.c: New file.
78551         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78552         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78554 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78556         * conform/conformtest.pl: Remove duplicate typed-constant
78557         handling.
78559 2012-04-28  David S. Miller  <davem@davemloft.net>
78561         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78562         (check-abi-%): Remove AWK script prerequisite and explicit
78563         abilist directory.
78564         (check-abi): Rewrite to just diff the symlist with the abilist.
78565         (config-tls, config-abi-config): Delete, no longer used.
78566         (update-abi-%): Remove AWK script and explicit abilist directory.
78567         (update-abi): Rewrite to simply compare and conditionally copy the
78568         symlist and the sysdep abilist file.  Remove update-abi-config
78569         checks.
78570         * abilist/ld.abilist: Remove.
78571         * abilist/libBrokenLocale.abilist: Remove.
78572         * abilist/libanl.abilist: Remove.
78573         * abilist/libcrypt.abilist: Remove.
78574         * abilist/libdl.abilist: Remove.
78575         * abilist/librt.abilist: Remove.
78576         * abilist/libthread_db.abilist: Remove.
78577         * abilist/libutil.abilist: Remove.
78578         * scripts/extract-abilist.awk: Remove.
78579         * scripts/merge-abilist.awk: Remove.
78580         * sysdeps/generic/libcidn.abilist: New file.
78581         * sysdeps/generic/libnss_compat.abilist: New file.
78582         * sysdeps/generic/libnss_db.abilist: New file.
78583         * sysdeps/generic/libnss_dns.abilist: New file.
78584         * sysdeps/generic/libnss_files.abilist: New file.
78585         * sysdeps/generic/libnss_hesiod.abilist: New file.
78586         * sysdeps/generic/libnss_nis.abilist: New file.
78587         * sysdeps/generic/libnss_nisplus.abilist: New file.
78588         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78589         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78590         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78591         file.
78592         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78593         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78594         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78595         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78596         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78597         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78598         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78599         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78600         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78601         file.
78602         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78603         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78604         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78605         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78606         file.
78607         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78608         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78609         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78610         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78611         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78612         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78613         file.
78614         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78615         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78616         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78617         file.
78618         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78620         New file.
78621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78622         New file.
78623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78624         New file.
78625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78626         New file.
78627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78628         New file.
78629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78630         New file.
78631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78632         New file.
78633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78634         New file.
78635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78636         New file.
78637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78638         New file.
78639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78640         New file.
78641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78642         New file.
78643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78644         New file.
78645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78646         file.
78647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78648         New file.
78649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78650         New file.
78651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78652         file.
78653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78654         New file.
78655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78656         New file.
78657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78658         file.
78659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78660         New file.
78661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78662         New file.
78663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78664         New file.
78665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78666         New file.
78667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78668         New file.
78669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78670         New file.
78671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78673         file.
78674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78675         New file.
78676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78677         file.
78678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78679         file.
78680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78681         file.
78682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78683         file.
78684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78685         file.
78686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78687         New file.
78688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78689         file.
78690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78691         file.
78692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78693         New file.
78694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78695         file.
78696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78698         file.
78699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78700         New file.
78701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78702         file.
78703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78704         file.
78705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78706         file.
78707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78708         file.
78709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78710         file.
78711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78712         New file.
78713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78714         file.
78715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78716         file.
78717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78718         New file.
78719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78720         file.
78721         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78722         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78723         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78724         file.
78725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78726         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78727         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78728         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78729         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78730         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78731         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78732         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78733         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78734         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78737         file.
78738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78739         New file.
78740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78741         file.
78742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78743         file.
78744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78745         file.
78746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78747         file.
78748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78749         file.
78750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78751         New file.
78752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78753         New file.
78754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78755         file.
78756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78757         New file.
78758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78759         file.
78760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78762         file.
78763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78764         New file.
78765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78766         file.
78767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78768         file.
78769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78770         file.
78771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78772         file.
78773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78774         file.
78775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78776         New file.
78777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78778         New file.
78779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78780         file.
78781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78782         New file.
78783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78784         file.
78786 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78788         * conform/conformtest.pl: Fix typo in handling typed-constant from
78789         allow-header.
78791 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78793         * README: Cut down references to pre-2.6 Linux kernels and
78794         Linuxthreads.  Update lists of configurations in libc and ports
78795         and sort alphabetically.  Say "or newer" with Linux kernel version
78796         requirements.
78798         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78800 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78802         [BZ #887]
78803         * math/libm-test.inc (logb_test_downward): New test to expose
78804         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78805         rounding mode.
78807 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78809         [BZ #14027]
78810         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78811         to be done.
78812         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78813         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78815 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78817         * sysdeps/unix/i386/brk.S: Remove file.
78818         * sysdeps/unix/i386/dl-brk.S: Likewise.
78819         * sysdeps/unix/i386/pipe.S: Likewise.
78820         * sysdeps/unix/i386/sigreturn.S: Likewise.
78821         * sysdeps/unix/i386/syscall.S: Likewise.
78822         * sysdeps/unix/i386/vfork.S: Likewise.
78823         * sysdeps/unix/i386/wait.S: Likewise.
78825         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78826         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78828         * configure.in (arm*-none*): Do not allow without
78829         --enable-hacker-mode.
78830         (netbsd*): Remove case setting base_os.
78831         (386bsd*): Likewise.
78832         (freebsd*): Likewise.
78833         (bsdi*): Likewise.
78834         (osf*): Likewise.
78835         (sunos*): Likewise.
78836         (ultrix*): Likewise.
78837         (newsos*): Likewise.
78838         (dynix*): Likewise.
78839         (*bsd*): Likewise.
78840         (sysv*): Likewise.
78841         (isc*): Likewise.
78842         (esix*): Likewise.
78843         (sco*): Likewise.
78844         (minix*): Likewise.
78845         (irix4*): Likewise.
78846         (irix6*): Likewise.
78847         (solaris[2-9]*): Likewise.
78848         (none): Likewise.
78849         * configure: Regenerated.
78851 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78853         [BZ #11521]
78854         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78855         overflow or cancellation in calculating denominator.
78856         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78858         down expression to avoid unexpected rounding in newer GCCs.
78859         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78861 2012-04-26  David S. Miller  <davem@davemloft.net>
78863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78864         long-double compat symbols.
78865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78879 2012-04-25  David S. Miller  <davem@davemloft.net>
78881         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78882         HWCAP_* values only after the memory barriers have been defined.
78883         (atomic_full_barrier): Define.
78884         (atomic_read_barrier): Define.
78885         (atomic_write_barrier): Define.
78887 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78889         * shlib-versions: Add libgcc_s version information.
78890         * sysdeps/generic/libgcc_s.h: Remove.
78891         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78892         libgcc_s.h.
78893         * sysdeps/gnu/unwind-resume.c: Likewise.
78894         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78896 2012-04-25  David S. Miller  <davem@davemloft.net>
78898         * sysdeps/unix/sparc/brk.S: Delete.
78899         * sysdeps/unix/sparc/dl-brk.S: Delete.
78900         * sysdeps/unix/sparc/pipe.S: Delete.
78901         * sysdeps/unix/sparc/sysdep.S: Delete.
78902         * sysdeps/unix/sparc/sysdep.h: Delete.
78903         * sysdeps/unix/sparc/vfork.S: Delete.
78904         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78905         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78907         (ret_ERRVAL, r0, r1, MOVE): Define.
78908         (JUMPTARGET): Remove.
78909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78910         sysdeps/unix/sparc/sysdep.h
78911         (ENTRY, END): Remove.
78912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78914 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78916         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78917         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78918         -DIS_IN_build.
78920         * timezone/README: Update upstream location and email address for
78921         tzcode and tzdata.
78922         * timezone/zdump.c: Update from tzcode 2012b.
78923         * timezone/zic.c: Likewise.
78925         * configure.in (libc_cv_as_needed): Remove test.
78926         * configure: Regenerated.
78927         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78928         conditional definition.
78929         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78930         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78931         * config.make.in (have-as-needed): Remove variable.
78933 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78934             Paul Pluzhnikov  <ppluzhnikov@google.com>
78936         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78937         strings correctly.
78939 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78941         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78942         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78943         * sysdeps/sh/strlen.S: Likewise.
78945 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78947         * sysdeps/unix/fork.S: Remove file.
78948         * sysdeps/unix/i386/fork.S: Likewise.
78949         * sysdeps/unix/sparc/fork.S: Likewise.
78951         * sysdeps/unix/system.c: Remove file.
78952         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78954         * sysdeps/unix/getegid.S: Remove file.
78955         * sysdeps/unix/geteuid.S: Likewise.
78957 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78959         * scripts/check-localplt.awk: New file.
78960         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78961         of diff.
78962         * scripts/data/localplt-generic.data: Add a comment.
78964         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78965         NODE when __dir_mkfile failed.
78966         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78967         Reported by Ludovic Courtès <ludo@gnu.org>.
78969 2012-04-24  Andreas Jaeger  <aj@suse.de>
78971         * Makerules (common-clean): Also remove gen-as-const-headers
78972         files.
78974 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78976         * Makerules (native-compile): Do not change working directory for
78977         build.  Use $(OUTPUT_OPTION) in command.
78978         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78980 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78982         [BZ #13886]
78983         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78984         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78985         * math/libm-test.inc (floor_test): Add more tests.
78986         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78988 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78990         * sysdeps/unix/getdents.c: Remove file.
78991         * sysdeps/unix/sysv/getdents.c: Likewise.
78992         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78994         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78995         sysdeps/unix/mman/syscalls.list.
78996         (mmap): Likewise.
78997         (mprotect): Likewise.
78998         (msync): Likewise.
78999         (munmap): Likewise.
79000         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79001         * sysdeps/unix/mman/syscalls.list: Remove.
79002         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79004         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79005         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79006         * configure: Regenerated.
79007         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79008         $(libgcc_s_suffix).
79009         * config.make.in (libgcc_s_suffix): Remove variable.
79011 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79013         * sysdeps/unix/sysv/gethostname.c: Move to ...
79014         * sysdeps/posix/gethostname.c: ... here.
79016         * sysdeps/unix/execve.S: Remove file.
79018         * sysdeps/unix/_exit.S: Remove file.
79020 2012-04-23  Andreas Jaeger  <aj@suse.de>
79022         [BZ #13739]
79023         * manual/Makefile: Remove make dist support, there's no
79024         need for a stand-alone documentation tar ball.
79025         (TEXI2DVI): Define always, it's not in Makeconfig.
79026         (dist): Removed.
79027         (tar-it): Removed.
79028         (edition): Removed.
79029         (glibc-doc-$(edition).tar): Removed
79030         (%.Z): Removed.
79031         (%.gz): Removed.
79032         (%.uu): Removed.
79033         (ETAGS): Remove, it's in Makeconfig.
79034         (move-if-change): Remove, it's in Makeconfig.
79036 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79038         [BZ #13970]
79039         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79040         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79041         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79042         (strtod_l, strtof_l, strtold_l): Remove __wur.
79043         It is not necessarily an error to ignore strtol's return value.
79044         One can reliably look at the stored endptr to decide whether
79045         the number had valid syntax.
79047 2012-04-21  Andreas Jaeger  <aj@suse.de>
79049         [BZ #13739]
79050         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79052 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79054         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79055         * sysdeps/unix/sysv/Versions: Remove file.
79057 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79059         [BZ #13927]
79060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79062 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79064         [BZ #7064]
79065         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79066         version from __vm86.
79068 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79070         * sysdeps/unix/common/lxstat.c: Remove file.
79071         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79073         * sysdeps/unix/sysv/Makefile: Remove file.
79075         * sysdeps/unix/sysv/direct.h: Remove file.
79077         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79078         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79079         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79080         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79081         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79082         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79083         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79085         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79087         * sysdeps/unix/xmknod.c: Remove file.
79088         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79090         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79092         * sysdeps/unix/sysv/i386/time.S: Remove file.
79094         * sysdeps/unix/fxstat.c: Remove file.
79095         * sysdeps/unix/xstat.c: Likewise.
79096         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79098         * sysdeps/unix/sysv/sigaction.c: Remove file.
79100         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79101         (sysdep_headers): Remove variable.
79102         [termio.h not in sysdep_headers] (generated): Likewise.
79103         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79104         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79105         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79106         * sysdeps/unix/sysv/tcflow.c: Likewise.
79107         * sysdeps/unix/sysv/tcflush.c: Likewise.
79108         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79109         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79110         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79111         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79112         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79114         * sysdeps/unix/siglist.c: Remove file.
79116         * sysdeps/unix/getppid.S: Remove file.
79118         * sysdeps/unix/mkdir.c: Remove file.
79119         * sysdeps/unix/rmdir.c: Likewise.
79121 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79123         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79124         ERR_MAX value.
79125         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79126         errlist-compat value.
79128 2012-04-18  David S. Miller  <davem@davemloft.net>
79130         * sysdeps/generic/memcopy.h (reg_char): Delete.
79131         * debug/strcat_chk.c: Use char, not reg_char.
79132         * debug/strcpy_chk.c: Likewise.
79133         * debug/strncat_chk.c: Likewise.
79134         * debug/strncpy_chk.c: Likewise.
79135         * string/memchr.c: Likewise.
79136         * string/memrchr.c: Likewise.
79137         * string/rawmemchr.c: Likewise.
79138         * string/strcat.c: Likewise.
79139         * string/strchr.c: Likewise.
79140         * string/strchrnul.c: Likewise.
79141         * string/strcmp.c: Likewise.
79142         * string/strcpy.c: Likewise.
79143         * string/strncat.c: Likewise.
79144         * string/strncmp.c: Likewise.
79145         * string/strncpy.c: Likewise.
79147 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79149         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79150         __builtin_memcopy is called when src and dest ranges are known to not
79151         overlap.
79153 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79155         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79156         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79157         fwd_align_merge macro call.
79158         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79159         bwd_align_merge macro call.
79160         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79162 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79164         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79165         bwd_align_merge macros.
79166         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79167         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79168         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79170 2012-04-18  David S. Miller  <davem@davemloft.net>
79172         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79174 2012-04-18  Andreas Jaeger  <aj@suse.de>
79176         [BZ #6794]
79177         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79178         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79179         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79181         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79182         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79183         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79185         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79186         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79187         Adjust for changed ldbl-128 files.
79189         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79190         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79191         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79193 2012-04-17  David S. Miller  <davem@davemloft.net>
79195         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79197 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79199         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79200         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79201         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79202         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79203         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79204         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79206 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79208         [BZ #6794]
79209         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79210         * math/libm-test.inc: Add ilogb errno and exception tests.
79211         * math/w_ilogb.c: New file: ilogb wrapper.
79212         * math/w_ilogbf.c: New file: ilogbf wrapper.
79213         * math/w_ilogbl.c: New file: ilogbl wrapper.
79214         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79215         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79216         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79217         exception being thrown with 0.0 as argument.
79218         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79219         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79220         exception being thrown with 0.0 as argument.
79221         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79222         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79223         exception being thrown with 0.0 as argument.
79224         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79225         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79226         exception being thrown with 0.0 as argument.
79227         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79228         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79229         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79230         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79231         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79232         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79233         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79234         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79235         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79237 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79239         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79240         with altivec.
79242 2012-04-16  Marek Polacek  <polacek@redhat.com>
79244         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79246 2012-04-16  Marek Polacek  <polacek@redhat.com>
79248         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79249         operands of fdivp instruction.
79251 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79253         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79254         * elf/tst-auditmod3b.c: Likewise.
79255         * elf/tst-auditmod4b.c: Likewise.
79256         * elf/tst-auditmod5b.c: Likewise.
79257         * elf/tst-auditmod6b.c: Likewise.
79258         * elf/tst-auditmod6c.c: Likewise.
79259         * elf/tst-auditmod7b.c: Likewise.
79260         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79261         * sysdeps/x86_64/preconfigure.in: Likewise.
79262         * sysdeps/x86_64/preconfigure: Regenerated.
79264 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79266         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79267         __ILP32__.
79269 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79271         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79272         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79274 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79276         [BZ #13973]
79277         * locale/iso-639.def: Fix gl language name. Spotted by
79278         Yaron Shahrabani.
79280 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79282         [BZ #2074]
79283         * libio/libio.h (__io_write_fn): Update comment.
79285 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79287         [BZ #2074]
79288         * stdio.texi (Hook Functions): The user provided writer function
79289         is not allowed to return -1.
79291 2012-04-11  David S. Miller  <davem@davemloft.net>
79293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79295 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79297         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79298         Add a leading slash to rtkaio.
79300 2012-04-11  Jim Meyering  <meyering@redhat.com>
79302         [BZ #11959]
79303         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79304         It is not necessarily an error to ignore fwrite's return
79305         value.  One can reliably use ferror to test for errors after
79306         the fact.
79308 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79310         * bits/types.h (__snseconds_t): New type.
79311         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79313         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79315         (__SNSECONDS_T_TYPE): Likewise.
79316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79317         (__SNSECONDS_T_TYPE): Likewise.
79318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79319         (__SNSECONDS_T_TYPE): Likewise.
79321 2012-04-10  Andreas Jaeger  <aj@suse.de>
79323         [BZ #2636]
79324         * manual/time.texi (Processor Time): Return type of times is
79325         elapsed real time since an arbitrary point in the past.
79326         (CPU Time): Move CLK_TCK from here...
79327         (Processor Time): ...to here.  Correct description.
79328         * manual/conf.texi (Constants for Sysconf): Correct description of
79329         _SC_CLK_TCK.
79331 2012-04-10  David S. Miller  <davem@davemloft.net>
79333         [BZ #13967]
79334         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79335         where the is a gap between DT_REL(A) and DT_JMPREL.
79337 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79339         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79340         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79341         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79343 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79345         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79346         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79347         (dl_main): Handle --inhibit-cache.
79348         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79349         _dl_inhibit_cache.
79350         * elf/dl-load.c (_dl_map_object): Use it.
79351         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79353 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79355         [BZ #13872]
79356         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79357         (__ieee754_powl): Saturate large exponents rather than testing for
79358         overflow of y*log2(x).
79359         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79360         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79361         exceptions.
79363         [BZ #11521]
79364         * math/s_ctan.c: Include <float.h>.
79365         (__ctan): Avoid internal overflow or cancellation in calculating
79366         denominator.
79367         * math/s_ctanf.c: Likewise.
79368         * math/s_ctanl.c: Likewise.
79369         * math/s_ctanh.c: Likewise.
79370         * math/s_ctanhf.c: Likewise.
79371         * math/s_ctanhl.c: Likewise.
79372         * math/libm-test.inc (ctan_test): Add more tests.
79373         (ctanh_test): Likewise.
79374         * sysdeps/i386/fpu/libm-test-ulps: Update.
79375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79377 2012-04-09  Andreas Jaeger  <aj@suse.de>
79379         [BZ #6894]
79380         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79381         is an optional BSD extension.
79383         [BZ #10254]
79384         * manual/stdio.texi (Opening Streams): Document additional fopen
79385         parameters.
79387 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79389         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79390         %eax without telling the compiler.
79392 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79394         [BZ # 13963]
79395         * manual/install.texi: Use sourceware.org.
79397 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79399         [BZ #13873]
79400         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79401         (__ieee754_pow): Generate overflow and underflow using huge*huge
79402         and tiny*tiny rather than just returning constant infinity or zero
79403         for large exponents.
79404         * math/libm-test.inc (pow_test): Require overflow exceptions for
79405         applicable cases of large exponents.
79407         [BZ #706]
79408         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79409         (__ieee754_pow): Use iterative multiplication algorithm only for
79410         integer exponents with absolute value below 1024.  Check for odd
79411         integer exponents when using algorithm for real exponents.
79412         * math/libm-test.inc (pow_test): Add more tests.
79413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79415 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79417         [BZ #13705]
79418         * math/libm-test.inc (exp_test): Do not allow overflow exception
79419         on underflow test.
79421 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79423         [BZ #13705]
79424         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79425         instead of __kernel_standard_f.
79427 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79429         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79430         * sysdeps/x86_64/memset_chk.S: Likewise.
79432 2012-04-08  Andreas Jaeger  <aj@suse.de>
79434         [BZ #10153]
79435         * manual/startup.texi (Environment Access): Describe return value
79436         for putenv and setenv.
79438         [BZ #6895]
79439         * manual/filesys.texi (Directory Entries): Add description for
79440         DT_LNK.
79442         [BZ #6890]
79443         * manual/filesys.texi (Directory Entries): Clarify that it's file
79444         system not operating system in the description of DT_UNKNOWN.
79446         [BZ #6578]
79447         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79449 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79451         [BZ #6649]
79452         * manual/llio.texi (Opening and Closing Files): Add cross
79453         reference to explain mode argument.
79455 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79457         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79458         * sysdeps/x86_64/memset_chk.S: Likewise.
79460 2012-04-07  David S. Miller  <davem@davemloft.net>
79462         * elf/elf.h (R_SPARC_WDISP10): Define.
79463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79464         R_SPARC_SIZE32.
79465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79466         R_SPARC_SIZE64 and R_SPARC_H34.
79468 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79470         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79471         conditions and remove no longer applicable assertion.
79473 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79475         * bits/byteswap.h: Include <features.h>.
79476         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79477         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79479 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79481         * bits/byteswap.h (__bswap_16): Removed.
79482         Include <bits/byteswap-16.h> to get __bswap_16.
79483         * sysdeps/i386/bits/byteswap.h: Likewise.
79484         * sysdeps/s390/bits/byteswap.h: Likewise.
79485         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79486         * bits/byteswap-16.h: New file.
79487         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79488         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79489         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79490         * string/Makefile (headers): Add bits/byteswap-16.h.
79492 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79494         [BZ #13895]
79495         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79496         extra indirection.
79497         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79498         * nss/tst-nss-static.c: New.
79500 2012-04-06  Robert Millan  <rmh@gnu.org>
79502         [BZ #6486]
79503         * manual/llio.texi (File Position Primitive): lseek
79504         refers to WHENCE when it really means OFFSET.
79506 2012-04-06  Andreas Jaeger  <aj@suse.de>
79508         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79509         strncmp declarations.
79511         * abilist/libc.abilist: Add __poll and __ppoll.
79513 2012-04-05  David S. Miller  <davem@davemloft.net>
79515         * scripts/check-local-headers.sh: Accept a host triplet in the
79516         path matched by the exclude regexp.
79518         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79519         definition.
79520         * sysdeps/powerpc/powerpc32/dl-machine.h
79521         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79522         * sysdeps/s390/s390-32/dl-machine.h
79523         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79524         * sysdeps/sparc/sparc32/dl-machine.h
79525         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79526         * sysdeps/sparc/sparc64/dl-machine.h
79527         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79529         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79530         lazy binding.
79531         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79532         undefined symbol errors.
79534         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79535         DT_NEEDED entries.
79537 2012-04-05  Michael Matz  <matz@suse.de>
79539         [BZ #13592]
79540         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79542 2012-04-05  Andreas Jaeger  <aj@suse.de>
79544         [BZ #13908]
79545         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79546         comment.
79548 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79551         which ROUND is no valid rounding mode.
79553 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79555         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79556         read again.
79557         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79559 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79561         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79562         an exception using FPU order intentionally.
79564 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79566         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79567         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79568         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79569         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79571 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79573         [BZ #12340]
79574         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79575         EINVAL when BUFLEN is too smal.
79577 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79579         [BZ #13553]
79580         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79581         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79583 2012-04-03  Andreas Jaeger  <aj@suse.de>
79585         [BZ #13938]
79586         * manual/setjmp.texi (System V contexts): Fix sentence.
79588         [BZ #13926]
79589         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79590         New macro for this case.
79591         [!__GNUC__] (__bswap_64): New inline function for this case.
79592         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79593         * bits/byteswap.h: Likewise.
79594         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79595         ull, guard with __GLIBC_HAVE_LONG_LONG.
79597         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79598         __GLIBC_HAVE_LONG_LONG.
79600         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79601         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79603 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79605         [BZ #13691]
79606         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79607         inptr and inend, rather than using last_ch.
79609 2012-04-02  David S. Miller  <davem@davemloft.net>
79611         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79612         * stdio-common/printf-parse.h (read_int): Change return type to
79613         'int', return -1 on INT_MAX overflow.
79614         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79615         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79616         overflows INT_MAX.  Check for overflow of in-format-string precision
79617         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79618         SIZE_MAX not INT_MAX for integer overflow test.
79619         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79620         skip the construct in the format string but do not record anything.
79621         * stdio-common/bug22.c: Adjust to test both width/prevision
79622         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79623         explicitly for proper errno values.
79625 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79627         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79628         CHAR_MAX.
79629         * string/test-strcmp.c [! WIDE]: Likewise.
79630         * time/tst-mktime2.c: Likewise for INT_MAX.
79631         * string/test-string.h: #include <sys/param.h> for MIN.
79633         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79634         * sysdeps/i386/init-first.c (init): Likewise.
79635         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79636         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79637         * sysdeps/sh/init-first.c (init): Likewise.
79639 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79641         * po/ru.po: Update from translation team.
79642         * po/vi.po: Likewise.
79644 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79646         * resolv/nss_dns/dns-host.c: Merge copyright years.
79648 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79650         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79651         Optimize memcpy with prefetch if
79652         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79653         src, dst pointers have unequal 16 byte alignments.
79655 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79657         [BZ #13928]
79658         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79659         from a CNAME entry and return the minimum ttl for the query.
79660         (gaih_getanswer_slice): Likewise.
79662 2012-03-30  Jeff Law  <law@redhat.com>
79664         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79665         due to long keys.
79666         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79667         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79669         * resolv/nss_dns/dns-host.c: Update copyright year.
79671 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79673         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79674         requests to save a system call.  Fix check that all bytes are sent.
79676         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79677         comments for sendmmsg.
79679 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79681         [BZ #13691]
79682         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79683         with only 1 character between 0x0041 and 0x01b0.
79684         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79685         * wcsmbs/tst-mbsnrtowcs.c: New file.
79687 2012-03-29  David S. Miller  <davem@davemloft.net>
79689         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79690         small copies by hand.
79692 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79694         [BZ #13761]
79695         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79696         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79697         group memberships.
79699 2012-03-28  David S. Miller  <davem@davemloft.net>
79701         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79702         that branches into memcpy.
79703         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79706         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79708         bits.
79709         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79710         implementation too.
79711         * sysdeps/sparc/mempcpy.S: New file.
79713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79714         the IFUNC routine in the libc case.
79715         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79717         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79718         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79719         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79720         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79721         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79722         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79723         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79724         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79726         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79727         loop to 256 bytes instead of 64 bytes and fix test signedness.
79729         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79730         * sysdeps/sparc/sparc32/Makefile: rather than here...
79731         * sysdeps/sparc/sparc64/Makefile: and here.
79733 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79735         * malloc/mallocbug.c: Avoid warnings about unused variables.
79737 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79739         [BZ #13760]
79740         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79741         in the right place. Discard and retry query if response is
79742         larger than input buffer size.
79744 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79746         [BZ #369]
79747         [BZ #2678]
79748         [BZ #3866]
79749         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79750         x for large integer exponent.
79751         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79752         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79753         sign of result as needed afterwards.
79754         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79755         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79756         result for underflowing pow the same as for overflow.
79757         (__kernel_standard_l): Handle powl overflow and underflow here
79758         rather than calling __kernel_standard.
79759         * math/libm-test.inc (pow_test): Add more tests.
79761         [BZ #3868]
79762         [BZ #13879]
79763         [BZ #13910]
79764         [BZ #13911]
79765         [BZ #13912]
79766         [BZ #13913]
79767         [BZ #13915]
79768         [BZ #13916]
79769         [BZ #13917]
79770         [BZ #13918]
79771         [BZ #13919]
79772         [BZ #13920]
79773         [BZ #13921]
79774         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79775         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79776         (__kernel_standard_l): New function.
79777         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79778         __kernel_standard.
79779         * math/w_acosl.c (__acosl): Likewise.
79780         * math/w_asinl.c (__asinl): Likewise.
79781         * math/w_atan2l.c (__atan2l): Likewise.
79782         * math/w_atanhl.c (__atanhl): Likewise.
79783         * math/w_coshl.c (__coshl): Likewise.
79784         * math/w_exp10l.c (__exp10l): Likewise.
79785         * math/w_exp2l.c (__exp2l): Likewise.
79786         * math/w_fmodl.c (__fmodl): Likewise.
79787         * math/w_hypotl.c (__hypotl): Likewise.
79788         * math/w_j0l.c (__j0l, __y0l): Likewise.
79789         * math/w_j1l.c (__j1l, __y1l): Likewise.
79790         * math/w_jnl.c (__jnl, __ynl): Likewise.
79791         * math/w_lgammal.c (__lgammal): Likewise.
79792         * math/w_log10l.c (__log10l): Likewise.
79793         * math/w_log2l.c (__log2l): Likewise.
79794         * math/w_logl.c (__logl): Likewise.
79795         * math/w_powl.c (__powl): Likewise.
79796         * math/w_remainderl.c (__remainderl): Likewise.
79797         * math/w_scalbl.c (sysv_scalbl): Likewise.
79798         * math/w_sinhl.c (__sinhl): Likewise.
79799         * math/w_sqrtl.c (__sqrtl): Likewise.
79800         * math/w_tgammal.c (__tgammal): Likewise.
79801         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79802         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79803         * math/libm-test.inc (acos_test): Add more tests.
79804         (acosh_test): Likewise.
79805         (asin_test): Likewise.
79806         (atanh_test): Likewise.
79807         (exp_test): Likewise.
79808         (exp10_test): Likewise.
79809         (exp2_test): Likewise.
79810         (expm1_test): Likewise.
79811         (lgamma_test): Likewise.
79812         (log_test): Likewise.
79813         (log10_test): Likewise.
79814         (log1p_test): Likewise.
79815         (log2_test): Likewise.
79816         (pow_test): Do not allow some spurious overflow exceptions.
79817         (sqrt_test): Add more tests.
79818         (tgamma_test): Likewise.
79819         (y0_test): Likewise.
79820         (y1_test): Likewise.
79821         (yn_test): Likewise.
79823 2012-03-27  Anton Blanchard  <anton@samba.org>
79825         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79826         MAP_HUGETLB.
79827         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79828         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79829         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79831 2012-03-27  David S. Miller  <davem@davemloft.net>
79833         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79835         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79836         have-as-vis3 check.
79838 2012-03-27  Andreas Jaeger  <aj@suse.de>
79840         * sysdeps/x86_64/elf/configure.in: Moved to ...
79841         * sysdeps/x86_64/configure.in: ... here.
79842         * sysdeps/x86_64/elf/start.S: Moved to ...
79843         * sysdeps/x86_64/start.S: ... here.
79844         * sysdeps/x86_64/elf/configure: Delete.
79846         * sysdeps/x86_64/configure.in: Merge contents from
79847         sysdeps/i386/configure.in (without i686 check).
79849         * sysdeps/i386/elf/Versions: Merge into ...
79850         * sysdeps/i386/Versions: ... this.
79851         * sysdeps/i386/elf/Versions: Delete file.
79852         * sysdeps/i386/elf/start.S: Moved to ...
79853         * sysdeps/i386/start.S: ...here.
79854         * sysdeps/i386/elf/configure.in: Merge into...
79855         * sysdeps/i386/configure.in: ...here.
79856         * sysdeps/i386/elf/configure.in: Delete file.
79857         * sysdeps/i386/elf/configure: Delete file.
79859         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79860         * debug/backtracesyms.c: ... here.
79861         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79862         * debug/backtracesymsfd.c: ... here.
79863         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79864         * sysdeps/generic/ifunc-sel.h: ... here.
79866         * sysdeps/unix/i386/start.c: Delete file.
79867         * sysdeps/unix/sparc/start.c: Delete file.
79868         * sysdeps/unix/start.c: Delete file.
79870         * sysdeps/sh/elf/configure.in: Moved to ...
79871         * sysdeps/sh/configure.in: ... here.
79872         * sysdeps/sh/elf/start.S: Moved to ...
79873         * sysdeps/sh/start.S: ... here.
79874         * sysdeps/sh/elf/configure: Delete file.
79876         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79877         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79878         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79879         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79880         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79881         * sysdeps/powerpc/powerpc64/start.S: here.
79882         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79883         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79884         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79885         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79886         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79888         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79889         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79890         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79891         * sysdeps/powerpc/powerpc32/start.S: ... here.
79892         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79893         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79894         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79896         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79897         * sysdeps/powerpc/ifunc-sel.h: ... here.
79898         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79899         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79901         * sysdeps/sparc/elf/configure.in: Moved to ...
79902         * sysdeps/sparc/configure.in: ... here.
79903         * sysdeps/sparc/elf/configure: Delete file.
79904         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79905         * sysdeps/sparc/sparc32/start.S: ... here.
79906         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79907         * sysdeps/sparc/sparc64/start.S: ... here.
79908         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79909         * sysdeps/sparc/sparc32/Makefile: ... this.
79910         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79911         * sysdeps/sparc/sparc64/Makefile: ... this.
79913         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79914         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79915         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79916         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79917         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79918         * sysdeps/s390/s390-32/setjmp.S: ... here.
79919         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79920         * sysdeps/s390/s390-32/configure.in: ... here.
79921         * sysdeps/s390/s390-32/elf/configure: Delete file.
79922         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79923         * sysdeps/s390/s390-32/start.S: ... here.
79925         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79926         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79927         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79928         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79929         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79930         * sysdeps/s390/s390-64/setjmp.S: ... here.
79931         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79932         * sysdeps/s390/s390-64/configure.in: ... here
79933         * sysdeps/s390/s390-64/elf/configure: Delete file.
79934         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79935         * sysdeps/s390/s390-64/start.S: ... here.
79936         * sysdeps/s390/s390-64/elf/configure: Delete.
79938         * configure.in: Remove support for elf directories in sysdeps.
79940         * configure: Regenerated.
79941         * sysdeps/i386/configure: Regenerated.
79942         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79943         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79944         * sysdeps/s390/s390-32/configure: Regenerated.
79945         * sysdeps/s390/s390-64/configure: Regenerated.
79946         * sysdeps/sh/configure: Regenerated.
79947         * sysdeps/sparc/configure: Regenerated.
79948         * sysdeps/x86_64/configure: Regenerated.
79950 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79954         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79955         denormal result into account.
79957 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79959         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79960         Reported by Allan McRae <allan@archlinux.org>.
79962 2012-03-23  Jeff Law  <law@redhat.com>
79964         * nss/getnssent.c (__nss_getent): Fix typo.
79966 2012-03-23  David S. Miller  <davem@davemloft.net>
79968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79970 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79972         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79973         to pad to uint64_t for each field.
79974         (dl_tls_index): Replace unsigned long with uint64_t.
79976 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79977         Paul Pluzhnikov  <ppluzhnikov@google.com>
79979         [BZ #6528]
79980         * grp/Makefile (otherlibs): Don't set it.
79981         * inet/Makefile (otherlibs): Likewise.
79982         * login/Makefile (otherlibs): Likewise.
79983         * nscd/Makefile (otherlibs): Likewise.
79984         * posix/Makefile (otherlibs): Likewise.
79985         * pwd/Makefile (otherlibs): Likewise.
79986         * rt/Makefile (otherlibs): Likewise.
79987         * sunrpc/Makefile (otherlibs): Likewise.
79988         * nss/Makefile (otherlibs): Likewise.
79989         Add libnss_files to routines and static-only-routines.
79990         ($(objpfx)getent): Remove rule.
79991         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79992         static-only-routines.
79994 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79996         [BZ #13892]
79997         * math/s_cexp.c: Include <float.h>.
79998         (__cexp): Handle exp result overflowing not necessarily
79999         overflowing both real and imaginary parts of result.
80000         * math/s_cexpf.c: Likewise.
80001         * math/s_cexpl.c: Likewise.
80002         * math/libm-test.inc (cexp_test): Add more tests.
80003         * sysdeps/i386/fpu/libm-test-ulps: Update.
80004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80006 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80008         * include/link.h (ELFW): New macro.
80009         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80010         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80012 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80014         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80015         with uint64_t.
80017 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80019         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80020         declaration.
80021         (struct La_x32_retval): Likewise.
80023 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80025         * sysdeps/x86_64/preconfigure.in: New file.
80026         * sysdeps/x86_64/preconfigure: New generated file.
80028 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80030         [BZ #13824]
80031         * math/e_exp2l.c: Include <float.h>.
80032         (__ieee754_exp2l): Handle overflow and underflow cases
80033         separately.  Only pass fractional part of argument to
80034         __ieee754_expl.
80035         * math/libm-test.inc (exp2_test): Add more tests.
80037         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80038         negating x to take absolute value.
80039         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80040         Likewise.
80041         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80042         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80043         Likewise.
80044         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80045         computing low part if x was negated.
80046         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80048 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80050         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80051         la_x32_gnu_pltexit.
80052         (pltexit): Cast int_retval to ptrdiff_t.
80053         * elf/tst-auditmod3b.c: Likewise.
80054         * elf/tst-auditmod4b.c: Likewise.
80055         * elf/tst-auditmod5b.c: Likewise.
80056         * elf/tst-auditmod6b.c: Likewise.
80057         * elf/tst-auditmod6c.c: Likewise.
80058         * elf/tst-auditmod7b.c: Likewise.
80060         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80061         and x32_gnu_pltexit.
80063         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80064         __ELF_NATIVE_CLASS.
80065         (La_x32_regs): New macro.
80066         (La_x32_retval): Likewise.
80067         (la_x32_gnu_pltenter): New function prototype.
80068         (la_x32_gnu_pltexit): Likewise.
80070 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80072         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80073         exponent.
80075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80077         * configure.in (libc_cv_cc_nofma): Check for option to disable
80078         generation of FMA instructions.
80079         * configure: Regenerate.
80080         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80081         * sysdeps/ieee754/dbl-64/Makefile: New file.
80082         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80083         Remove brandred-fma4.
80084         (CFLAGS-brandred-fma4.c): Remove.
80085         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80086         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80087         define.
80088         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80089         define.
80091 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80093         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80094         LLONG_MAX != LONG_MAX.
80095         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80096         (_fitoa_word): Likewise.
80097         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80098         LLONG_MAX != LONG_MAX.
80099         * stdio-common/_itowa.h: Include <_itoa.h>.
80100         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80101         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80102         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80103         only if not defined.
80104         (_ITOA_WORD_TYPE): Likewise.
80105         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80106         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80108 2012-03-21  David S. Miller  <davem@davemloft.net>
80110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80112 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80114         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80115         of x86_64 when setting libc_cv_slibdir, libdir and
80116         libc_cv_localedir.
80117         * sysdeps/unix/sysv/linux/configure: Regenerated.
80119 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80121         * manual/lang.texi (Old Varargs): Remove section.
80122         (How Variadic): Update menu.
80123         (va_start): Do not mention varargs.h.
80125 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80126             Joseph Myers  <joseph@codesourcery.com>
80128         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80129         link test.
80130         * configure: Regenerated.
80132 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80134         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80135         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80136         conformtest.pl
80138 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80140         * NOTES: Remove.
80141         * Makefile (files-for-dist): Remove NOTES.
80142         (NOTES): Remove rule.
80143         * README: Don't refer to NOTES.
80144         * manual/creature.texi: Don't include macros.texi.
80145         * manual/intro.texi (creature.texi): Remove comment referring to
80146         NOTES.
80148         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80149         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80150         * configure: Regenerated.
80151         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80152         LIBC_TRY_CC_OPTION.
80153         (libc_cv_as_i686): Likewise.
80154         (libc_cv_cc_avx): Likewise.
80155         (libc_cv_cc_sse2avx): Likewise.
80156         (libc_cv_cc_fma4): Likewise.
80157         (libc_cv_cc_novzeroupper): Likewise.
80158         * sysdeps/i386/configure: Regenerated.
80160         [BZ #13883]
80161         * sysdeps/i386/fpu/s_cexp.S: Remove.
80162         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80163         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80164         * math/libm-test.inc (cexp_test): Add more tests.
80165         * sysdeps/i386/fpu/libm-test-ulps: Update.
80166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80168 2012-03-21  Allan McRae  <allan@archlinux.org>
80170         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80172 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80174         [BZ #13871]
80175         * math/w_exp2.c: Do not include <float.h>.
80176         (o_threshold, u_threshold): Remove.
80177         (__exp2): Calculate result before checking finiteness and calling
80178         __kernel_standard.
80179         * math/w_exp2f.c: Likewise.
80180         * math/w_exp2l.c: Likewise.
80181         * math/libm-test.inc (exp2_test): Require overflow exception for
80182         1e6 input.
80184         [BZ #3866]
80185         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80186         range of signed 64-bit integers before using fistpll.  Remove
80187         checks for whether integers fit in mantissa bits.
80188         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80189         the range of signed 32-bit integers before using fistpl.  Remove
80190         checks for whether integers fit in mantissa bits.
80191         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80192         (__ieee754_powl): Test for y outside the range of signed 64-bit
80193         integers before using fistpll.  Reduce 64-bit values to 63-bit
80194         ones as needed.
80195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80196         divide-by-zero is raised for zero to large negative powers.
80197         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80198         (__ieee754_powl): Test for y outside the range of signed 64-bit
80199         integers before using fistpll.  Reduce 64-bit values to 63-bit
80200         ones as needed.
80201         * math/libm-test.inc (pow_test): Add more tests.
80203 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80205         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80206         <stdio-common/_itoa.h>.
80207         * debug/segfault.c: Likewise.
80208         * elf/dl-cache.c: Likewise.
80209         * elf/dl-minimal.c: Likewise.
80210         * elf/dl-misc.c: Likewise.
80211         * elf/dl-sysdep.c: Likewise.
80212         * elf/dl-version.c: Likewise.
80213         * elf/rtld.c: Likewise.
80214         * hurd/hurdsock.c: Likewise.
80215         * hurd/lookup-retry.c: Likewise.
80216         * malloc/malloc.c: Likewise.
80217         * malloc/mtrace.c: Likewise.
80218         * nscd/nscd_getgr_r.c: Likewise.
80219         * nscd/nscd_getpw_r.c: Likewise.
80220         * nscd/nscd_getserv_r.c: Likewise.
80221         * posix/getopt_init.c: Likewise.
80222         * posix/wordexp.c: Likewise.
80223         * stdio-common/_itoa.c: Likewise.
80224         * stdio-common/printf_fphex.c: Likewise.
80225         * stdio-common/vfprintf.c: Likewise.
80226         * string/_strerror.c: Likewise.
80227         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80228         * sysdeps/i386/i686/hp-timing.h: Likewise.
80229         * sysdeps/mach/_strerror.c: Likewise.
80230         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80231         * sysdeps/mach/hurd/sethostid.c: Likewise.
80232         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80233         * sysdeps/mach/xpg-strerror.c: Likewise.
80234         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80235         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80236         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80237         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80238         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80239         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80241         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80242         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80243         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80244         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80245         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80246         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80247         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80248         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80249         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80250         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80251         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80252         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80253         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80254         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80256         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80258         * stdio-common/_itoa.h: Moved to ...
80259         * sysdeps/generic/_itoa.h: Here.
80261         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80263         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80264         instead of "_itoa.h" and "_itowa.h".
80265         * stdio-common/vfprintf.: Likewise.
80267 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80269         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80270         <bits/wordsize.h>.
80271         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80272         (__signbit): Likewise.
80273         (llrintf): Likewise.
80274         (llrint): Likewise.
80276 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80278         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80279         __WORDSIZE != 64.
80281 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80283         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80284         OVERFLOW_EXCEPTION_OK.
80285         * math/libm-test.inc ("Philosophy"): Update comment about
80286         exception testing.
80287         (OVERFLOW_EXCEPTION): Define.
80288         (OVERFLOW_EXCEPTION_OK): Likewise.
80289         (INVALID_EXCEPTION_OK): Renumber.
80290         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80291         (IGNORE_ZERO_INF_SIGN): Likewise.
80292         (test_exceptions): Handle FE_OVERFLOW.
80293         (exp10_test): Expect overflow exceptions.
80294         (exp2_test): Likewise.
80295         (expm1_test): Likewise.
80296         (nextafter_test): Likewise.
80297         (pow_test): Likewise.
80298         (scalbn_test): Likewise.
80299         (scalbln_test): Likewise.
80301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80303         * sysdeps/x86_64/bits/atomic.h
80304         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80305         64bit integer.
80306         (atomic_exchange_acq): Likewise.
80307         (__arch_exchange_and_add_body): Likewise.
80308         (__arch_add_body): Likewise.
80309         (atomic_add_negative): Likewise.
80310         (atomic_add_zero): Likewise.
80312 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80314         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80315         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80317 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80319         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80320         Check __x86_64__ instead of __WORDSIZE.
80322 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80324         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80326 2012-03-19  David S. Miller  <davem@davemloft.net>
80328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80330         * sysdeps/sparc/fpu/fenv_private.h: New file.
80331         * sysdeps/sparc/fpu/math_private.h: Use it.
80332         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80333         Remove.
80334         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80335         (libc_feholdexcept_setroundl): Remove.
80336         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80337         Remove.
80338         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80339         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80343         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80344         int64_t instead of long int.
80345         (INSERT_WORDS64): Likewise.
80347 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80349         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80350         _Unwind_GetCFA return to _Unwind_Ptr first.
80352 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80354         [BZ #13629]
80355         * math/s_clog.c: Include <float.h>.
80356         (__clog): Scale large or subnormal inputs.
80357         * math/s_clogf.c: Likewise.
80358         * math/s_clogl.c: Likewise.
80359         * math/s_clog10.c: Include <float.h>.
80360         (M_LOG10_2): Define.
80361         (__clog10): Scale large or subnormal inputs.
80362         * math/s_clog10f.c: Likewise.
80363         * math/s_clog10l.c: Likewise.
80364         * math/libm-test.inc (clog_test): Add more tests.
80365         (clog10_test): Likewise.
80366         * sysdeps/i386/fpu/libm-test-ulps: Update.
80367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80369         [BZ #11451]
80370         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80371         x and y.
80372         * math/libm-test.inc (atan2_test): Add another test.
80374         * Makerules (common-objdir-compile): Remove.
80375         * sysdeps/unix/Makefile (config-generated): Do not add
80376         $(unix-generated) to variable.
80377         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80378         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80379         Remove rule.
80380         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80381         Likewise.
80382         [generic bits/local_lim.h] (before-compile): Do not append to
80383         variable.
80384         [generic bits/local_lim.h] (common-generated): Likewise.
80385         [generic sys/param.h] (before-compile): Do not append to variable.
80386         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80387         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80388         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80389         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80390         include.
80391         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80392         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80393         [generic sys/param.h] ($(addprefix
80394         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80395         [generic sys/param.h] (common-generated): Do not append to
80396         variable.
80397         [generic sys/param.h] (sysdep_headers): Likewise.
80398         [generic bits/errno.h] (before-compile): Do not append to
80399         variable.
80400         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80401         rule.
80402         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80403         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80404         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80405         [generic bits/errno.h] (common-generated): Do not append to
80406         variable.
80407         [generic bits/ioctls.h] (before-compile): Do not append to
80408         variable.
80409         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80410         rule.
80411         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80412         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80413         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80414         rule.
80415         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80416         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80417         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80418         [generic bits/ioctls.h] (common-generated): Do not append to
80419         variable.
80420         [generic sys/syscall.h] (syscall.h): Remove variable.
80421         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80422         rule.
80423         [generic sys/syscall.h] (before-compile): Do not append to
80424         variable.
80425         [generic sys/syscall.h] (common-generated): Likewise.
80426         * sysdeps/unix/errnos-tmpl.c: Remove file.
80427         * sysdeps/unix/errnos.awk: Likewise.
80428         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80429         * sysdeps/unix/ioctls.awk: Likewise.
80430         * sysdeps/unix/mk-local_lim.c: Likewise.
80431         * sysdeps/unix/snarf-ioctls: Likewise.
80433 2012-03-19  Richard Henderson  <rth@twiddle.net>
80435         * sysdeps/i386/fpu/fenv_private.h: New file.
80436         * sysdeps/i386/fpu/math_private.h: Use it.
80437         (math_opt_barrier, math_force_eval): Remove.
80438         (libc_feholdexcept_setround_53bit): Remove.
80439         (libc_feupdateenv_53bit): Remove.
80440         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80441         (math_opt_barrier, math_force_eval): Remove.
80442         (libc_feholdexcept): Remove.
80443         (libc_feholdexcept_setround): Remove.
80444         (libc_fetestexcept, libc_fesetenv): Remove.
80445         (libc_feupdateenv_test): Remove.
80446         (libc_feupdateenv, libc_feholdsetround): Remove.
80447         (libc_feresetround): Remove.
80449         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80450         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80452         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80453         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80454         (libc_feupdateenv_testl): New.
80455         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80456         (libc_feupdateenv_testf): New.
80457         (libc_feupdateenv): Use libc_feupdateenv_test.
80458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80459         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80461         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80462         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80463         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80464         (libc_feresetround_noex): New.
80465         (libc_feresetround_noexf): New.
80466         (libc_feresetround_noexl): New.
80467         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80468         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80469         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80470         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80471         SET_RESTORE_ROUND.
80472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80474         (__cos): Likewise.
80475         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80476         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80477         SET_RESTORE_ROUND_NOEX.
80478         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80479         SET_RESTORE_ROUND_NOEXF.
80480         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80481         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80482         (libc_feholdsetroundf): New.
80483         (libc_feresetround, libc_feresetroundf): New.
80485         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80486         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80487         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80489         * sysdeps/generic/math_private.h: Include <fenv.h>.
80490         (default_libc_feholdexcept): New.
80491         (default_libc_feholdexcept_setround): New.
80492         (default_libc_fesetenv, default_libc_feupdateenv): New.
80493         (libc_feholdexcept): Only define if undefined.
80494         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80495         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80496         (libc_feholdexcept_setroundl): Likewise.
80497         (libc_feholdexcept_setround_53bit): Likewise.
80498         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80499         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80500         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80501         (libc_feupdateenv_53bit): Likewise.
80502         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80503         (libc_feholdexcept): Convert from macro to inline function.
80504         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80505         (libc_fesetenv, libc_feupdateenv): Likewise.
80507         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80508         not previously defined.
80509         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80510         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80511         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80512         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80513         * sysdeps/ieee754/flt-32/math_private.h: New file.
80514         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80515         math_private.h below SET_FLOAT_WORD.
80516         (__isnan, __isinf_ns, __finite): Remove.
80517         (__isnanf, __isinf_nsf, __finitef): Remove.
80519 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80523 2012-03-17  David S. Miller  <davem@davemloft.net>
80525         [BZ #6471]
80526         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80527         for 2.16.
80529 2012-03-16  David S. Miller  <davem@davemloft.net>
80531         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80532         warnings.
80534         [BZ #6471]
80535         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80536         properly.
80537         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80538         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80539         sysdep_routines when subdir is sysvipc.
80540         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80541         __getshmlba helper.
80543         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80545 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80547         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80548         [__LP64__].
80550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80552         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80553         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80554         (__lround): Renamed to ...
80555         (__llround): This.  Replace long int with long long int.
80556         Define lround functions as aliases of llround functions.
80557         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80559 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80561         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80562         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80563         adresses to uintptr_t.  Replace "long int" and "unsigned long
80564         int" with "greg_t" on va_arg.
80566 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80568         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80569         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80571         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80572         Move e_machine check before EI_CLASS check.  Handle x32
80573         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80574         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80575         SKIP_EM_IA_64 and include
80576         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80578         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80579         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80580         (add_system_dir): New macro.
80582         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80583         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80585 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80587         [BZ #2551]
80588         [BZ #2552]
80589         [BZ #2553]
80590         [BZ #2554]
80591         [BZ #2562]
80592         [BZ #2563]
80593         [BZ #2565]
80594         [BZ #2566]
80595         [BZ #2576]
80596         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80597         (y0): Likewise.
80598         * math/w_j0f.c (j0f): Likewise.
80599         (y0f): Likewise.
80600         * math/w_j0l.c (__j0l): Likewise.
80601         (__y0l): Likewise.
80602         * math/w_j1.c (j1): Likewise.
80603         (y1): Likewise.
80604         * math/w_j1f.c (j1f): Likewise.
80605         (y1f): Likewise.
80606         * math/w_j1l.c (__j1l): Likewise.
80607         (__y1l): Likewise.
80608         * math/w_jn.c (jn): Likewise.
80609         (yn): Likewise.
80610         * math/w_jnf.c (jnf): Likewise.
80611         (ynf): Likewise.
80612         * math/w_jnl.c (__jnl): Likewise.
80613         (__ynl): Likewise.
80614         * math/libm-test.inc (j0_test): Add more tests.
80615         (j1_test): Likewise.
80616         (jn_test): Likewise.  Add trailing semicolon to existing test.
80617         (y0_test): Likewise.
80618         (y1_test): Likewise.
80619         * sysdeps/i386/fpu/libm-test-ulps: Update.
80620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80622         [BZ #13851]
80623         [BZ #13854]
80624         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80625         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80626         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80627         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80628         (__tanl): Set errno for infinite argument.
80629         * sysdeps/i386/fpu/mptan.c: Remove.
80630         * sysdeps/i386/fpu/s_tan.S: Likewise.
80631         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80632         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80633         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80634         * math/libm-test.inc (tan_test): Add more tests and enable more
80635         tests for double and long double.
80636         * sysdeps/i386/fpu/libm-test-ulps: Update.
80637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80639 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80641         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80642         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80644 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80646         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80647         * configure.in: Use it for both main tree and add-ons.
80648         * configure: Regenerated.
80650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80652         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80654 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80656         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80657         in comment.
80659         [BZ #13851]
80660         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80661         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80662         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80663         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80664         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80665         infinite argument.
80666         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80668         != 0 for prec == 2.
80669         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80670         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80671         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80672         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80673         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80674         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80675         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80676         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80677         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80678         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80679         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80680         * math/libm-test.inc (cos_test): Add more tests and enable more
80681         tests for long double.
80682         (sin_test): Likewise.
80683         (sincos_test): Likewise.
80684         * sysdeps/i386/fpu/libm-test-ulps: Update.
80685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80687 2012-03-16  David S. Miller  <davem@davemloft.net>
80689         * sysdeps/sparc/fpu/math_private.h: New file.
80691 2012-03-15  David S. Miller  <davem@davemloft.net>
80693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80694         file.
80695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80697         file.
80698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80704         sysdep routines.
80705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80707         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80708         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80710         * sysdeps/sparc/sparc-ifunc.h: New file.
80711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80712         sparc-ifunc.h
80713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80715         Likewise.
80716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80717         Likewise.
80718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80722         Likewise.
80723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80728         Likewise.
80729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80730         Likewise.
80731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80738         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80749         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80750         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80752         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80754         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80756 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80758         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80759         scaling.
80760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80762 2012-03-15  Andreas Jaeger  <aj@suse.de>
80764         [BZ #13852]
80765         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80766         ieee754/flt-32 implementation for sin, cos and sincos.
80767         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80768         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80769         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80770         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80771         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80772         ieee754/flt-32 implementation for tan.
80774         * math/libm-test.inc (cos_test): Enable some large input tests for
80775         float as well
80776         (sin_test): Likewise.
80777         (sincos_test): Likewise.
80778         (tan_test): Add tests for large input.
80780         * sysdeps/i386/fpu/libm-test-ulps: Update.
80782 2012-03-15  Andreas Jaeger  <aj@suse.de>
80784         [BZ #13658]
80785         * math/libm-test.inc (cos_test): Add more test cases.
80786         (sin_test): Likewise.
80787         (sincos_test): Likewise.
80789 2012-03-15  Andreas Jaeger  <aj@suse.de>
80791         [BZ #13837]
80792         * math/libm-test.inc (cos_test): Add a test case for large input
80793         value.
80794         (sin_test): Likewise.
80795         (sincos_test): Likewise.
80797 2012-03-15  Andreas Jaeger  <aj@suse.de>
80798             Joseph Myers  <joseph@codesourcery.com>
80800         [BZ #13658]
80801         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80802         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80803         * sysdeps/i386/fpu/branred.c: Likewise.
80804         * sysdeps/i386/fpu/dosincos.c: Likewise.
80805         * sysdeps/i386/fpu/mpa.c: Likewise.
80806         * sysdeps/i386/fpu/s_cos.S: Likewise.
80807         * sysdeps/i386/fpu/s_sin.S: Likewise.
80808         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80809         * sysdeps/i386/fpu/sincos32.c: Likewise.
80811         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80812         Define.
80813         (libc_feupdateenv_53bit): Define.
80814         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80815         Define.
80816         (libc_feupdateenv_53bit): Define.
80818         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80819         53 bit (without extend i386 double precision).
80821         * math/libm-test.inc (sincos_test): Add tests for large input.
80822         (sin): Likewise.
80823         (cos): Likewise.
80825         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80827 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80831 2012-03-15  David S. Miller  <davem@davemloft.net>
80833         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80834         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80835         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80836         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80849         file.
80850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80852         file.
80853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80855         file.
80856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80858         file.
80859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80860         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80861         fmin/fmax sysdep routines.
80862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80864 2012-03-14  David S. Miller  <davem@davemloft.net>
80866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80871         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80873         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80887         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80888         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80889         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80890         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80891         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80892         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80893         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80895         routines.
80896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80897         file.
80898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80900         file.
80901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80903         file.
80904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80906         file.
80907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80909         file.
80910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80912         file.
80913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80914         file.
80915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80916         file.
80917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80918         file.
80919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80920         New file.
80921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80922         file.
80923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80924         file.
80925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80927         file.
80928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80930         file.
80931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80933         file.
80934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80936         VIS3 routines.
80938         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80939         New file.
80941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80943         * sysdeps/sparc/configure.in: New file.
80944         * sysdeps/sparc/configure: Generate.
80945         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80946         * configure: Regenerate.
80947         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80948         * config.make.in (have-as-vis3): New.
80949         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80950         available use -Av9d instead of -Av9a.
80951         * sysdeps/sparc/sparc64/Makefile: Likewise.
80952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80954         New file.
80955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80956         file.
80957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80958         New file.
80959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80960         file.
80961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80963         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80964         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80965         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80967         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80968         fzeros/fnegs to load 0x80000000 into a float register instead of
80969         using the stack.
80970         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80972 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80975         bits/syscall.h.
80976         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80977         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80978         ($(inst_includedir)/bits/syscall.h): Remove rule.
80979         ($(objpfx)bits/syscall.d): Include instead of
80980         $(objpfx)syscall-list.d.
80981         (generated): Change syscall-list.h and syscall-list.d to
80982         bits/syscall.h and bits/syscall.d.
80984 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80986         [BZ #13846]
80987         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80989 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80991         [BZ #13841]
80992         * math/s_csqrt.c: Include <float.h>.
80993         (__csqrt): Scale large or subnormal inputs.
80994         * math/s_csqrtf.c: Likewise.
80995         * math/s_csqrtl.c: Likewise.
80996         * math/libm-test.inc (csqrt_test): Add more tests.
80997         * sysdeps/i386/fpu/libm-test-ulps: Update.
80998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81000         [BZ #13840]
81001         * math/libm-test.inc (hypot_test): Add more tests.
81003 2012-03-13  David S. Miller  <davem@davemloft.net>
81005         [BZ #13840]
81006         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81007         double-precision for the calculation instead of scaling.
81009 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81011         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81012         manipulate bits before adding and subtracting TWO52[sx].
81013         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81015         Likewise.
81016         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81018 2012-03-13  David S. Miller  <davem@davemloft.net>
81020         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81021         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81023         rtld-global-offsets.h
81024         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81026         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81027         large parameters.
81029         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81031         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81032         'err' in the ifdef scope in which it is actually used.
81034         * nss/nss_db/db-init.c: Include string.h
81036 2012-03-12  David S. Miller  <davem@davemloft.net>
81038         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81039         masking out of the most significant byte of random value used.
81040         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81041         Fix coding style in previous change.
81043         * sysdeps/unix/sysv/linux/kernel-features.h
81044         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81045         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81046         expression.
81047         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81048         later.
81050 2012-03-11  David S. Miller  <davem@davemloft.net>
81052         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81053         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81054         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81055         for 'resultvar' otherwise things get truncated on 64-bit.
81057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81058         Fix masking out of the most significant byte of random value used.
81060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81062 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81066 2012-03-09  David S. Miller  <davem@davemloft.net>
81068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81069         variables with appropriate CPP guards.
81070         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81071         from the frame pointer, not the stack pointer.  Correct layout
81072         comments.  Fix test on resulting framesize and the management of
81073         the outregs buffer for pltexit.  Preserve floating point return
81074         values across _dl_call_pltexit call.
81075         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81076         framesize and the management of the outregs buffer for pltexit.
81077         Preserve floating point return values across _dl_call_pltexit
81078         call.
81079         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81080         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81081         (la_sparc64_gnu_pltexit): New functions.
81082         (print_exit): Fix format string for return register value.
81084 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81086         * sunrpc/Makefile (others): Add rpcgen.
81087         ($(objpfx)rpcgen): Remove special build rule and dependency on
81088         libc.
81089         * sunrpc/rpcgen.c: New file.
81091 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81093         [BZ #13673]
81094         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81095         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81096         * sysdeps/i386/crti.S: Likewise.
81097         * sysdeps/i386/crtn.S: Likewise.
81098         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81099         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81100         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81101         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81102         * sysdeps/sh/crti.S: Likewise.
81103         * sysdeps/sh/crtn.S: Likewise.
81104         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81106         [BZ #13673]
81107         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81108         with URL.
81109         * locale/programs/locfile-kw.gperf: Likewise.
81110         * locale/programs/charmap-kw.h: Regenerated.
81111         * locale/programs/locfile-kw.h: Likewise.
81113         [BZ #13673]
81114         * intl/plural.y: Replace FSF snail mail address with URL.
81115         * intl/plural.c: Regenerated.
81117 2012-03-09  Richard Henderson  <rth@twiddle.net>
81119         * include/math_private.h: Remove file.
81120         * math/math_private.h: Move file ...
81121         * sysdeps/generic/math_private.h: ... here.
81123         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81124         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81125         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81127         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81128         and <math_private.h>.
81129         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81130         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81131         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81132         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81133         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81134         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81135         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81136         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81137         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81138         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81139         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81140         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81141         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81142         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81143         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81144         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81145         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81146         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81147         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81148         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81149         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81150         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81151         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81152         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81153         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81154         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81155         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81159         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81160         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81161         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81162         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81163         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81164         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81165         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81166         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81167         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81168         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81169         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81170         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81171         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81172         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81173         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81174         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81175         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81176         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81177         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81178         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81179         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81180         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81181         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81182         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81183         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81184         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81185         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81186         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81187         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81188         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81190         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81191         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81192         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81193         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81194         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81195         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81196         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81197         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81198         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81200         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81201         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81202         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81203         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81205         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81208         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81209         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81210         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81211         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81212         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81213         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81216         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81217         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81218         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81219         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81220         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81221         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81222         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81223         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81224         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81225         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81226         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81227         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81228         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81229         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81230         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81231         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81232         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81233         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81234         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81235         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81236         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81237         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81239         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81240         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81241         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81242         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81243         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81244         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81245         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81246         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81247         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81248         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81249         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81250         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81251         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81252         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81253         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81254         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81255         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81256         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81257         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81258         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81259         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81260         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81261         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81262         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81263         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81264         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81265         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81266         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81267         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81268         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81269         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81270         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81271         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81272         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81273         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81274         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81275         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81276         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81277         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81278         * sysdeps/ieee754/k_standard.c: Likewise.
81279         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81280         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81281         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81282         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81283         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81284         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81285         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81286         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81287         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81288         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81291         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81292         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81293         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81294         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81295         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81296         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81297         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81298         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81299         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81300         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81301         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81302         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81303         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81306         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81307         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81308         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81309         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81310         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81311         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81312         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81313         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81314         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81316         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81317         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81318         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81319         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81320         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81324         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81325         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81326         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81327         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81328         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81329         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81330         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81331         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81332         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81333         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81334         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81336         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81337         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81338         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81339         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81340         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81341         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81342         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81343         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81345         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81346         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81349         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81350         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81351         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81352         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81353         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81355         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81356         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81358         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81359         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81360         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81361         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81362         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81364         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81365         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81366         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81369         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81370         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81371         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81372         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81373         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81374         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81375         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81376         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81377         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81378         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81379         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81380         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81382         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81383         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81384         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81386         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81387         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81388         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81389         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81390         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81391         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81392         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81393         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81394         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81395         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81396         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81397         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81398         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81399         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81400         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81401         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81402         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81403         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81404         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81405         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81406         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81407         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81408         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81409         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81410         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81411         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81412         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81413         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81414         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81415         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81416         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81417         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81418         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81419         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81420         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81421         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81422         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81423         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81424         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81425         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81426         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81427         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81428         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81429         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81430         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81431         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81432         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81433         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81434         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81435         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81436         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81437         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81438         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81439         * sysdeps/ieee754/s_lib_version.c: Likewise.
81440         * sysdeps/ieee754/s_matherr.c: Likewise.
81441         * sysdeps/ieee754/s_signgam.c: Likewise.
81442         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81443         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81444         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81445         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81446         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81447         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81448         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81449         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81450         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81451         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81452         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81453         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81454         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81455         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81456         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81457         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81458         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81459         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81460         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81462         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81464 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81466         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81467         * sunrpc/rpc_main.c: Likewise.
81468         * sunrpc/rpc_svcout.c: Likewise.
81470 2012-03-09  David S. Miller  <davem@davemloft.net>
81472         * include/math_private.h: New file.
81474 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81476         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81477         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81478         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81479         from <bits/socket_type.h>.
81480         (enum __socket_type): Don't define here.
81481         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81483         bits/socket_type.h.
81485         [BZ #13566]
81486         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81487         checking __USE_GNU.
81489         * Makerules ($(inst_includedir)/%.h): New rule.
81490         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81491         (install-others): Remove variable setting.
81492         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81494 2012-03-08  Richard Henderson  <rth@twiddle.net>
81496         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81497         from macro to inline function; merge with the
81498         !__LIBC_INTERNAL_MATH_INLINES version.
81499         (__ieee754_sqrtf): Likewise.
81501         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81502         to inline function.
81503         (__rintf, __floor, __floorf): Likewise.
81505         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81506         macro to inline function.
81507         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81509         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81510         not <math/math_private.h>.
81512 2012-03-08  David S. Miller  <davem@davemloft.net>
81514         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81515         copyright year.
81516         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81518 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81520         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81521         normalization.
81522         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81523         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81525 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81527         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81528         be defined individually, they must be defined as a block.  Define
81529         S for printing a string instead of hidint the different by using a
81530         macro for adding the 'l'.
81531         * stdio-common/tst-fphex-wide.c: Adjust.
81533 2012-03-07  Marek Polacek  <polacek@redhat.com>
81535         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81537 2012-03-08  Marek Polacek  <polacek@redhat.com>
81539         [BZ #13806]
81540         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81541         * stdio-common/tst-fphex.c: Define a few macros to make the
81542         test reusable.  Use them.
81543         * stdio-common/tst-fphex-wide.c: New file.
81545 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81547         [BZ #6911]
81548         * manual/macros.texi (gnusystems): New macro.
81549         (nongnusystems): Likewise.
81550         (gnulinuxhurdsystems): Likewise.
81551         (gnuhurdsystems): Likewise..
81552         (gnulinuxsystems): Likewise.
81553         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81554         variants of the GNU system, not "GNU system".
81555         * manual/conf.texi: Likewise.
81556         * manual/errno.texi: Likewise.  Update example of errno macro
81557         expansion.
81558         * manual/filesys.texi: Likewise.
81559         (getumask): Document as specific to GNU/Hurd.
81560         * manual/install.texi: Likewise.  Reword some references to
81561         GNU/Linux.
81562         * manual/intro.texi: Likewise.
81563         * manual/io.texi: Likewise.
81564         (File Name Portability): Detail which constraints are inapplicable
81565         to all GNU systems and which are only inapplicable to GNU/Hurd.
81566         * manual/job.texi: Likewise.
81567         * manual/llio.texi: Likewise.
81568         (O_NOCTTY): Document as present on GNU/Linux.
81569         * manual/maint.texi: Likewise.
81570         * manual/memory.texi: Likewise.
81571         * manual/pattern.texi: Likewise.
81572         * manual/pipe.texi: Likewise.
81573         * manual/process.texi: Likewise.
81574         * manual/resource.texi: Likewise.
81575         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81576         child on GNU/Hurd.
81577         * manual/setjmp.texi: Likewise.
81578         * manual/signal.texi: Likewise.
81579         * manual/startup.texi: Likewise.
81580         * manual/stdio.texi: Likewise.
81581         * manual/terminal.texi: Likewise.
81582         (ONLCR): Document as POSIX.
81583         (OXTABS): Document availability on GNU/Linux as XTABS.
81584         (ONOEOT): Document availability separately from other bits.
81585         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81586         * manual/time.texi: Likewise.
81587         * manual/users.texi: Likewise.
81588         * INSTALL: Regenerated.
81589         * sysdeps/gnu/errlist.c: Regenerated.
81591         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81592         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81593         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81594         puts.
81595         * configure: Regenerated.
81597 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81599         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81600         default includes instead of AC_HEADER_CHECK.
81601         * sysdeps/i386/configure: Regenerated.
81603         [BZ #10716]
81604         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81605         * math/s_cacoshf.c (__cacoshf): Likewise.
81606         * math/s_cacoshl.c (__cacoshl): Likewise.
81607         * math/s_casinh.c (__casinh): Set signs of result from argument.
81608         * math/s_casinhf.c (__casinhf): Likewise.
81609         * math/s_casinhl.c (__casinhl): Likewise.
81610         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81611         (casinh_test): Add more tests.
81612         * sysdeps/i386/fpu/libm-test-ulps: Update.
81613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81615 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81617         * po/zh_TW.po: Update from translation team.
81619         * login/Makefile (distribute): Remove variable.
81620         * catgets/Makefile: Likewise.
81621         * mach/Makefile: Likewise.
81622         * malloc/Makefile: Likewise.
81623         * misc/Makefile: Likewise.
81624         * iconv/Makefile: Likewise.
81625         * nscd/Makefile: Likewise.
81626         * hurd/Makefile: Likewise.
81627         * manual/Makefile: Likewise.
81628         * locale/Makefile: Likewise.
81629         * intl/Makefile: Likewise.
81630         * conform/Makefile: Likewise.
81631         * nss/Makefile: Likewise.
81632         * time/Makefile: Likewise.
81633         * soft-fp/Makefile: Likewise.
81634         * dirent/Makefile: Likewise.
81635         * gmon/Makefile: Likewise.
81636         * po/Makefile: Likewise.
81637         * rt/Makefile: Likewise.
81638         * socket/Makefile: Likewise.
81639         * math/Makefile: Likewise.
81640         * signal/Makefile: Likewise.
81641         * debug/Makefile: Likewise.
81642         * elf/Makefile: Likewise.
81643         * timezone/Makefile: Likewise.
81644         * stdlib/Makefile: Likewise.
81645         * iconvdata/Makefile: Likewise.
81646         * sunrpc/Makefile: Likewise.
81647         * io/Makefile: Likewise.
81648         * argp/Makefile: Likewise.
81649         * inet/Makefile: Likewise.
81650         * hesiod/Makefile: Likewise.
81651         * grp/Makefile: Likewise.
81652         * csu/Makefile: Likewise.
81653         * wctype/Makefile: Likewise.
81654         * crypt/Makefile: Likewise.
81655         * libio/Makefile: Likewise.
81656         * string/Makefile: Likewise.
81657         * nis/Makefile: Likewise.
81658         * resolv/Makefile: Likewise.
81659         * stdio-common/Makefile: Likewise.
81660         * wcsmbs/Makefile: Likewise.
81661         * dlfcn/Makefile: Likewise.
81662         * posix/Makefile: Likewise.
81664         [BZ #6959]
81665         * timezone/Makefile: Don't install timezone files, just the programs
81666         and scripts.
81668 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81670         * nss/databases.def: Add missing gshadow entry.
81672         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81674 2012-03-06  Marek Polacek  <polacek@redhat.com>
81676         [BZ #13726]
81677         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81678         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81679         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81680         * stdio-common/tst-long-dbl-fphex.c: New file.
81682 2012-03-06  David S. Miller  <davem@davemloft.net>
81684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81685         (set_obp_int): New function.
81686         (get_obp_int): New function.
81687         (__get_clockfreq_via_dev_openprom): Likewise.
81688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81689         Avoid unused variable warnings on 'val' and use builtin_expect.
81690         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81691         __builtin_expect.
81692         (INLINE_CLONE_SYSCALL): Likewise.
81694 2012-03-05  David S. Miller  <davem@davemloft.net>
81696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81698 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81702         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81703         only for |x| >= 40.
81704         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81706 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81708         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81709         Replace gettimeofday with __vdso_gettimeofday.
81711         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81712         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81713         __vdso_clock_gettime and __vdso_getcpu.
81715         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81716         time with __vdso_time.
81718 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81720         * manual/lang.texi (size_t): Note types to which size_t may be
81721         equivalent with the GNU C Library, but do not describe when
81722         differences between them are significant.
81724 2012-03-05  Andreas Jaeger  <aj@suse.de>
81726         * sysdeps/i386/fpu/libm-test-ulps: Update.
81728 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81730         [BZ #3976]
81731         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81732         (__ieee754_pow): Save and restore rounding mode and use
81733         round-to-nearest for main computations.
81734         * math/libm-test.inc (pow_test_tonearest): New function.
81735         (pow_test_towardzero): Likewise.
81736         (pow_test_downward): Likewise.
81737         (pow_test_upward): Likewise.
81738         (main): Call the new functions.
81739         * sysdeps/i386/fpu/libm-test-ulps: Update.
81740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81742         [BZ #3976]
81743         * math/libm-test.inc (cosh_test_tonearest): New function.
81744         (cosh_test_towardzero): Likewise.
81745         (cosh_test_downward): Likewise.
81746         (cosh_test_upward): Likewise.
81747         (sinh_test_tonearest): Likewise.
81748         (sinh_test_towardzero): Likewise.
81749         (sinh_test_downward): Likewise.
81750         (sinh_test_upward): Likewise.
81751         (main): Call the new functions.
81752         * sysdeps/i386/fpu/libm-test-ulps: Update.
81753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81755 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81757         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81758         default stack guard is set in last bytes.
81759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81761 2012-03-05  Kees Cook  <keescook@chromium.org>
81763         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81765         [BZ #13656]
81766         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81767         possibly allocate from heap instead of stack.
81768         * stdio-common/bug-vfprintf-nargs.c: New file.
81769         * stdio-common/Makefile (tests): Add nargs overflow test.
81771 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81775 2012-03-03  Marek Polacek  <polacek@redhat.com>
81777         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81778         * math/math_private.h: Likewise.
81779         * stdlib/tst-strtod.c: Likewise.
81780         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81781         * sysdeps/x86_64/bits/atomic.h: Likewise.
81783 2012-03-02  David S. Miller  <davem@davemloft.net>
81785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81789         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81790         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81791         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81792         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81794 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81796         [BZ #13792]
81797         * manual/examples/README: New file, says the example source files
81798         can be used under GPL>=2.
81799         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81800         line containing just "*/".
81801         * manual/examples/add.c: Add copyright header (GPL>=2).
81802         * manual/examples/argp-ex1.c: Likewise.
81803         * manual/examples/argp-ex2.c: Likewise.
81804         * manual/examples/argp-ex3.c: Likewise.
81805         * manual/examples/argp-ex4.c: Likewise.
81806         * manual/examples/atexit.c: Likewise.
81807         * manual/examples/db.c: Likewise.
81808         * manual/examples/dir.c: Likewise.
81809         * manual/examples/dir2.c: Likewise.
81810         * manual/examples/execinfo.c: Likewise.
81811         * manual/examples/filecli.c: Likewise.
81812         * manual/examples/filesrv.c: Likewise.
81813         * manual/examples/fmtmsgexpl.c: Likewise.
81814         * manual/examples/genpass.c: Likewise.
81815         * manual/examples/inetcli.c: Likewise.
81816         * manual/examples/inetsrv.c: Likewise.
81817         * manual/examples/isockad.c: Likewise.
81818         * manual/examples/longopt.c: Likewise.
81819         * manual/examples/memopen.c: Likewise.
81820         * manual/examples/memstrm.c: Likewise.
81821         * manual/examples/mkfsock.c: Likewise.
81822         * manual/examples/mkisock.c: Likewise.
81823         * manual/examples/mygetpass.c: Likewise.
81824         * manual/examples/pipe.c: Likewise.
81825         * manual/examples/popen.c: Likewise.
81826         * manual/examples/rprintf.c: Likewise.
81827         * manual/examples/search.c: Likewise.
81828         * manual/examples/select.c: Likewise.
81829         * manual/examples/setjmp.c: Likewise.
81830         * manual/examples/sigh1.c: Likewise.
81831         * manual/examples/sigusr.c: Likewise.
81832         * manual/examples/stpcpy.c: Likewise.
81833         * manual/examples/strdupa.c: Likewise.
81834         * manual/examples/strftim.c: Likewise.
81835         * manual/examples/strncat.c: Likewise.
81836         * manual/examples/subopt.c: Likewise.
81837         * manual/examples/swapcontext.c: Likewise.
81838         * manual/examples/termios.c: Likewise.
81839         * manual/examples/testopt.c: Likewise.
81840         * manual/examples/testpass.c: Likewise.
81841         * manual/examples/timeval_subtract.c: Likewise.
81843         [BZ #13792]
81844         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81845         function to ...
81846         * manual/timeval_subtract.c.texi: ... here, new file.
81848 2012-03-02  David S. Miller  <davem@davemloft.net>
81850         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81852 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81854         [BZ #3976]
81855         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81856         (__sin): Save and restore rounding mode and use round-to-nearest
81857         for all computations.
81858         (__cos): Save and restore rounding mode and use round-to-nearest
81859         for all computations.
81860         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81861         <fenv.h>.
81862         (tan): Save and restore rounding mode and use round-to-nearest for
81863         all computations.
81864         * math/libm-test.inc (cos_test_tonearest): New function.
81865         (cos_test_towardzero): Likewise.
81866         (cos_test_downward): Likewise.
81867         (cos_test_upward): Likewise.
81868         (sin_test_tonearest): Likewise.
81869         (sin_test_towardzero): Likewise.
81870         (sin_test_downward): Likewise.
81871         (sin_test_upward): Likewise.
81872         (tan_test_tonearest): Likewise.
81873         (tan_test_towardzero): Likewise.
81874         (tan_test_downward): Likewise.
81875         (tan_test_upward): Likewise.
81876         (main): Call the new functions.
81877         * sysdeps/i386/fpu/libm-test-ulps: Update.
81878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81880         [BZ #10135]
81881         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81882         small n, then large n, before computing and testing k+n.
81883         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81885         Likewise.
81886         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81887         Likewise.
81888         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81889         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81890         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81891         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81892         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81893         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81894         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81895         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81896         * math/libm-test.inc (scalbn_test): Add more tests.
81897         (scalbln_test): Likewise.
81899         * manual/filesys.texi (mode_t): Describe constraints on size and
81900         signedness, not exact equivalence to a particular type.
81901         (ino_t): Likewise.
81902         (ino64_t): Likewise.
81903         (dev_t): Likewise.
81904         (nlink_t): Likewise.
81905         (blkcnt_t): Likewise.
81906         (blkcnt64_t): Likewise.
81907         * manual/llio.texi (off_t): Likewise.
81909         [BZ #3976]
81910         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81911         (__ieee754_exp): Save and restore rounding mode and use
81912         round-to-nearest for all computations.
81913         * math/libm-test.inc (exp_test_tonearest): New function.
81914         (exp_test_towardzero): Likewise.
81915         (exp_test_downward): Likewise.
81916         (exp_test_upward): Likewise.
81917         (main): Call the new functions.
81918         * sysdeps/i386/fpu/libm-test-ulps: Update.
81919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81921 2012-03-01  Chris Demetriou  <cgd@google.com>
81923         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81924         have predictable order.
81926 2012-03-01  David S. Miller  <davem@davemloft.net>
81928         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81930         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81931         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81932         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81933         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81935         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81936         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81937         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81939         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81940         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81941         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81942         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81943         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81947         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81948         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81949         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81951         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81952         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81953         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81954         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81955         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81956         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81957         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81958         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81959         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81960         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81961         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81962         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81963         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81964         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81965         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81967         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81968         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81969         * sysdeps/sparc/elf/configure: Regenerated.
81971 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81973         * configure.in (AS, LD): Require binutils 2.20 or later.
81974         * configure: Regenerated.
81975         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81976         as required minimum version.
81977         * INSTALL: Regenerated.
81979         [BZ #2541]
81980         [BZ #4108]
81981         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81982         before squaring exponent.
81983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81984         bottom long double and 27 bits of top long double before squaring
81985         exponent.
81986         * math/libm-test.inc (erfc_test): Add more tests.
81987         * sysdeps/i386/fpu/libm-test-ulps: Update.
81988         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81991 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81993         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81994         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81995         containing bit-fields.
81996         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81997         * soft-fp/single.h (_FP_UNION_S): Likewise.
81998         * soft-fp/double.h (_FP_UNION_D): Likewise.
82000 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82002         [BZ #13786]
82003         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82004         not include ../strcmp.S.
82005         [USE_AS_STRNCASECMP_L]: Likewise.
82006         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82007         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82008         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82009         (__strncasecmp_l_ia32): Define as alias to
82010         __strncasecmp_l_nonascii.
82012         [BZ #5794]
82013         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82014         * sysdeps/i386/fpu/libm-test-ulps: Update.
82015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82017         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82020 2012-02-29  Jeff Law  <law@redhat.com>
82022         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82023         out of bounds read.
82025 2012-02-29  Marek Polacek  <polacek@redhat.com>
82027         [BZ #13706]
82028         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82029         * elf/Makefile: Add rules to run tst-unused-dep.out.
82031 2012-02-28  David S. Miller  <davem@davemloft.net>
82033         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82034         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82035         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82036         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82037         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82038         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82040 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82042         * math/libm-test.inc (llround_test): Move one test from
82043         lround_test.  Use TEST_f_L in moved test.
82044         (lround_test): Move misplaced test to llround_test.  Add testcase
82045         from bug 2561.
82047 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82049         * sysdeps/x86_64/fpu/e_expf.S: New file.
82050         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82052 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82054         [BZ #13637]
82055         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82056         of remain_len that may cause incomplete multi-byte character and
82057         false match.
82058         * posix/bug-regex33.c: New file.
82059         * posix/Makefile (tests): Add bug-regex33.
82061 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82063         * manual/macros.texi: New file.
82064         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82065         * manual/libc.texinfo: Include macros.texi.
82066         * manual/creatute.texi: Likewise.
82067         * manual/install.texi: Likewise.
82068         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82069         @glibcadj{} in references to the GNU C Library.
82070         * manual/charset.texi: Likewise.
82071         * manual/conf.texi: Likewise.
82072         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82073         when not using those macros.
82074         * manual/creature.texi: Likewise.
82075         * manual/crypt.texi: Likewise.
82076         * manual/errno.texi: Likewise.
82077         * manual/filesys.texi: Likewise.
82078         * manual/header.texi: Likewise.
82079         * manual/install.texi: Likewise.
82080         * manual/intro.texi: Likewise.
82081         * manual/io.texi: Likewise.
82082         * manual/job.texi: Likewise.
82083         * manual/lang.texi: Likewise.
82084         * manual/libc.texiinfo: Likewise.
82085         * manual/llio.texi: Likewise.
82086         * manual/locale.texi: Likewise.
82087         * manual/maint.texi: Likewise.
82088         * manual/math.texi: Likewise.
82089         * manual/memory.texi: Likewise.
82090         * manual/message.texi: Likewise.
82091         * manual/nss.texi: Likewise.
82092         * manual/pattern.texi: Likewise.
82093         * manual/process.texi: Likewise.
82094         * manual/resource.texi: Likewise.
82095         * manual/search.texi: Likewise.
82096         * manual/setjmp.texi: Likewise.
82097         * manual/signal.texi: Likewise.
82098         * manual/socket.texi: Likewise.
82099         * manual/startup.texi: Likewise.
82100         * manual/stdio.texi: Likewise.
82101         * manual/string.texi: Likewise.
82102         * manual/sysinfo.texi: Likewise.
82103         * manual/syslog.texi: Likewise.
82104         * manual/terminal.texi: Likewise.
82105         * manual/time.texi: Likewise.
82106         * manual/users.texi: Likewise.
82107         * INSTALL: Regenerated.
82108         * NOTES: Regenerated.
82109         * sysdeps/gnu/errlist.c: Regenerated.
82111 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82113         * include/dirent.h: Include <dirstream.h> before
82114         <dirent/dirent.h>.
82116 2012-02-28  David S. Miller  <davem@davemloft.net>
82118         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82119         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82120         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82121         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82123 2012-02-27  David S. Miller  <davem@davemloft.net>
82125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82127         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82128         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82131         frame pointer instead of stack pointer relative arg slot.
82132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82133         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82134         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82136 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82138         [BZ #3992]
82139         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82141 2012-02-27  David S. Miller  <davem@davemloft.net>
82143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82147         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82148         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82149         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82150         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82152 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82154         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82155         later.  Allow versions 5-9.
82156         * configure: Regenerated.
82157         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82158         required minimum version and 4.6 as recommended version.  Do not
82159         mention bugs in GCC 2.7 and 2.8.
82160         * INSTALL: Regenerated.
82162 2012-02-27  David S. Miller  <davem@davemloft.net>
82164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82168         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82169         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82170         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82171         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82173         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82174         manipulate bits before adding and subtracting TWO112[sx].
82175         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82177 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82179         [BZ #13775]
82180         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82181         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82182         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82183         being in POSIX, because they are in 1003.1-2008.
82185         * rt/tst-aio.c: Include <fcntl.h>.
82186         * rt/tst-aio7.c: Likewise.
82187         * rt/tst-aio64.c: Likewise.
82189         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82191 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82193         * manual/install.texi (--with-headers): Describe headers as
82194         interface headers, not private headers.
82195         (Specific advice for GNU/Linux systems): Describe use of headers
82196         from "make headers_install", not private headers from older
82197         kernels.
82198         * INSTALL: Regenerated.
82199         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82200         Change to 2.6.19.
82201         * sysdeps/unix/sysv/linux/configure: Regenerated.
82203         * manual/llio.texi (fclean): Remove documentation.
82205         * manual/Makefile (libc-texi-generated): New variable.  Include
82206         version.texi.
82207         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82208         $(libc-texi-generated), not duplicated list of files.
82209         (version.texi, stamp-version): New rules.
82210         (realclean): Remove $(libc-texi-generated), not individual files
82211         from that list.  Do not remove dir-add.texinfo.
82212         * manual/libc.texinfo: Comment out uses of edition numbers and
82213         references to printed manual.  Remove last-updated dates.
82214         (EDITION): Comment out.
82215         (ISBN): Likewise.
82216         (VERSION, UPDATED): Remove.
82217         (version.texi): Include.
82219 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82221         * sysdeps/posix/spawni.c: Include <signal.h>.
82222         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82223         * sysdeps/pthread/aio_fsync.c: Likewise.
82225 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82227         * conform/Makefile (tests): Run only when not cross-compiling and
82228         when fast-check is not defined.
82230         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82231         * conform/data/limits.h-data: Fixes for POSIX2008.
82232         * conform/run-conformtest.sh: Run all tests.
82233         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82234         headers.
82235         * include/bits/dlfcn.h: Likewise.
82236         * include/langinfo.h: Likewise.
82237         * include/monetary.h: Likewise.
82238         * include/sys/poll.h: Likewise.
82240         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82241         for __USE_GNU.
82242         * posix/spawn.h: Define __need_sigset_t.
82243         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82244         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82245         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82246         to get sigevent_t only.
82247         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82248         only for __USE_GNU.
82249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82250         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82251         process_vm_writev only for __USE_GNU.
82252         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82254         * conform/Makefile: For now ignore errors from run-conformtest.
82255         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82256         POSIX to avoid namespace pollution.  Don't prepend headers.
82257         * conform/data/aio.h-data: Fixes for POSIX testing.
82258         * conform/data/fcntl.h-data: Likewise.
82259         * conform/data/glob.h-data: Likewise.
82260         * conform/data/grp.h-data: Likewise.
82261         * conform/data/pthread.h-data: Likewise.
82262         * conform/data/pwd.h-data: Likewise.
82263         * conform/data/signal.h-data: Likewise.
82264         * conform/data/spawn.h-data: Likewise.
82265         * conform/data/stdio.h-data: Likewise.
82266         * conform/data/stdlib.h-data: Likewise.
82267         * conform/data/stropts.h-data: Likewise.
82268         * conform/data/sys/mman.h-data: Likewise.
82269         * conform/data/sys/stat.h-data: Likewise.
82270         * conform/data/sys/types.h-data: Likewise.
82271         * conform/data/sys/wait.h-data: Likewise.
82272         * conform/data/time.h-data: Likewise.
82273         * conform/data/unistd.h-data: Likewise.
82274         * conform/data/utime.h-data: Likewise.
82276         * io/sys/stat.h: fchmod was always in POSIX.
82277         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82278         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82279         * rt/aio.h: Define __need_timespec before including <time.h>.
82280         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82281         struct.  Add forward declaration of pthread_attr_t and use it in
82282         sigevent.
82283         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82284         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82285         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82286         always remove CLK_TCK definition.
82288 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82290         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82292 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82294         * conform/run-conformtest.sh: New file.
82295         * conform/Makefile: Run run-conformtest for tests.
82296         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82297         support.
82299         * conform/data/uchar.h-data: New file.
82300         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82301         * conform/data/arpa/inet.h-data: Likewise.
82302         * conform/data/assert.h-data: Likewise.
82303         * conform/data/complex.h-data: Likewise.
82304         * conform/data/cpio.h-data: Likewise.
82305         * conform/data/ctype.h-data: Likewise.
82306         * conform/data/dirent.h-data: Likewise.
82307         * conform/data/dlfcn.h-data: Likewise.
82308         * conform/data/errno.h-data: Likewise.
82309         * conform/data/fcntl.h-data: Likewise.
82310         * conform/data/float.h-data: Likewise.
82311         * conform/data/fmtmsg.h-data: Likewise.
82312         * conform/data/fnmatch.h-data: Likewise.
82313         * conform/data/ftw.h-data: Likewise.
82314         * conform/data/glob.h-data: Likewise.
82315         * conform/data/grp.h-data: Likewise.
82316         * conform/data/iconv.h-data: Likewise.
82317         * conform/data/inttypes.h-data: Likewise.
82318         * conform/data/langinfo.h-data: Likewise.
82319         * conform/data/libgen.h-data: Likewise.
82320         * conform/data/limits.h-data: Likewise.
82321         * conform/data/locale.h-data: Likewise.
82322         * conform/data/math.h-data: Likewise.
82323         * conform/data/monetary.h-data: Likewise.
82324         * conform/data/mqueue.h-data: Likewise.
82325         * conform/data/ndbm.h-data: Likewise.
82326         * conform/data/net/if.h-data: Likewise.
82327         * conform/data/netdb.h-data: Likewise.
82328         * conform/data/netinet/in.h-data: Likewise.
82329         * conform/data/nl_types.h-data: Likewise.
82330         * conform/data/poll.h-data: Likewise.
82331         * conform/data/pthread.h-data: Likewise.
82332         * conform/data/pwd.h-data: Likewise.
82333         * conform/data/regex.h-data: Likewise.
82334         * conform/data/sched.h-data: Likewise.
82335         * conform/data/search.h-data: Likewise.
82336         * conform/data/semaphore.h-data: Likewise.
82337         * conform/data/setjmp.h-data: Likewise.
82338         * conform/data/signal.h-data: Likewise.
82339         * conform/data/spawn.h-data: Likewise.
82340         * conform/data/stdarg.h-data: Likewise.
82341         * conform/data/stdio.h-data: Likewise.
82342         * conform/data/stdlib.h-data: Likewise.
82343         * conform/data/string.h-data: Likewise.
82344         * conform/data/strings.h-data: Likewise.
82345         * conform/data/stropts.h-data: Likewise.
82346         * conform/data/sys/ipc.h-data: Likewise.
82347         * conform/data/sys/mman.h-data: Likewise.
82348         * conform/data/sys/msg.h-data: Likewise.
82349         * conform/data/sys/resource.h-data: Likewise.
82350         * conform/data/sys/select.h-data: Likewise.
82351         * conform/data/sys/sem.h-data: Likewise.
82352         * conform/data/sys/shm.h-data: Likewise.
82353         * conform/data/sys/socket.h-data: Likewise.
82354         * conform/data/sys/stat.h-data: Likewise.
82355         * conform/data/sys/statvfs.h-data: Likewise.
82356         * conform/data/sys/time.h-data: Likewise.
82357         * conform/data/sys/timeb.h-data: Likewise.
82358         * conform/data/sys/times.h-data: Likewise.
82359         * conform/data/sys/types.h-data: Likewise.
82360         * conform/data/sys/uio.h-data: Likewise.
82361         * conform/data/sys/un.h-data: Likewise.
82362         * conform/data/sys/utsname.h-data: Likewise.
82363         * conform/data/sys/wait.h-data: Likewise.
82364         * conform/data/syslog.h-data: Likewise.
82365         * conform/data/tar.h-data: Likewise.
82366         * conform/data/termios.h-data: Likewise.
82367         * conform/data/utime.h-data: Likewise.
82368         * conform/data/utmpx.h-data: Likewise.
82369         * conform/data/varargs.h-data: Likewise.
82370         * conform/data/wchar.h-data: Likewise.
82371         * conform/data/wctype.h-data: Likewise.
82372         * conform/data/wordexp.h-data: Likewise.
82374         * include/stropts.h: New file.
82375         * include/uchar.h: New file.
82376         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82377         * include/assert.h: Likewise.
82378         * include/ctype.h: Likewise.
82379         * include/dirent.h: Likewise.
82380         * include/dlfcn.h: Likewise.
82381         * include/fcntl.h: Likewise.
82382         * include/fnmatch.h: Likewise.
82383         * include/glob.h: Likewise.
82384         * include/grp.h: Likewise.
82385         * include/libio.h: Likewise.
82386         * include/locale.h: Likewise.
82387         * include/math.h: Likewise.
82388         * include/net/if.h: Likewise.
82389         * include/netdb.h: Likewise.
82390         * include/netinet/in.h: Likewise.
82391         * include/pthread.h: Likewise.
82392         * include/pwd.h: Likewise.
82393         * include/regex.h: Likewise.
82394         * include/sched.h: Likewise.
82395         * include/search.h: Likewise.
82396         * include/setjmp.h: Likewise.
82397         * include/signal.h: Likewise.
82398         * include/stdio.h: Likewise.
82399         * include/stdlib.h: Likewise.
82400         * include/string.h: Likewise.
82401         * include/sys/cdefs.h: Likewise.
82402         * include/sys/mman.h: Likewise.
82403         * include/sys/msg.h: Likewise.
82404         * include/sys/resource.h: Likewise.
82405         * include/sys/select.h: Likewise.
82406         * include/sys/socket.h: Likewise.
82407         * include/sys/stat.h: Likewise.
82408         * include/sys/statvfs.h: Likewise.
82409         * include/sys/time.h: Likewise.
82410         * include/sys/times.h: Likewise.
82411         * include/sys/uio.h: Likewise.
82412         * include/sys/utsname.h: Likewise.
82413         * include/sys/wait.h: Likewise.
82414         * include/termios.h: Likewise.
82415         * include/time.h: Likewise.
82416         * include/ulimit.h: Likewise.
82417         * include/unistd.h: Likewise.
82418         * include/utime.h: Likewise.
82419         * include/wchar.h: Likewise.
82420         * include/wctype.h: Likewise.
82421         * include/wordexp.h: Likewise.
82423         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82425         * time/time.h: TIME_UTC must be a macro.
82426         Make timespec_get available for ISO C11 only as well.
82428 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82430         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82431         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82433 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82435         * configure.in: Use -o not -a in test for unsupported multi-arch.
82437 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82439         * manual/texinfo.tex: Update to version 2012-01-19.16.
82441 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82443         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82445 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82447         [BZ #13738]
82448         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82449         * manual/fdl-1.3.texi: New file.
82450         * manual/fdl-1.1.texi: File removed.
82452         [BZ #13738]
82453         * manual/libc.texinfo (FDL_VERSION): New @set.
82454         Use it for mention of FDL in cover text.
82455         (Documentation License): Use it in @include file name.
82457 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82458             Roland McGrath  <roland@hack.frob.com>
82460         [BZ #5461]
82461         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82462         (not LONG_LONG_MAX and LONG_LONG_MIN.
82463         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82464         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82465         name.
82466         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82468 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82470         [BZ #2547]
82471         [BZ #11365]
82472         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82473         manipulate bits before adding and subtracting TWO23[sx].
82474         * math/libm-test.inc (nearbyint_test): Add more tests.
82476 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82478         [BZ #2548]
82479         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82480         bits before adding and subtracting TWO23[sx].
82481         * math/libm-test.inc (rint_test): Add more tests.
82482         (rint_test_tonearest): Likewise.
82483         (rint_test_towardzero): Likewise.
82484         (rint_test_downward): Likewise.
82485         (rint_test_upward: Likewise.
82487 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82489         [BZ #10110]
82490         * include/stdc-predef.h: New file.  Extracted from features.h.
82491         * include/features.h: Include stdc-predef.h.
82492         * Makefile (headers): Add stdc-predef.h.
82493         * CONFORMANCE (Compiler limitations): Update.
82495 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82497         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82499 2012-02-21  David S. Miller  <davem@davemloft.net>
82501         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82502         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82504 2012-02-20  David S. Miller  <davem@davemloft.net>
82506         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82507         using a normal save/restore sequence, rather than allocating a
82508         dummy stack frame just to store a frame pointer and restore.
82509         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82511 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82513         * manual/install.texi: Fix stray word in line-wrapped comment.
82515 2012-02-20  David S. Miller  <davem@davemloft.net>
82517         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82518         both binutils and gcc support GOTDATA.
82520         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82521         "rd %pc" in the PIC register setup sequences.
82523         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82524         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82525         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82526         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82527         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82529         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82530         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82531         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82532         (SYSCALL_ERROR_HANDLER): Likewise.
82533         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82534         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82536         (SYSCALL_ERROR_HANDLER): Likewise.
82538         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82539         (HAVE_GCC_GOTDATA): New.
82540         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82541         relocation support in both binutils and gcc.
82542         * sysdeps/sparc/elf/configure: Regenerate.
82544         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82545         * sysdeps/sparc/sparc32/elf/configure: Delete.
82546         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82547         * sysdeps/sparc/sparc64/elf/configure: Delete.
82548         * sysdeps/sparc/elf/configure.in: New file.
82549         * sysdeps/sparc/elf/configure: Generate.
82551         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82552         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82553         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82554         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82555         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82557 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82559         * manual/install.texi: Do not mention specific glibc version
82560         numbers.
82561         * manual/libc.texinfo (VERSION, UPDATED): Update.
82562         (@copying): Use @copyright{} and range of years.
82564 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82566         [BZ #13695]
82567         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82568         [crti.S not in sysdirs] (generated): Do not append.
82569         [crti.S not in sysdirs] (omit-deps): Likewise.
82570         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82571         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82572         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82573         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82574         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82575         Likewise.
82576         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82577         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82578         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82579         * csu/defs.awk: Remove file.
82580         * sysdeps/generic/initfini.c: Likewise.
82581         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82582         variable.
82583         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82584         Likewise.
82586 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82588         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82589         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82590         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82591         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82592         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82593         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82594         <bits/epoll.h>.
82595         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82596         (__EPOLL_PACKED): Define to empty if not defined by
82597         <bits/epoll.h>.
82598         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82600         bits/epoll.h.
82602 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82604         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82605         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82606         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82607         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82608         <bits/timerfd.h>.
82609         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82611         bits/timerfd.h.
82613 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82615         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82616         in C locale.
82617         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82618         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82619         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82622 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82624         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82625         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82627 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82629         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82630         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82631         defined.
82632         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82633         Likewise.
82634         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82635         entry for 2.16.
82637 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82639         * math/w_acos.c: Use non-signaling floating-point comparisons.
82640         * math/w_acosf.c: Likewise.
82641         * math/w_acosh.c: Likewise.
82642         * math/w_acoshf.c: Likewise.
82643         * math/w_acoshl.c: Likewise.
82644         * math/w_acosl.c: Likewise.
82645         * math/w_asin.c: Likewise.
82646         * math/w_asinf.c: Likewise.
82647         * math/w_asinl.c: Likewise.
82648         * math/w_atanh.c: Likewise.
82649         * math/w_atanhf.c: Likewise.
82650         * math/w_atanhl.c: Likewise.
82651         * math/w_exp2.c: Likewise.
82652         * math/w_exp2f.c: Likewise.
82653         * math/w_exp2l.c: Likewise.
82654         * math/w_j0.c: Likewise.
82655         * math/w_j0f.c: Likewise.
82656         * math/w_j0l.c: Likewise.
82657         * math/w_j1.c: Likewise.
82658         * math/w_j1f.c: Likewise.
82659         * math/w_j1l.c: Likewise.
82660         * math/w_jn.c: Likewise.
82661         * math/w_jnf.c: Likewise.
82662         * math/w_log.c: Likewise.
82663         * math/w_log10.c: Likewise.
82664         * math/w_log10f.c: Likewise.
82665         * math/w_log10l.c: Likewise.
82666         * math/w_log2.c: Likewise.
82667         * math/w_log2f.c: Likewise.
82668         * math/w_log2l.c: Likewise.
82669         * math/w_logf.c: Likewise.
82670         * math/w_logl.c: Likewise.
82671         * math/w_sqrt.c: Likewise.
82672         * math/w_sqrtf.c: Likewise.
82673         * math/w_sqrtl.c: Likewise.
82674         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82675         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82676         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82677         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82678         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82680 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82682         [BZ #9739]
82683         * manual/string.texi (strnlen): Use correct parameter name in
82684         equivalent expression.
82686 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82688         [BZ #11174]
82689         * manual/users.texi (seteuid): Consistently use neweuid for
82690         argument name.
82692 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82694         [BZ #13704]
82695         * manual/nss.texi (Services in the NSS configuration): Correct
82696         list of services in example configuration file.
82698 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82700         [BZ #11322]
82701         * manual/arith.texi: Remove statements about negative zero
82702         behaving identically to zero.
82704 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82706         [BZ #5993]
82707         * manual/install.texi: Do not document upgrading from libc5.
82709 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82711         [BZ #4596]
82712         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82714 2012-02-18  David S. Miller  <davem@davemloft.net>
82716         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82717         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82718         %o7 across the call.
82719         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82720         instead.
82721         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82722         SETUP_PIC_REG_LEAF.
82723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82724         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82725         * sysdeps/sparc/crtn.S: Likewise.
82727 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82729         * aout/Makefile: Remove.
82731 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82733         [BZ #13058]
82734         * manual/examples/argp-ex1.c (main): Format definition in GNU
82735         style.
82736         * manual/examples/argp-ex2.c (main): Likewise.
82737         * manual/examples/argp-ex3.c (main): Likewise.
82738         * manual/examples/argp-ex4.c (main): Likewise.
82739         * manual/examples/longopt.c (main): Use new-style prototype
82740         definition.
82741         * manual/examples/strncat.c (main): Specify return type and use
82742         (void) for arguments.
82743         * manual/examples/subopt.c (main): Use char **argv argument.
82745 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82747         [BZ #5077]
82748         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82749         rounding modes.
82751 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82753         [BZ #6907]
82754         * manual/string.texi (strchr): Change when strchrnul is
82755         recommended.
82757 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82759         [BZ #174]
82760         * manual/locale.texi (setlocale): Document LOCPATH.
82762 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82764         [BZ #10210]
82765         * manual/process.texi (execle): Move @dots{} before last argument.
82767 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82769         [BZ #12047]
82770         * manual/charset.texi (Generic Charset Conversion): Fix typo
82771         (LC_TYPE -> LC_CTYPE).
82773 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82775         [BZ #5805]
82776         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82777         (scalbnf): Likewise.
82778         (scalbnl): Likewise.
82779         (scalbln): Likewise.
82780         (scalblnf): Likewise.
82781         (scalblnl): Likewise.
82782         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82783         (vwarnx): Likewise.
82784         (verr): Likewise.
82785         (verrx): Likewise.
82786         * manual/filesys.texi (telldir): Use braces around return type.
82787         * manual/llio.texi (mmap): Add space after comma.
82788         (mmap64): Likewise.
82789         * manual/math.texi (jn): Use @var{} on parameter names.
82790         (jnf): Likewise.
82791         (jnl): Likewise.
82792         (yn): Likewise.
82793         (ynf): Likewise.
82794         (ynl): Likewise.
82795         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82796         line.
82797         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82798         "...".
82799         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82800         (sched_get_priority_max): Likewise.
82801         * manual/signal.texi (sigvec): Add space after comma.
82802         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82803         names.
82804         (if_indextoname): Likewise.
82805         (if_freenameindex): Likewise.
82806         (sendto): Use ',' instead of '.' in prototype.
82807         * manual/startup.texi (syscall): Use @dots{} instead of literal
82808         "...".
82809         * manual/stdio.texi (__fpending): Separate initial words of
82810         paragraph from @deftypefun line.
82811         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82812         "...".
82813         (vsyslog): Use @var{} on parameter names.
82814         * manual/terminal.texi (stty): Use @var{} on parameter names.
82815         * manual/users.texi (getutmp): Use @var{} on parameter names.
82816         (getutmpx): Likewise.
82818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82820         [BZ #6884]
82821         * manual/stdio.texi (fopen): Fix typos in description of
82822         ",ccs=STRING".
82824 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82826         [BZ #4026]
82827         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82828         get clock_id definition.
82830 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82832         [BZ #4822]
82833         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82834         (madvise): Cast every argument to void on its own.
82836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82838         [BZ #9902]
82839         * manual/startup.texi (Exit Status): Fix typo.
82841 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82843         [BZ #10140]
82844         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82845         * manual/examples/argp-ex2.c: Likewise.
82846         * manual/examples/argp-ex3.c: Likewise.
82848 2012-02-16  Richard Henderson  <rth@redhat.com>
82850         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82851         * sysdeps/s390/s390-32/initfini.c: Remove.
82852         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82853         * sysdeps/s390/s390-64/initfini.c: Remove.
82855 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82857         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82858         compiler output for sysdeps/generic/initfini.c.
82859         * sysdeps/sh/elf/initfini.c: Remove file.
82861 2012-02-16  David S. Miller  <davem@davemloft.net>
82863         [BZ #11494]
82864         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82866         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82867         * sysdeps/sparc/crti.S: New file.
82868         * sysdeps/sparc/crtn.S: New file.
82869         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82870         * sysdeps/sparc/sparc64/Makefile: Likewise.
82872 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82874         [BZ #3335]
82875         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82877 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82879         [BZ #4822]
82880         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82882         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82883         (write, read, close): Likewise.
82884         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82886 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82888         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82889         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82890         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82891         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82892         <bits/signalfd.h>.
82893         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82895         bits/signalfd.h.
82897 2012-02-14  Marek Polacek  <polacek@redhat.com>
82899         * sysdeps/x86_64/crti.S: New file.
82900         * sysdeps/x86_64/crtn.S: New file.
82901         * sysdeps/x86_64/elf/initfini.c: Remove file.
82903 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82905         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82906         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82907         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82908         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82909         <bits/inotify.h>.
82910         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82912         bits/inotify.h.
82914 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82916         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82917         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82918         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82919         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82920         <bits/eventfd.h>.
82921         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82923         bits/eventfd.h.
82925 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82927         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82928         __feraiseexcept instead of feraiseexcept.
82930         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82931         nanosleep invocations.
82932         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82933         strings, and add error checking for a nanosleep invocations.
82935 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82937         Replace FSF snail mail address with URLs, as per GNU coding standards.
82938         Most of the snail mail addresses were wrong anyway, and omitting
82939         them makes the source code easier to maintain.  Almost all of the
82940         changes are to license notices and to locale LC_IDENTIFICATION
82941         addresses, except for this one:
82942         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82943         not its snail mail address.
82945 2012-02-09  Richard Henderson  <rth@twiddle.net>
82947         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82948         of kernel-features.h.
82950         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82952 2012-02-08  Marek Polacek  <polacek@redhat.com>
82954         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82955         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82956         * sysdeps/gnu/_G_config.h: Likewise.
82957         * sysdeps/generic/_G_config.h: Likewise.
82959 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82961         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82962         tests.
82963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82965         * sysdeps/powerpc/powerpc32/crti.S: New file.
82966         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82967         * sysdeps/powerpc/powerpc64/crti.S: New file.
82968         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82970         * Makeconfig (have-initfini): Don't set.
82971         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82972         * configure.in (nopic_initfini): Don't substitute.
82973         * config.h.in (HAVE_INITFINI): Don't #undef.
82974         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82975         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82977 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82979         Support crti.S and crtn.S provided directly by architectures.
82980         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82981         [crti.S in sysdirs] (omit-deps): Likewise.
82982         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82983         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82984         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82985         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82986         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82987         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82988         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82989         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82990         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82991         compiler output for sysdeps/generic/initfini.c.
82992         * sysdeps/i386/elf/Makefile: Remove file.
82993         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82995 2012-02-07  Marek Polacek  <polacek@redhat.com>
82997         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82998         * sysdeps/gnu/_G_config.h: Likewise.
82999         * sysdeps/mach/hurd/_G_config.h: Likewise.
83001 2012-02-07  Marek Polacek  <polacek@redhat.com>
83003         * math/Makefile (tests): Add tst-CMPLX2.
83004         * math/tst-CMPLX2.c: New file.
83006 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83008         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83010         * math/libm-test.inc (jn_test): Add missing L suffix.
83012 2012-02-06  Marek Polacek  <polacek@redhat.com>
83014         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83015         * sysdeps/i386/fpu/e_powf.S: Likewise.
83016         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83017         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83018         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83019         * sysdeps/i386/fpu/e_pow.S: Likewise.
83020         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83021         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83022         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83023         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83024         * sysdeps/i386/fpu/e_log2.S: Likewise.
83025         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83026         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83027         * sysdeps/i386/fpu/e_powl.S: Likewise.
83028         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83029         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83030         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83031         * sysdeps/i386/fpu/e_logl.S: Likewise.
83032         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83033         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83034         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83035         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83036         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83037         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83038         * sysdeps/i386/fpu/e_log.S: Likewise.
83039         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83040         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83041         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83042         * sysdeps/i386/fpu/e_logf.S: Likewise.
83043         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83044         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83045         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83046         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83047         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83048         * sysdeps/i386/fpu/e_log10.S: Likewise.
83049         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83050         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83051         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83052         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83053         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83054         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83055         * sysdeps/i386/asm-syntax.h: Likewise.
83056         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83057         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83058         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83059         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83060         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83061         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83062         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83063         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83064         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83065         * sysdeps/powerpc/sysdep.h: Likewise.
83066         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83067         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83069 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83071         [BZ #411]
83072         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83074 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83076         * sysdeps/i386/sysdep.h: Include <features.h>.
83077         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83078         version.
83080 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83082         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83083         Define.
83084         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83085         LOAD_PIC_REG_STR.
83087 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83089         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83090         (SETUP_PIC_REG): Use GET_PC_THUNK.
83091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83092         macro.
83094 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83096         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83097         for non-PIC compilation.
83098         (SETUP_PIC_REG): Add .p2align directive.
83099         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83100         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83101         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83102         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83103         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83104         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83105         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83107         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83108         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83109         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83110         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83111         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83112         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83113         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83114         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83115         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83116         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83117         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83118         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83120         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83121         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83122         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83125         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83126         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83127         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83128         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83129         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83130         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83131         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83132         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83133         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83134         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83135         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83136         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83137         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83138         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83139         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83141 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83143         * math/tst-CMPLX.c: Include <stdio.h>.
83145 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83147         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83148         float.
83149         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83150         * sysdeps/sparc/bits/mathdef.h: Likewise.
83152 2012-01-31  Marek Polacek  <polacek@redhat.com>
83154         * libio/libio.h: Don't define _PARAMS.
83155         * locale/programs/config.h: Don't define PARAMS.
83156         * stdlib/strtol_l.c: Likewise.
83157         (__strtol_l): Remove PARAMS from the prototype.
83159 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83161         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83162         names.  Just use the correct names.  Remove unnecessary wrapper
83163         functions.
83164         * malloc/arena.c: Likewise.
83165         * malloc/hooks.c: Likewise.
83167         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83168         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83169         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83171 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83173         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83174         into tail calls.
83175         (update_get_addr): New function.
83176         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83177         GET_ADDR_MODULE parameter.
83179 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83181         * crypt/cert.c: Remove __STDC__ conditionals.
83182         * crypt/crypt-entry.c: Likewise.
83183         * crypt/crypt_util.c: Likewise.
83184         * libio/filedoalloc.c: Likewise.
83185         * libio/fileops.c: Likewise.
83186         * libio/genops.c: Likewise.
83187         * libio/iofclose.c: Likewise.
83188         * libio/iofdopen.c: Likewise.
83189         * libio/iofopen.c: Likewise.
83190         * libio/iofopen64.c: Likewise.
83191         * libio/iogetdelim.c: Likewise.
83192         * libio/iopopen.c: Likewise.
83193         * libio/obprintf.c: Likewise.
83194         * libio/oldfileops.c: Likewise.
83195         * libio/oldiofclose.c: Likewise.
83196         * libio/oldiofdopen.c: Likewise.
83197         * libio/oldiofopen.c: Likewise.
83198         * libio/oldiopopen.c: Likewise.
83199         * libio/wfiledoalloc.c: Likewise.
83200         * libio/wgenops.c: Likewise.
83201         * locale/programs/xmalloc.c: Likewise.
83202         * misc/syslog.c: Likewise.
83203         * stdio-common/xbug.c: Likewise.
83204         * string/memchr.c: Likewise.
83205         * string/memcmp.c: Likewise.
83206         * string/memrchr.c: Likewise.
83207         * string/rawmemchr.c: Likewise.
83208         * sysdeps/posix/getcwd.c: Likewise.
83209         * time/strftime_l.c: Likewise.
83211 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83213         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83214         * config.make.in (config-cflags-sse2avx): Define.
83215         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83216         Fix typo.
83218 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83220         * scripts/config.guess: Update from upstream config git repository.
83221         * scripts/config.sub: Likewise.
83223 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83225         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83226         (EM_NUM): Update.
83227         (R_TILEPRO_*, R_TILEGX_*): New macros.
83229         * scripts/firstversions.awk: Fix bug in version range handling.
83231         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83233         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83235         * include/sys/epoll.h: New file.
83236         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83237         libc_hidden_def.
83239 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83241         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83242         Avoid unnecessary __WORDSIZE == 64 test.
83243         (fmaxf): Use VEX format if possible.
83244         (fmax): Likewise.
83245         (fminf): Likewise.
83246         (fmin): Likewise.
83248         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83249         * math/math_private.h: Remove libc_fegetround* and
83250         libc_fesetround*.
83251         * sysdeps/i386/configure.in: Check for -msse2avx.
83252         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83253         also if SSE2AVX is defined.
83254         Remove libc_fegetround* and libc_fesetround*.
83255         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83256         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83257         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83258         of HAS_YMM_USABLE.
83259         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83260         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83261         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83262         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83263         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83265         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83267 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83269         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83270         size is not set.
83271         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83273 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83275         [BZ #13618]
83276         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83277         relocation.
83278         * Makeconfig (libm): Define.
83279         * elf/Makefile: Add rules to build and run tst-relsort1.
83280         * elf/tst-relsort1.c: New file.
83281         * elf/tst-relsort1mod1.c: New file.
83282         * elf/tst-relsort1mod2.c: New file.
83284 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83286         * math/s_ldexp.c: Remove __STDC__ conditionals.
83287         * math/s_ldexpf.c: Likewise.
83288         * math/s_ldexpl.c: Likewise.
83289         * math/s_nextafter.c: Likewise.
83290         * math/s_nexttowardf.c: Likewise.
83291         * math/s_significand.c: Likewise.
83292         * math/s_significandf.c: Likewise.
83293         * math/s_significandl.c: Likewise.
83294         * math/w_jnl.c: Likewise.
83295         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83296         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83297         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83298         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83299         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83301         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83302         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83303         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83304         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83305         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83306         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83307         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83308         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83309         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83310         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83311         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83312         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83314         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83315         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83316         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83317         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83319         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83320         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83321         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83322         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83323         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83324         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83325         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83326         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83327         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83328         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83329         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83330         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83331         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83332         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83333         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83334         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83335         * sysdeps/ieee754/k_standard.c: Likewise.
83336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83337         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83338         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83339         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83340         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83341         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83342         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83343         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83344         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83345         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83346         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83347         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83348         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83349         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83350         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83351         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83352         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83354         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83355         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83357         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83358         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83359         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83360         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83361         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83366         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83367         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83368         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83371         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83372         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83374         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83375         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83376         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83378         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83379         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83380         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83381         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83382         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83383         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83384         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83385         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83386         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83387         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83390         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83391         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83392         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83393         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83394         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83395         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83396         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83397         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83398         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83400         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83401         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83402         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83403         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83404         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83405         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83406         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83407         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83408         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83409         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83410         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83411         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83412         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83413         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83414         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83415         * sysdeps/ieee754/s_matherr.c: Likewise.
83416         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83417         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83418         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83419         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83421 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83423         * crypt/md5.h: Remove __STDC__ conditionals.
83424         * libio/libioP.h: Likewise.
83425         * locale/programs/config.h: Likewise.
83426         * sysdeps/generic/sysdep.h: Likewise.
83427         * sysdeps/i386/asm-syntax.h: Likewise.
83428         * sysdeps/s390/asm-syntax.h: Likewise.
83429         * sysdeps/unix/sysdep.h: Likewise.
83430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83433 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83435         * libio/libio.h: Remove __STDC__ conditionals.
83436         * malloc/obstack.h: Likewise.
83437         * math/complex.h: Likewise.
83438         * math/math.h: Likewise.
83439         * sysdeps/generic/_G_config.h: Likewise.
83440         * sysdeps/gnu/_G_config.h: Likewise.
83441         * sysdeps/mach/hurd/_G_config.h: Likewise.
83442         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83443         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83444         * sysdeps/sparc/bits/mathdef.h: Likewise.
83446 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83448         [BZ #13583]
83449         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83450         Clean up HAS_* macros.
83451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83452         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83453         possible.
83454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83455         HAS_AVX.
83456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83457         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83458         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83459         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83460         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83462 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83464         * elf/tst-unique3.cc (gets): Remove declaration.
83465         * elf/tst-unique3lib.cc (gets): Likewise.
83466         * elf/tst-unique3lib2.cc (gets): Likewise.
83467         * elf/tst-unique4.cc (gets): Likewise.
83469 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83471         * include/stdio.h: Add C++ protection.  Add gets declarations and
83472         definitions.
83473         * debug/tst-chk1.c: Don't declare gets here.
83474         * stdio-common/tst-gets.c: Likewise.
83476 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83478         * posix/glob: Remove directory.
83480 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83482         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83484 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83486         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83487         of the non-standard EPFNOSUPPORT.
83489 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83491         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83492         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83493         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83495 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83497         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83499 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83501         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83502         transient errors.
83503         * nscd/grpcache.c (cache_addgr): Likewise.
83504         * nscd/hstcache.c (cache_addhst): Likewise.
83505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83506         * nscd/pwdcache.c (cache_addpw): Likewise.
83507         * nscd/servicescache.c (cache_addserv): Likewise.
83509 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83511         * malloc/malloc.c: Various cleanups.
83512         * malloc/hooks.c: Likewise.
83514         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83515         * stdlib/bug-fmtmsg1.c: New file.
83517         * stdlib/fmtmsg.c (init): Add missing unlock.
83518         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83520 2012-01-12  Marek Polacek  <polacek@redhat.com>
83522         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83523         and _GNU_SOURCE.
83525 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83527         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83528         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83529         macro to ensure uniqueness of label name.
83530         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83531         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83533 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83535         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83537         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83538         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83539         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83540         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83542 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83544         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83546         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83547         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83548         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83550         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83552         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83553         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83554         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83555         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83557         * math/bits/math-finite.h: Add ldexp support.
83559 2012-01-10  Marek Polacek  <polacek@redhat.com>
83561         * locale/programs/localedef.h (show_archive_content): Add noreturn
83562         attribute.
83564 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83566         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83568 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83570         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83572         * io/Makefile (headers): Add bits/poll2.h.
83574 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83577         typo #include statement.
83579 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83581         * include/sys/cdefs.h: Define __attribute_alloc_size.
83582         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83583         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83584         * elf/pldd.c: Likewise.
83585         * iconv/iconv_charmap.c: Likewise.
83586         * iconv/iconvconfig.c: Likewise.
83587         * iconv/strtab.c: Likewise.
83588         * locale/programs/locale.c: Likewise.
83589         * locale/programs/localedef.h: Likewise.
83590         * locale/programs/simple-hash.c: Likewise.
83591         * nscd/nscd.h: Likewise.
83592         * nss/makedb.c: Likewise.
83593         * sysdeps/generic/ldconfig.h: Likewise.
83594         * locale/programs/localedef.c: Remove xmalloc prototype.
83595         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83597 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83599         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83600         appropriate.
83602 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83604         * math/Makefile (tests): Add tst-CMPLX.
83605         * math/tst-CMPLX.c: New file.
83607         * math/complex.h (CMPLXL): Fix typo.
83609         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83610         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83611         GLIBC_2.16.
83612         * debug/tst-chk1.c: Add poll and ppoll tests.
83613         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83614         * include/sys/poll.h: Add hidden proto for ppoll.
83615         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83616         * sysdeps/mach/hurd/ppoll.c: Likewise.
83617         * io/ppoll.c: Likewise.
83618         * debug/poll_chk.c: New file.
83619         * debug/ppoll_chk.c: New file.
83620         * include/bits/poll2.h: New file.
83621         * io/bits/poll2.h: New file.
83623         [BZ #1350]
83624         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83626         * configure.in: static is always set to yes.  Remove.
83627         * config.make.in: Don't set build-static.
83628         * Makeconfig: Remove use of build-static.
83629         * dlfcn/Makefile: Likewise.
83630         * elf/Makefile: Likewise.
83631         * math/Makefile: Likewise.
83632         * misc/Makefile: Likewise.
83633         * nptl/Makefile: Likewise.
83634         * sysdeps/mach/hurd/Makefile: Likewise.
83636         * configure.in: PWD_P is not used anymore.
83637         * config.make.in: Remove PWD_P entry.
83639         * configure.in: Remove last remnants of RANLIB.
83640         No need to check for signed size_t anymore.
83641         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83642         and IA-64.
83643         Remove __builtin_expect test because we require at least gcc 3.4.
83644         * aclocal.m4: Likewise.
83646         * wcsmbs/mbrtoc16.c: Implement using towc function.
83647         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83648         * wcsmbs/wcsmbsload.c: Likewise.
83649         * iconv/gconv_simple.c: Likewise.
83650         * iconv/gconv_int.h: Likewise.
83651         * iconv/gconv_builtin.h: Likewise.
83652         * iconv/iconv_prog.c: Remove CHAR16 handling.
83654         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83656         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83658         * configure.in: Remove --with-elf and --enable-bounded options.
83659         Dont set base_machine for ia64.  More non-ELF conditions removed.
83660         Remove testing and setting of leading underscore information.
83661         * config.make.in (build-bounded): Set to no.
83662         * config.h.in: Remove NO_UNDERSCORES entry.
83663         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83664         them.
83665         * csu/start.c: Remove !NO_UNDERSCORE code.
83666         * locale/localeinfo.h: Likewise.
83667         * sysdeps/generic/machine-gmon.h: Likewise.
83668         * sysdeps/generic/sysdep.h: Likewise.
83669         * sysdeps/i386/sysdep.h: Likewise.
83670         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83671         * sysdeps/mach/sysdep.h: Likewise.
83672         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83673         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83674         * sysdeps/sh/sysdep.h: Likewise.
83675         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83676         * sysdeps/unix/i386/sysdep.S: Likewise.
83677         * sysdeps/unix/sparc/start.c: Likewise.
83678         * sysdeps/unix/sparc/sysdep.S: Likewise.
83679         * sysdeps/unix/sparc/sysdep.h: Likewise.
83680         * sysdeps/unix/start.c: Likewise.
83681         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83682         * sysdeps/x86_64/sysdep.h: Likewise.
83684 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83686         [BZ #13553]
83687         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83688         for non-gcc.
83689         * argp/argp-fmtstream.h: Use const instead __const.
83690         * argp/argp.h: Likewise.
83691         * assert/assert.h: Likewise.
83692         * bits/fenv.h: Likewise.
83693         * bits/sched.h: Likewise.
83694         * bits/sigset.h: Likewise.
83695         * bits/sigthread.h: Likewise.
83696         * catgets/nl_types.h: Likewise.
83697         * conform/data/pthread.h-data: Likewise.
83698         * crypt/crypt-private.h: Likewise.
83699         * crypt/crypt.h: Likewise.
83700         * crypt/crypt_util.c: Likewise.
83701         * ctype/ctype.h: Likewise.
83702         * debug/execinfo.h: Likewise.
83703         * debug/mbsnrtowcs_chk.c: Likewise.
83704         * debug/mbsrtowcs_chk.c: Likewise.
83705         * debug/wcsnrtombs_chk.c: Likewise.
83706         * debug/wcsrtombs_chk.c: Likewise.
83707         * debug/wcstombs_chk.c: Likewise.
83708         * dirent/dirent.h: Likewise.
83709         * dlfcn/dlfcn.h: Likewise.
83710         * elf/neededtest4.c: Likewise.
83711         * grp/grp.h: Likewise.
83712         * gshadow/gshadow.h: Likewise.
83713         * iconv/gconv.h: Likewise.
83714         * iconv/gconv_int.h: Likewise.
83715         * iconv/gconv_simple.c: Likewise.
83716         * iconv/iconv.h: Likewise.
83717         * iconv/loop.c: Likewise.
83718         * iconv/skeleton.c: Likewise.
83719         * include/aio.h: Likewise.
83720         * include/aliases.h: Likewise.
83721         * include/argz.h: Likewise.
83722         * include/arpa/inet.h: Likewise.
83723         * include/assert.h: Likewise.
83724         * include/dirent.h: Likewise.
83725         * include/dlfcn.h: Likewise.
83726         * include/execinfo.h: Likewise.
83727         * include/fcntl.h: Likewise.
83728         * include/fenv.h: Likewise.
83729         * include/glob.h: Likewise.
83730         * include/grp.h: Likewise.
83731         * include/libintl.h: Likewise.
83732         * include/mntent.h: Likewise.
83733         * include/netdb.h: Likewise.
83734         * include/pwd.h: Likewise.
83735         * include/rpc/netdb.h: Likewise.
83736         * include/sched.h: Likewise.
83737         * include/search.h: Likewise.
83738         * include/shadow.h: Likewise.
83739         * include/signal.h: Likewise.
83740         * include/stdio.h: Likewise.
83741         * include/stdlib.h: Likewise.
83742         * include/string.h: Likewise.
83743         * include/sys/socket.h: Likewise.
83744         * include/sys/stat.h: Likewise.
83745         * include/sys/statfs.h: Likewise.
83746         * include/sys/statvfs.h: Likewise.
83747         * include/sys/syslog.h: Likewise.
83748         * include/sys/time.h: Likewise.
83749         * include/sys/uio.h: Likewise.
83750         * include/time.h: Likewise.
83751         * include/unistd.h: Likewise.
83752         * include/utmp.h: Likewise.
83753         * include/wchar.h: Likewise.
83754         * include/wctype.h: Likewise.
83755         * inet/aliases.h: Likewise.
83756         * inet/arpa/inet.h: Likewise.
83757         * inet/netinet/ether.h: Likewise.
83758         * inet/netinet/in.h: Likewise.
83759         * intl/libintl.h: Likewise.
83760         * io/bits/fcntl2.h: Likewise.
83761         * io/fcntl.h: Likewise.
83762         * io/ftw.h: Likewise.
83763         * io/sys/poll.h: Likewise.
83764         * io/sys/stat.h: Likewise.
83765         * io/sys/statfs.h: Likewise.
83766         * io/sys/statvfs.h: Likewise.
83767         * io/utime.h: Likewise.
83768         * libio/bits/stdio.h: Likewise.
83769         * libio/bits/stdio2.h: Likewise.
83770         * libio/libio.h: Likewise.
83771         * libio/libioP.h: Likewise.
83772         * libio/stdio.h: Likewise.
83773         * locale/lc-ctype.c: Likewise.
83774         * locale/locale.h: Likewise.
83775         * login/utmp.h: Likewise.
83776         * malloc/arena.c: Likewise.
83777         * malloc/malloc.c: Likewise.
83778         * malloc/malloc.h: Likewise.
83779         * malloc/mcheck.c: Likewise.
83780         * malloc/mtrace.c: Likewise.
83781         * math/bits/mathcalls.h: Likewise.
83782         * math/fenv.h: Likewise.
83783         * math/math_private.h: Likewise.
83784         * misc/bits/error.h: Likewise.
83785         * misc/bits/syslog.h: Likewise.
83786         * misc/err.h: Likewise.
83787         * misc/error.h: Likewise.
83788         * misc/fstab.h: Likewise.
83789         * misc/mntent.h: Likewise.
83790         * misc/regexp.h: Likewise.
83791         * misc/search.h: Likewise.
83792         * misc/sgtty.h: Likewise.
83793         * misc/sys/mman.h: Likewise.
83794         * misc/sys/syslog.h: Likewise.
83795         * misc/sys/uio.h: Likewise.
83796         * misc/sys/xattr.h: Likewise.
83797         * misc/ttyent.h: Likewise.
83798         * nis/rpcsvc/ypclnt.h: Likewise.
83799         * nss/nss.h: Likewise.
83800         * posix/bits/unistd.h: Likewise.
83801         * posix/fnmatch.h: Likewise.
83802         * posix/glob.h: Likewise.
83803         * posix/sched.h: Likewise.
83804         * posix/spawn.h: Likewise.
83805         * posix/sys/wait.h: Likewise.
83806         * posix/unistd.h: Likewise.
83807         * posix/wordexp.h: Likewise.
83808         * pwd/pwd.h: Likewise.
83809         * resolv/netdb.h: Likewise.
83810         * resource/sys/resource.h: Likewise.
83811         * rt/aio.h: Likewise.
83812         * rt/bits/mqueue2.h: Likewise.
83813         * rt/mqueue.h: Likewise.
83814         * shadow/shadow.h: Likewise.
83815         * signal/signal.h: Likewise.
83816         * socket/send.c: Likewise.
83817         * socket/sendto.c: Likewise.
83818         * socket/sys/socket.h: Likewise.
83819         * stdio-common/printf.h: Likewise.
83820         * stdlib/bits/stdlib.h: Likewise.
83821         * stdlib/fmtmsg.h: Likewise.
83822         * stdlib/monetary.h: Likewise.
83823         * stdlib/stdlib.h: Likewise.
83824         * stdlib/ucontext.h: Likewise.
83825         * streams/stropts.h: Likewise.
83826         * string/argz.h: Likewise.
83827         * string/bits/string2.h: Likewise.
83828         * string/string.h: Likewise.
83829         * string/strings.h: Likewise.
83830         * sunrpc/rpc/auth.h: Likewise.
83831         * sunrpc/rpc/auth_des.h: Likewise.
83832         * sunrpc/rpc/clnt.h: Likewise.
83833         * sunrpc/rpc/netdb.h: Likewise.
83834         * sunrpc/rpc/pmap_clnt.h: Likewise.
83835         * sunrpc/rpc/xdr.h: Likewise.
83836         * sysdeps/generic/inttypes.h: Likewise.
83837         * sysdeps/generic/net/if.h: Likewise.
83838         * sysdeps/generic/sys/swap.h: Likewise.
83839         * sysdeps/gnu/net/if.h: Likewise.
83840         * sysdeps/gnu/utmpx.h: Likewise.
83841         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83842         * sysdeps/i386/i486/bits/string.h: Likewise.
83843         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83844         * sysdeps/s390/bits/string.h: Likewise.
83845         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83846         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83847         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83848         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83849         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83850         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83851         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83852         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83853         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83854         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83855         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83856         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83857         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83858         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83859         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83860         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83861         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83862         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83863         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83865         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83866         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83867         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83868         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83869         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83870         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83871         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83872         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83873         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83874         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83875         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83876         * sysvipc/sys/ipc.h: Likewise.
83877         * sysvipc/sys/msg.h: Likewise.
83878         * sysvipc/sys/sem.h: Likewise.
83879         * sysvipc/sys/shm.h: Likewise.
83880         * termios/termios.h: Likewise.
83881         * time/sys/time.h: Likewise.
83882         * time/time.h: Likewise.
83883         * wcsmbs/bits/wchar2.h: Likewise.
83884         * wcsmbs/uchar.h: Likewise.
83885         * wcsmbs/wchar.h: Likewise.
83886         * wctype/wctype.h: Likewise.
83888         [BZ #13551]
83889         * Makeconfig: Remove all but ELF support including AIX support.
83890         * Makerules: Likewise.
83891         * config.h.in: Likewise.
83892         * config.make.in: Likewise.
83893         * configure: Likewise.
83894         * configure.in: Likewise.
83895         * csu/Makefile: Likewise.
83896         * csu/version.c: Likewise.
83897         * debug/Makefile: Likewise.
83898         * dlfcn/Makefile: Likewise.
83899         * elf/Makefile: Likewise.
83900         * extra-lib.mk: Likewise.
83901         * iconv/Makefile: Likewise.
83902         * include/libc-symbols.h: Likewise.
83903         * include/shlib-compat.h: Likewise.
83904         * resolv/Makefile: Likewise.
83905         * resolv/res_libc.c: Likewise.
83906         * rt/Makefile: Likewise.
83907         * sysdeps/i386/asm-syntax.h: Likewise.
83908         * sysdeps/i386/sysdep.h: Likewise.
83909         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83910         * sysdeps/mach/sysdep.h: Likewise.
83911         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83912         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83913         * sysdeps/s390/asm-syntax.h: Likewise.
83914         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83915         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83916         * sysdeps/sh/sysdep.h: Likewise.
83917         * sysdeps/unix/sparc/sysdep.h: Likewise.
83918         * sysdeps/wordsize-32/divdi3.c: Likewise.
83919         * sysdeps/x86_64/sysdep.h: Likewise.
83921         * argp/Versions: Remove _argp_unlock_xxx.
83923         [BZ #13559]
83924         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83925         * abilist/libBrokenLocale.abilist: Likewise.
83926         * abilist/libanl.abilist: Likewise.
83927         * abilist/libc.abilist: Likewise.
83928         * abilist/libcrypt.abilist: Likewise.
83929         * abilist/libdl.abilist: Likewise.
83930         * abilist/libm.abilist: Likewise.
83931         * abilist/libnsl.abilist: Likewise.
83932         * abilist/libpthread.abilist: Likewise.
83933         * abilist/libresolv.abilist: Likewise.
83934         * abilist/librt.abilist: Likewise.
83935         * abilist/libthread_db.abilist: Likewise.
83936         * abilist/libutil.abilist: Likewise.
83937         * abilist/libnss_db.abilist: New file.
83939         * scripts/abilist.awk: Add support for indirect functions.
83941         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83943         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83945         * shlib-versions: Remove entries for ports architectures.
83947         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83948         files in ports.
83949         * elf/stackguard-macros.h: Remove support for IA-64.
83950         * elf/tst-auditmod1.c: Likewise.
83951         * sysdeps/generic/ldsodefs.h: Likewise.
83953         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83954         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83955         configure files.
83957         [BZ #13552]
83958         * configure.in: Remove --enable-omitfp support.
83959         * FAQ.in: Adjust.
83960         * config.make.in: Likewise.
83961         * Makeconfig: Likewise.
83962         * manual/install.texi: Likewise.
83964         In case anyone cares, the IA-64 architecture could move to ports.
83965         * sysdeps/ia64/*: Removed.
83966         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83967         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83969         [BZ #13555]
83970         * configure.in: Remove entries for unsupported architectures.
83972         [BZ #13533]
83973         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83974         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83975         routines.
83976         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83977         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83978         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83979         fall back to using wcrtomb.
83980         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83981         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83982         renaming.
83983         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83984         * wcsmbs/tst-c16c32-1.c: New file.
83986         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83987         local variable.
83989         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83991         * elf/tst-unique3.cc: Add explicit declaration of gets.
83992         * elf/tst-unique3lib.cc: Likewise.
83993         * elf/tst-unique3lib2.cc: Likewise.
83994         * elf/tst-unique4.cc: Likewise.
83996         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83998 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84000         [BZ #13566]
84001         * assert/assert.h (static_assert): Don't define for C++.
84002         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84003         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84005 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84007         * iconv/loop.c (single loop): Fix assertion in storing of
84008         remaining bytes.
84010         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84012 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84014         * posix/getconf.c: Update copyright year.
84015         * nss/getent.c: Likewise.
84016         * nss/makedb.c: Likewise.
84017         * iconv/iconvconfig.c: Likewise.
84018         * iconv/iconv_prog.c: Likewise.
84019         * elf/ldconfig.c: Likewise.
84020         * elf/pldd.c: Likewise.
84021         * elf/sotruss.ksh: Likewise.
84022         * catgets/gencat.c: Likewise.
84023         * csu/version.c: Likewise.
84024         * elf/ldd.bash.in: Likewise.
84025         * elf/sprof.c (print_version): Likewise.
84026         * locale/programs/locale.c: Likewise.
84027         * locale/programs/localedef.c: Likewise.
84028         * login/programs/pt_chown.c: Likewise.
84029         * nscd/nscd.c (print_version): Likewise.
84030         * debug/xtrace.sh: Likewise.
84031         * malloc/memusage.sh: Likewise.
84032         * malloc/mtrace.pl: Likewise.
84033         * debug/catchsegv.sh: Likewise.
84035 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84037         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84038         pure attribute.
84040 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84042         [BZ #13533]
84043         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84044         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84045         transformations.
84046         * iconv/gconv_int.h: Likewise.
84047         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84048         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84049         from libc for GLIBC_2.16.
84050         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84051         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84052         * wcsmbs/uchar.h: Really define mbstate_t.
84053         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84054         * wcsmbs/c16rtomb.c: New file.
84055         * wcsmbs/mbrtoc16.c: New file.
84056         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84057         for C/POSIX locale.
84058         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84059         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84061         * wcsmbs/wchar.h: Add missing __restrict.
84063 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84065         [BZ #13532]
84066         * time/Makefile (routines): Add timespec_get.
84067         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84068         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84069         timespec for ISO C11.
84070         * time/timespec_get.c: New file.
84071         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84072         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84074         [BZ #13531]
84075         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84076         * stdlib/stdlib.h: Declare aligned_alloc.
84077         * Versions.def: Add GLIBC_2.16 for libc.
84078         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84080         [BZ 13527]
84081         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84082         ISO C11.
84084         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84085         code.
84087         [BZ #13528]
84088         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84090         [BZ #13529]
84091         * assert/assert.h (static_assert): Define.
84093         * version.h: Update for 2.16 development version.
84095         [BZ #13526]
84096         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84097         _ISOC11_SOURCE.
84099         * version.h (RELEASE): Bump for 2.15 release.
84100         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84102         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84103         Patch by Marek Polacek <mpolacek@redhat.com>.
84105         * bits/byteswap.h: Protect long long constants with __extension__.
84106         * sysdeps/i386/bits/byteswap.h: Likewise.
84107         * sysdeps/ia64/bits/byteswap.h: Likewise.
84108         * sysdeps/s390/bits/byteswap.h: Likewise.
84109         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84111 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84113         [BZ #13540]
84114         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84115         destination buffer.
84116         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84118 2011-12-23  Marek Polacek  <polacek@redhat.com>
84120         * elf/dl-addr.c (determine_info): Add inline keyword.
84121         * elf/tst-auditmod4b.c (check_avx): Likewise.
84122         * elf/tst-auditmod6b.c (check_avx): Likewise.
84123         * elf/tst-auditmod6c.c (check_avx): Likewise.
84124         * elf/tst-auditmod7b.c (check_avx): Likewise.
84126 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84128         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84129         !__SSE_MATH__.
84131 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84133         [BZ #13540]
84134         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84135         processing for last bytes.
84137 2011-08-06  Bruno Haible  <bruno@clisp.org>
84139         [BZ #13061]
84140         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84141         U+0385, not to U+1FEE.
84143         [BZ #13062]
84144         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84145         entry for U+00A5 U+0301.
84147 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84149         [BZ #13166]
84150         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84151         buffer for the output is too small.
84153         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84154         optimization.
84156         [BZ #13185]
84157         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84158         SSE flags if possible.
84160 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84162         [BZ #13540]
84163         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84164         processing for last bytes.
84166 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84168         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84169         (syscall-list-default-options, syscall-list-default-condition)
84170         (syscall-list-includes): Define.
84171         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84172         list of ABIs and options and #if conditions for each ABI.  Do not
84173         handle common syscalls between ABIs specially.
84174         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84175         Remove.
84176         (syscall-list-variants, syscall-list-32bit-options)
84177         (syscall-list-32bit-condition, syscall-list-64bit-options)
84178         (syscall-list-64bit-condition): Define.
84179         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84180         (syscall-list-variants, syscall-list-32bit-options)
84181         (syscall-list-32bit-condition, syscall-list-64bit-options)
84182         (syscall-list-64bit-condition): Define.
84183         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84184         Remove.
84185         (syscall-list-variants, syscall-list-32bit-options)
84186         (syscall-list-32bit-condition, syscall-list-64bit-options)
84187         (syscall-list-64bit-condition): Define.
84188         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84189         Remove.
84190         (syscall-list-variants, syscall-list-32bit-options)
84191         (syscall-list-32bit-condition, syscall-list-64bit-options)
84192         (syscall-list-64bit-condition): Define.
84194 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84196         * locale/iso-639.def: Add brx entry.
84198         [BZ #13328]
84199         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84200         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84202         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84203         __feraiseexcept_renamed.
84205 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84207         [BZ #13538]
84208         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84209         EPOLLET with unsigned values.
84210         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84211         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84213         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84214         to large cancellation.
84215         * math/s_cacoshf.c: Likewise.
84216         * math/s_cacoshl.c: Likewise.
84218 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84220         [BZ #13305]
84221         [BZ #12786]
84222         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84223         * math/s_cacoshf.c: Likewise.
84224         * math/s_cacoshl.c: Likewise.
84226 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84228         [BZ #13439]
84229         * iconv/gconv.h: Define __GCONV_SWAP.
84230         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84231         * iconvdata/utf-16.c: Likewise.
84232         * iconvdata/utf-32.c: Likewise.
84234 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84236         [BZ #13524]
84237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84238         numerator after shifting it by one limb.
84240 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84242         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84243         under [__USE_EXTERN_INLINES].
84245 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84247         [BZ #13446]
84248         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84250 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84252         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84253         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84254         optimized code.
84255         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84256         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84257         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84258         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84259         for strncasecmp/strncasecmp_l compilation.
84260         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84261         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84263 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84265         [BZ #13484]
84266         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84267         of __asm__.
84269 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84271         [BZ #13506]
84272         * time/tzfile.c (__tzfile_read): Check values from file header.
84274 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84276         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84277         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84278         * powerpc/powerpc32/dl-start.S: Likewise.
84279         * powerpc/powerpc32/elf/start.S: Likewise.
84280         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84281         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84282         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84283         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84284         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84285         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84286         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84287         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84288         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84289         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84290         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84291         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84292         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84293         * powerpc/powerpc32/memset.S: Likewise.
84294         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84295         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84296         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84297         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84298         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84299         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84300         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84301         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84302         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84303         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84304         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84305         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84306         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84308 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84310         * math/libm-test.inc: Added more nearbyint tests.
84311         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84312         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84313         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84314         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84316 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84318         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84319         FD_CLOEXEC.
84321 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84323         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84324         Add wcscpy-ssse3 wcscpy-c.
84325         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84326         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84327         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84328         * sysdeps/x86_64/wcschr.S: New file.
84329         * sysdeps/x86_64/wcsrchr.S: New file.
84330         * string/test-strcmp.c: Remove checking of wcscmp function for
84331         wrong alignments.
84332         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84333         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84334         wcsrchr-sse2 wcsrchr-c.
84335         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84336         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84337         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84338         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84339         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84340         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84341         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84342         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84343         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84344         * wcsmbc/wcschr.c (WCSCHR): New macro.
84346 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84348         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84349         * wcsmbs/test-wcsrchr.c: New file.
84350         * string/test-strrchr.c: Add wcsrchr support.
84351         (WIDE): New macro.
84352         * wcsmbs/test-wcscpy.c: New file.
84353         * string/test-strcpy.c: Add wcscpy support.
84354         (WIDE): New macro.
84356 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84358         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84359         the inner loop.
84361 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84363         [BZ #13472]
84364         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84366 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84368         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84369         Minor optimizations.
84371         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84372         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84373         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84375 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84377         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84378         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84379         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84380         for gcc to avoid warnings.
84381         * inet/Makefile (tests): Add tst-checks.
84382         * inet/tst-checks.c: New file.
84384         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84385         warning.
84387         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84388         __wmemcmp_sse2.
84390         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84391         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84393         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84395 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84397         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84398         problem.
84400         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84402 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84404         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84405         conditional on GCC version.
84406         (__arch_compare_and_exchange_val_8_acq)
84407         (__arch_compare_and_exchange_val_16_acq)
84408         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84409         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84410         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84412 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84414         * sysdeps/sh/backtrace.c: New file.
84416 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84418         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84419         parenthesis.
84421 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84423         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84424         falling back to utime.
84426 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84428         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84429         expectations for float.
84431 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84433         * locale/weight.h (findidx): Add parameter len.
84434         * locale/weightwc.h (findidx): Likewise.
84435         * posix/fnmatch_loop.c (FCT): Adjust caller.
84436         * posix/regcomp.c (build_equiv_class): Likewise.
84437         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84438         * posix/regexec.c (check_node_accept_bytes): Likewise.
84439         * string/strcoll_l.c (STRCOLL): Likewise.
84440         * string/strxfrm_l.c (STRXFRM): Likewise.
84442 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84444         * Makefile.in: Remove CVSOPT handling.
84445         * configure.in: Remove use of AC_REVISION.
84446         * iconvdata/Makefile (distribute): No need to filter out CVS.
84447         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84448         handling.
84450 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84452         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84453         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84454         [USE_AS_STRNCASECMP_L]: Likewise.
84455         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84456         NO_TLS_DIRECT_SEG_REFS.
84457         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84458         Fix argument offsets for non-PIC.
84459         [USE_AS_STRNCASECMP_L]: Likewise.
84460         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84461         NO_TLS_DIRECT_SEG_REFS.
84463 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84465         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84466         O_CLOEXEC.
84467         * locale/loadlocale.c (_nl_load_locale): Likewise.
84469 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84471         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84472         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84473         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84474         (SYSCALL_GETTIME): Set errno on error.
84476         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84477         count references to noai6ai_cached.
84479 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84481         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84483         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84484         FD_CLOEXEC for /proc/self/maps.
84486         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84487         FD_CLOEXEC for /proc/meminfo.
84489         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84490         gai.conf.
84492         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84493         FD_CLOEXEC for given file.
84495         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84497         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84498         FD_CLOEXEC for /etc/hosts.
84499         (_gethtent): Likewise.
84501         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84503         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84504         cancellation and set FD_CLOEXEC for /etc/netgroup.
84506         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84507         reading /etc/publickey.
84509         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84510         allow cancellation when reading /etc/group.
84512         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84513         cancellation.
84514         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84516         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84517         when using data file.
84519         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84521         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84522         (write_nis_obj): Use "c" and "e" in fopen.
84524         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84526         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84528         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84530         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84532         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84533         locale.alias.
84535         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84537         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84539         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84541         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84542         file parsing and set FD_CLOEXEC.
84544 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84546         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84548 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84550         * malloc/arena.c (arena_get2): Don't call reused_arena when
84551         _int_new_arena failed.
84553 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84555         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84556         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84557         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84558         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84559         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84560         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84561         to compile strcasecmp and strncasecmp.
84562         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84563         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84565         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84567 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84569         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84570         locale-defines.sym to gen-as-const-headers.
84571         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84572         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84574         to compile strcasecmp and strncasecmp.
84575         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84576         strcasecmp_l and strncasecmp_l.
84577         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84578         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84579         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84580         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84581         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84582         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84583         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84584         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84585         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84586         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84587         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84589 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84591         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84592         result of SYSDEP_GETTIME_CPU to retval.
84593         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84594         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84596         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84597         variable.
84599         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84600         mantissa words.
84601         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84603         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84604         from unused variable.
84606         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84607         DWARF definitions.
84608         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84609         for assembling.
84611         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84612         over namespaces.
84614         * sunrpc/rpc_prot.c (rejected): Fix case value.
84616         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84617         unsigned long long int to avoid warnings in shift.
84619         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84620         of use of trans.
84621         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84622         variable tmp.
84624         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84625         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84626         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84628         * nis/nis_table.c (nis_list): Use variable of correct type for
84629         result of __follow_path call.
84631 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84633         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84634         of math functions ceil, trunc, floor, round, and sqrt, when
84635         avaliable on the platform.
84636         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84637         name clash.
84638         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84639         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84640         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84642 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84644         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84645         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84647 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84649         * include/unistd.h: Fix __readlink return type.
84650         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84652 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84654         * stdlib/ucontext.h: Undo last change for makecontext.
84656 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84658         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84660         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84661         * setjmp/setjmp.h: Mark functions as non-leaf.
84662         * setjmp/bits/setjmp2.h: Likewise.
84663         * stdlib/ucontext.h: Likewise.
84665 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84667         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84668         (reused_arena): Don't check arena limit.
84669         (arena_get2): Atomically check arena limit.
84671 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84673         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84674         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84677         instructions.
84679 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84681         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84682         handler when locking.
84684         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84685         Fix size of allocated buffer.
84687 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84689         [BZ #10103]
84690         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84691         declarations for long double functions.
84692         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84694         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84696 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84698         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84699         installed.
84701         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84702         is disabled.
84704 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84706         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84708 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84710         * include/alloca.h (stackinfo_alloca_round): Define.
84711         (extend_alloca): Use it.
84712         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84713         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84714         here.
84716         * scripts/check-local-headers.sh: Ignore libaudit.h.
84718         * nscd/Makefile (extra-objs): Make recursively expanded.
84720 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84722         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84723         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84725         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84726         * posix/tst-rfc3484-2.c: Likewise.
84727         * posix/tst-rfc3484-3.c: Likewise.
84729         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84730         process_vm_writev.
84731         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84732         process_vm_writev.
84733         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84734         process_vm_writev from libc using GLIBC_2.15 version.
84736         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84738 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84740         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84741         stack usage.
84743 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84745         [BZ #13367]
84746         * nss/getent.c (initgroups_keys): Show error message in case no group
84747         names are given.
84749         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84750         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84751         __bump_nl_timestamp.
84752         * nscd/connections (nscd_init): When host database is served open
84753         netlink socket and request notification about configuration changes.
84754         (main_loop_poll): Track netlink file descriptor and bump timestamp
84755         in case data becomes available.
84756         (main_loop_epoll): Likewise.
84757         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84758         (database_pers_head): Add extra_data fileds.
84759         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84760         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84761         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84762         Adjust caller.
84763         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84764         in6ai data, call __free_in6ai.
84765         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84766         Add -DHAVE_NETLINK.
84767         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84768         interface information.  Reuse previous data if netlink timestamp
84769         is not changed.
84770         (__bump_nl_timestamp): New function.
84771         (__free_in6ai): New function.
84773 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84775         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84776         close_not_cancel_no_status here.
84777         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84779 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84781         [BZ #13276]
84782         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84783         return value.
84785         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84786         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84787         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84789 2011-07-03  Andreas Jaeger  <aj@suse.de>
84791         [BZ #10709]
84792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84793         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84794         * math/libm-test.inc (sin_test): Add test case.
84796 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84798         [BZ #13337]
84799         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84800         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84802         * elf/chroot_canon.c (chroot_canon): Cleanups.
84804         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84806         [BZ #13335]
84807         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84808         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84810         * string/test-strchr.c: Make usable for strchrnul testing.
84811         * string/test-strchrnul.c: New file.
84812         * string/Makefile (strop-tests): Add strchrnul.
84814         * po/it.po: Update from translation team.
84815         * po/es.po: Likewise.
84817 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84819         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84820         the three constants needed as parameters.  Drop the others.
84821         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84822         __m128i_strloadu_tolower.
84823         Create and initialize variable zero and use it in all the places
84824         where _mm_setzero_si128 was used.
84826         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84827         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84828         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84829         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84830         anymore.
84831         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84832         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84833         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84834         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84835         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84836         __mpranred, __mptan.
84837         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84838         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84839         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84840         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84841         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84842         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84843         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84844         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84845         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84847 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84849         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84850         redefine if SHARED.
84851         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84854         wide char related routines to wcsmbs subdir.
84856 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84858         [BZ #13344]
84859         * misc/sys/cdefs.h (__THROWNL): Define.
84860         * posix/unistd.h: Use __THREADNL instead of __THREAD
84861         for memory synchronization functions.
84863 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84865         [BZ #13349]
84866         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84867         doesn't exist.
84868         * manual/stdio.texi (Obstack Streams): Node removed.
84870 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84872         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84873         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84874         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84876         * math/math_private.h (math_force_eval): Allow non-addressable
84877         arguments.
84878         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84880 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84882         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84883         file is not needed.
84885         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84886         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84887         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84888         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84889         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84890         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84891         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84892         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84893         Add AVX variants.
84894         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84895         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84896         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84897         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84898         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84899         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84900         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84901         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84902         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84903         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84904         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84905         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84906         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84907         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84908         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84909         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84910         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84911         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84912         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84914         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84915         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84917         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84918         place.  Use VEX encoding when compiling for AVX.
84920 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84922         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84923         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84925         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84927 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84929         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84930         useless if() expression.
84931         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84932         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84933         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84934         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84935         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84936         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84937         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84938         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84939         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84940         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84941         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84942         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84943         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84944         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84945         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84946         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84947         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84948         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84949         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84951         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84953 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84955         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84956         condition.
84957         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84959 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84961         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84962         .text section.  Avoid duplicate constants.
84963         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84965         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84966         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84967         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84969         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84971         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84972         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84973         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84974         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84975         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84976         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84977         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84978         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84979         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84980         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84981         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84983         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84984         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84985         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84986         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84987         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84988         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84989         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84990         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84991         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84992         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84993         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84994         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84995         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84996         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84997         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84998         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84999         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85000         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85001         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85002         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85003         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85004         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85005         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85006         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85007         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85009 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85011         * sysdeps/x86_64/dla.h: Move to ...
85012         * sysdeps/x86_64/fpu/dla.h: ...here.
85013         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85014         situations.  Use __builtin_fma only for gcc 4.6 and up.
85016         * config.make.in: Add have-mfma4 entry.
85017         * configure.in: Substitute libc_cv_cc_fma4.
85018         * math/Makefile (dbl-only-routines): Add sincostab.
85019         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85020         Use __sincostab not sincos.
85021         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85022         name is a macro.
85023         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85027         using __copysign.
85028         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85029         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85030         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85031         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85032         and __inv.
85033         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85034         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85035         __copysign.
85036         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85037         define aliases when function name is a macro.
85038         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85039         sysdeps/ieee754/dbl-64/sincos.tbl.
85040         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85041         fma4-enabled routines.
85042         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85043         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85044         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85045         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85046         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85047         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85049         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85050         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85051         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85052         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85053         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85054         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85055         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85056         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85057         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85058         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85059         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85060         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85061         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85062         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85063         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85064         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85065         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85066         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85067         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85068         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85069         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85070         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85071         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85073         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85074         rename.
85075         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85076         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85077         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85079         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85084 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85086         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85088 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85090         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85092         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85093         prediction.
85094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85096         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85097         Remove unused variable magic_bits.
85098         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85100         * string/strnlen.c: Define and use STRNLEN macro.
85101         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85102         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85104         * wcsmbs/wcslen.c: Define and use WCSLEN.
85105         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85106         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85107         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85108         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85109         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85110         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85111         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85113 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85116         strnlen-sse2-no-bsf.
85117         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85118         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85119         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85120         Add strnlen support.
85121         (USE_AS_STRNLEN): New macro.
85122         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85124         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85125         * sysdeps/x86_64/wcslen.S: New file.
85127 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85129         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85130         XMM-moves are used for copying on small sizes.
85132 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85134         * wcsmbs/Makefile (strop-tests): Add wcschr.
85135         * wcsmbs/test-wcschr.c: New file.
85136         * string/test-strchr.c: Update.
85137         Add wcschr support.
85138         (WIDE): New macro.
85140 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85142         * wcsmbs/Makefile (strop-tests): Add wcslen.
85143         * wcsmbs/test-wcslen.c: New file.
85144         * string/test-strlen.c: Update.
85145         Add wcslen support.
85146         (WIDE): New macro.
85148 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85150         * po/it.po: Update from translation team.
85152 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85154         * sysdeps/x86_64/wcscmp.S: Update.
85155         Fix wrong comparison semantics.
85156         wcscmp shall use signed comparison not unsigned.
85157         Don't use substraction to avoid overflow bug.
85158         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85159         * wcsmbc/wcscmp.c: Likewise.
85160         * string/test-strcmp.c: Likewise.
85161         Add new tests to check cases with negative values.
85163 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85165         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85166         * sysdeps/x86_64/dla.h: ...here.  New file.
85167         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85168         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85172         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85173         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85177 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85179         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85180         __ynl_finite aliases.
85182 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85186         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85187         define DLA_FMA.
85188         [DLA_FMA] (EMULV): Use DLA_FMA.
85189         [DLA_FMA] (MUL12): Use EMULV.
85190         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85191         that are not needed.
85192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85196         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85197         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85200 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85202         * math/s_nan.c: Undef __nan.
85203         * math/s_nanf.c: Undef __nanf.
85204         * math/s_nanl.c: Undef __nanl.
85205         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85206         "math_private.h".
85208 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85210         * math/s_catan.c: Add branch predictions.
85211         * math/s_catanf.c: Likewise.
85212         * math/s_catanh.c: Likewise.
85213         * math/s_catanhf.c: Likewise.
85214         * math/s_catanhl.c: Likewise.
85215         * math/s_catanl.c: Likewise.
85216         * math/s_cexp.c: Likewise.
85217         * math/s_cexpf.c: Likewise.
85218         * math/s_cexpl.c: Likewise.
85219         * math/s_clog.c: Likewise.
85220         * math/s_clog10.c: Likewise.
85221         * math/s_clog10f.c: Likewise.
85222         * math/s_clog10l.c: Likewise.
85223         * math/s_clogf.c: Likewise.
85224         * math/s_clogl.c: Likewise.
85225         * math/s_csqrt.c: Likewise.
85226         * math/s_csqrtf.c: Likewise.
85227         * math/s_csqrtl.c: Likewise.
85228         * math/s_ctanf.c: Likewise.
85229         * math/s_ctanh.c: Likewise.
85230         * math/s_ctanhf.c: Likewise.
85231         * math/s_ctanhl.c: Likewise.
85232         * math/s_ctanl.c: Likewise.
85234         * math/math_private.h: Define __nan, __nanf, __nanl.
85235         * math/s_cacosh.c: Include <math_private.h>.
85236         * math/s_cacoshl.c: Likewise.
85237         * math/s_casinh.c: Likewise.
85238         * math/s_casinhf.c: Likewise.
85239         * math/s_casinhl.c: Likewise.
85240         * math/s_ccos.c: Rely entire on ccosh.
85241         * math/s_ccosf.c: Rely entire on ccoshf.
85242         * math/s_ccosl.c: Rely entirely on ccoshl.
85243         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85244         Remove tests for FE_INVALID.
85245         * math/s_ccoshf.c: Likewise.
85246         * math/s_ccoshl.c: Likewise.
85247         * math/s_csin.c: Likewise.
85248         * math/s_csinf.c: Likewise.
85249         * math/s_csinh.c Likewise.
85250         * math/s_csinhf.c: Likewise.
85251         * math/s_csinhl.c: Likewise.
85252         * math/s_csinl.c: Likewise.
85253         * math/s_ctan.c: Likewise.
85254         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85255         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85256         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85258 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85261         compilation problems.
85263         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85264         __builtin_expect.
85266 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85268         * sysdeps/i386/configure.in: Test for -mfma4 option.
85269         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85270         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85271         COMMON_CPUID_INDEX_80000001.
85272         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85273         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85274         use it if FMA3 is not supported.
85275         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85277         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85278         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85280 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85282         [BZ #12892]
85283         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85284         it would create a cycle with a link time dependency.
85286 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85288         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85289         instruction.
85290         * string/Makefile (strop-tests): Add rawmemchr.
85291         * string/test-rawmemchr.c: New file.
85293         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85295         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85296         when compiling str{,n}casecmp and when AVX is available.  Hook up
85297         new optimized code in initializers.
85299 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85301         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85302         __feraiseexcept instead of feraiseexcept.
85304 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85306         * math/math_private.h: Define defaults for libc_fetestexcept and
85307         libc_feupdateenv.
85308         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85309         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85310         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85311         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85312         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85313         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85314         libc_fetestexcept and libc_feupdateenv.
85316         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85317         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85318         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85319         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85320         libc_feholdexcept_setround.
85322         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85323         Add s_nearbyint-c and s_nearbyintf-c.
85324         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85325         nearbyintf inlines.
85326         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85327         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85328         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85329         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85331         * math/math_private.h: Define defaults for libc_fegetround,
85332         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85333         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85334         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85335         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85336         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85337         standard functions.
85338         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85339         Remove comments and hacks for old compiler versions.
85340         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85341         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85342         libc_feholdexceptl.
85344 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85346         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85347         (__feraiseexcept_renamed): Add __NTH.
85348         (feraiseexcept): Add __NTH.  Rename local variables to fix
85349         namespace violations.
85351 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85353         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85355         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85357         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85358         recently added interfaces.
85359         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85361         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85362         about macro parameter expansion.
85364         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85365         __NO_MATH_INLINES is defined.  Cleanups.
85367         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85368         and __floorf is target has SSE4.1.
85369         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85370         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85371         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85372         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85374         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85375         name.
85376         (floorf): Likewise.
85378         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85380 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85382         * misc/sys/cdefs.h: Fix last change.
85384         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85385         database lookup.
85387 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85389         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85391         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85392         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85393         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85394         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85395         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85396         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85397         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85398         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85399         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85400         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85401         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85402         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85403         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85404         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85405         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85406         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85407         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85408         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85409         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85410         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85411         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85412         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85414         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85415         ceil, ceilf, floor, floorf.
85417         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85418         Perform IRELATIVE relocations last.
85420         * elf/do-rel.h: Add another parameter nrelative, replacing the
85421         local variable with the same name.  Change name of the function
85422         to end in Rel or Rela (uppercase).
85423         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85424         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85425         elf_dynamic_do_##reloc function.
85427 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85429         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85430         is sufficient, at least on modern CPUs.
85432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85434         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85435         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85437         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85438         __expl_finite.
85439         * math/bits/math-finite.h: Add entries for exp.
85440         * math/e_expl.c: Add __*_finite alias.
85441         * sysdeps/i386/fpu/e_exp.S: Likewise.
85442         * sysdeps/i386/fpu/e_expf.S: Likewise.
85443         * sysdeps/i386/fpu/e_expl.c: Likewise.
85444         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85445         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85446         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85448         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85449         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85450         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85452         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85453         is sufficient, at least on modern CPUs.
85455         * ctype/ctype-info.c (__ctype_init): Define.
85456         * include/ctype.h (__ctype_init): Declare.
85457         (__ctype_b_loc): The variable is always initialized.
85458         (__ctype_toupper_loc): Likewise.
85459         (__ctype_tolower_loc): Likewise.
85460         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85461         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85463 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85465         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85467         * configure.in: Also look in $cxxmachine/include for C++ system
85468         headers.
85470 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85472         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85473         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85474         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85475         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85476         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85477         (USE_AS_WMEMCMP): New macro.
85478         Fixing indents.
85479         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85480         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85481         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85482         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85484         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85485         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85486         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85487         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85488         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85489         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85490         (USE_AS_WMEMCMP): New macro.
85491         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85492         * sysdeps/string/test-memcmp.c: Update.
85493         Fix simple_wmemcmp.
85494         Add new tests.
85495         * wcsmbs/wmemcmp.c: Update.
85496         (WMEMCMP): New macro.
85497         Fix overflow bug.
85499 2011-10-12  Andreas Jaeger  <aj@suse.de>
85501         [BZ #13268]
85502         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85504 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85506         * libio/iofwide.c (do_length): Avoid warning.
85508         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85510 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85512         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85514         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85515         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85516         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85517         * sysdeps/i386/i686/fpu/e_log.S: New file.
85518         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85519         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85521         * ctype/ctype.h: Add support for inlined isXXX functions when
85522         compiling C++ code.
85524 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85526         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85528         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85530 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85532         [BZ #13291]
85533         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85535 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85537         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85538         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85539         feraiseexcept.
85541         * sysdeps/x86_64/memrchr.S: Check for zero size.
85543         * string/stratcliff.c: Add memrchr tests.
85545 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85547         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85548         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85549         rawmemchr-sse2 rawmemchr-sse2-bsf.
85550         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85551         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85552         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85553         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85554         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85555         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85556         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85557         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85558         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85559         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85560         * string/memrchr.c (MEMRCHR): New macro.
85562 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85564         Add integration with gcc's -ffinite-math-only and optimize wrapper
85565         functions in libm.
85566         * Versions.def: Define GLIBC_2.15 version for libm.
85567         * math/Makefile (headers): Add bits/math-finite.h.
85568         * math/bits/math-finite.h: New file.
85569         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85570         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85571         * math/e_acoshl.c: Add __*_finite alias.
85572         * math/e_acosl.c: Likewise.
85573         * math/e_asinl.c: Likewise.
85574         * math/e_atan2l.c: Likewise.
85575         * math/e_atanhl.c: Likewise.
85576         * math/e_coshl.c: Likewise.
85577         * math/e_exp10.c: Likewise.
85578         * math/e_exp10f.c: Likewise.
85579         * math/e_exp10l.c: Likewise.
85580         * math/e_exp2l.c: Likewise.
85581         * math/e_fmodl.c: Likewise.
85582         * math/e_gammal_r.c: Likewise.
85583         * math/e_hypotl.c: Likewise.
85584         * math/e_j0l.c: Likewise.
85585         * math/e_j1l.c: Likewise.
85586         * math/e_jnl.c: Likewise.
85587         * math/e_lgammal_r.c: Likewise.
85588         * math/e_log10l.c: Likewise.
85589         * math/e_log2l.c: Likewise.
85590         * math/e_logl.c: Likewise.
85591         * math/e_powl.c: Likewise.
85592         * math/e_sinhl.c: Likewise.
85593         * math/e_sqrtl.c: Likewise.
85594         * math/e_scalb.c: Completely rewritten and optimized.
85595         * math/e_scalbf.c: Likewise.
85596         * math/e_scalbl.c: Likewise.
85597         * math/w_acos.c: Likewise.
85598         * math/w_acosf.c: Likewise.
85599         * math/w_acosl.c: Likewise.
85600         * math/w_acosh.c: Likewise.
85601         * math/w_acoshf.c: Likewise.
85602         * math/w_acoshl.c: Likewise.
85603         * math/w_asin.c: Likewise.
85604         * math/w_asinf.c: Likewise.
85605         * math/w_asinl.c: Likewise.
85606         * math/w_atan2.c: Likewise.
85607         * math/w_atan2f.c: Likewise.
85608         * math/w_atan2l.c: Likewise.
85609         * math/w_atanh.c: Likewise.
85610         * math/w_atanhf.c: Likewise.
85611         * math/w_atanhl.c: Likewise.
85612         * math/w_exp10.c: Likewise.
85613         * math/w_exp10f.c: Likewise.
85614         * math/w_exp10l.c: Likewise.
85615         * math/w_fmod.c: Likewise.
85616         * math/w_fmodf.c: Likewise.
85617         * math/w_fmodl.c: Likewise.
85618         * math/w_j0.c: Likewise.
85619         * math/w_j0f.c: Likewise.
85620         * math/w_j0l.c: Likewise.
85621         * math/w_j1.c: Likewise.
85622         * math/w_j1f.c: Likewise.
85623         * math/w_j1l.c: Likewise.
85624         * math/w_jn.c: Likewise.
85625         * math/w_jnf.c: Likewise.
85626         * math/w_log.c: Likewise.
85627         * math/w_logf.c: Likewise.
85628         * math/w_logl.c: Likewise.
85629         * math/w_log10.c: Likewise.
85630         * math/w_log10f.c: Likewise.
85631         * math/w_log10l.c: Likewise.
85632         * math/w_log2.c: Likewise.
85633         * math/w_log2f.c: Likewise.
85634         * math/w_log2l.c: Likewise.
85635         * math/w_pow.c: Likewise.
85636         * math/w_powf.c: Likewise.
85637         * math/w_powl.c: Likewise.
85638         * math/w_remainder.c: Likewise.
85639         * math/w_remainderf.c: Likewise.
85640         * math/w_remainderl.c: Likewise.
85641         * math/w_scalb.c: Likewise.
85642         * math/w_scalbf.c: Likewise.
85643         * math/w_scalbl.c: Likewise.
85644         * math/w_sqrt.c: Likewise.
85645         * math/w_sqrtf.c: Likewise.
85646         * math/w_sqrtl.c: Likewise.
85647         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85648         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85649         used.
85650         * math/math_private.h: Declare __kernel_standard_f.
85651         * math/w_cosh.c: Remove cruft and optimize a bit.
85652         * math/w_coshf.c: Likewise.
85653         * math/w_coshl.c: Likewise.
85654         * math/w_exp2.c: Likewise.
85655         * math/w_exp2f.c: Likewise.
85656         * math/w_exp2l.c: Likewise.
85657         * math/w_hypot.c: Likewise.
85658         * math/w_hypotf.c: Likewise.
85659         * math/w_hypotl.c: Likewise.
85660         * math/w_lgamma.c: Likewise.
85661         * math/w_lgamma_r.c: Likewise.
85662         * math/w_lgammaf.c: Likewise.
85663         * math/w_lgammaf_r.c: Likewise.
85664         * math/w_lgammal.c: Likewise.
85665         * math/w_lgammal_r.c: Likewise.
85666         * math/w_sinh.c: Likewise.
85667         * math/w_sinhf.c: Likewise.
85668         * math/w_sinhl.c: Likewise.
85669         * math/w_tgamma.c: Likewise.
85670         * math/w_tgammaf.c: Likewise.
85671         * math/w_tgammal.c: Likewise.
85672         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85674         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85675         Minor optimizations.  Pretty printing.  Remove cruft.
85676         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85677         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85678         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85679         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85680         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85681         * sysdeps/i386/fpu/e_asin.S: Likewise.
85682         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85683         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85684         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85685         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85686         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85687         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85688         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85689         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85690         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85691         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85692         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85693         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85694         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85695         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85696         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85697         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85698         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85699         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85700         * sysdeps/i386/fpu/e_log.S: Likewise.
85701         * sysdeps/i386/fpu/e_log10.S: Likewise.
85702         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85703         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85704         * sysdeps/i386/fpu/e_log2.S: Likewise.
85705         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85706         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85707         * sysdeps/i386/fpu/e_logf.S: Likewise.
85708         * sysdeps/i386/fpu/e_logl.S: Likewise.
85709         * sysdeps/i386/fpu/e_pow.S: Likewise.
85710         * sysdeps/i386/fpu/e_powf.S: Likewise.
85711         * sysdeps/i386/fpu/e_powl.S: Likewise.
85712         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85713         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85714         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85715         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85716         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85717         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85718         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85719         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85720         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85721         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85722         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85724         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85725         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85726         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85727         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85728         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85729         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85730         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85731         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85732         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85734         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85735         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85736         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85737         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85738         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85739         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85740         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85741         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85742         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85743         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85744         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85745         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85746         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85747         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85748         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85749         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85750         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85751         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85752         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85753         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85754         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85755         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85756         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85757         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85758         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85759         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85760         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85761         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85762         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85763         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85764         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85765         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85766         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85767         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85768         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85769         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85770         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85771         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85772         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85773         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85774         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85776         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85777         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85778         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85779         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85780         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85781         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85782         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85783         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85785         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85787         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85791         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85792         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85795         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85796         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85797         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85798         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85800         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85802         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85803         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85804         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85805         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85807         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85808         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85809         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85810         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85811         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85812         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85813         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85814         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85815         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85816         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85817         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85818         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85819         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85820         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85821         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85822         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85823         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85824         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85825         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85826         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85827         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85828         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85829         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85830         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85831         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85832         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85833         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85834         (__isnanf): Likewise.
85835         (__isinf_ns): Likewise.
85836         (__isinf_nsf): Likewise.
85837         (__finite): Likewise.
85838         (__finitef): Likewise.
85839         (__ieee754_sqrt): Define as macro.
85840         (__ieee754_sqrtf): Define as macro.
85841         (__ieee754_sqrtl): Define as macro.
85842         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85843         inlined copy.
85844         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85845         __FINITE_MATH_ONLY__ consistent.
85846         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85848 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85850         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85851         of rawmemchr.
85853         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85855 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85857         * po/ja.po: Update from translation team.
85859 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85861         * locale/programs/locarchive.c (prepare_address_space): New function.
85862         (create_archive, enlarge_archive, open_archive): Use it.
85864         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85865         inside [SHARED], where it is used.
85867         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85869         * nss/getent.c (netgroup_keys): Remove unused variable.
85870         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85872 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85874         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85875         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85877         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85878         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85879         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85880         * math/Makefile (libm-calls): Add s_isinf_ns.
85881         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85882         * math/multc3.c: Likewise.
85883         * math/s_casin.c: Likewise.
85884         * math/s_casinf.c: Likewise.
85885         * math/s_casinl.c: Likewise.
85886         * math/s_ccos.c: Likewise.
85887         * math/s_ccosf.c: Likewise.
85888         * math/s_ccosl.c: Likewise.
85889         * math/s_ctan.c: Likewise.
85890         * math/s_ctanf.c: Likewise.
85891         * math/s_ctanh.c: Likewise.
85892         * math/s_ctanhf.c: Likewise.
85893         * math/s_ctanhl.c: Likewise.
85894         * math/s_ctanl.c: Likewise.
85895         * math/w_fmod.c: Likewise.
85896         * math/w_fmodf.c: Likewise.
85897         * math/w_fmodl.c: Likewise.
85898         * math/w_remainder.c: Likewise.
85899         * math/w_remainderf.c: Likewise.
85900         * math/w_remainderl.c: Likewise.
85901         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85902         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85903         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85905         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85906         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85907         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85908         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85910         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85911         of the number.
85912         * stdio-common/printf_fphex.c: Likewise.
85913         * stdio-common/printf_size.c: Likewise.
85915         * math/e_exp10.c: Include math_private.h using <...> not "...".
85916         * math/e_exp10f.c: Likewise.
85917         * math/e_exp10l.c: Likewise.
85918         * math/e_exp2l.c: Likewise.
85919         * math/e_j0l.c: Likewise.
85920         * math/e_j1l.c: Likewise.
85921         * math/e_jnl.c: Likewise.
85922         * math/e_lgammal_r.c: Likewise.
85923         * math/e_rem_pio2l.c: Likewise.
85924         * math/e_scalb.c: Likewise.
85925         * math/e_scalbf.c: Likewise.
85926         * math/e_scalbl.c: Likewise.
85927         * math/k_cosl.c: Likewise.
85928         * math/k_sinl.c: Likewise.
85929         * math/k_tanl.c: Likewise.
85930         * math/s_cacoshf.c: Likewise.
85931         * math/s_catan.c: Likewise.
85932         * math/s_catanf.c: Likewise.
85933         * math/s_catanh.c: Likewise.
85934         * math/s_catanhf.c: Likewise.
85935         * math/s_catanhl.c: Likewise.
85936         * math/s_catanl.c: Likewise.
85937         * math/s_ccosh.c: Likewise.
85938         * math/s_ccoshf.c: Likewise.
85939         * math/s_ccoshl.c: Likewise.
85940         * math/s_cexp.c: Likewise.
85941         * math/s_cexpf.c: Likewise.
85942         * math/s_cexpl.c: Likewise.
85943         * math/s_clog.c: Likewise.
85944         * math/s_clog10.c: Likewise.
85945         * math/s_clog10f.c: Likewise.
85946         * math/s_clog10l.c: Likewise.
85947         * math/s_clogf.c: Likewise.
85948         * math/s_clogl.c: Likewise.
85949         * math/s_csin.c: Likewise.
85950         * math/s_csinf.c: Likewise.
85951         * math/s_csinh.c: Likewise.
85952         * math/s_csinhf.c: Likewise.
85953         * math/s_csinhl.c: Likewise.
85954         * math/s_csinl.c: Likewise.
85955         * math/s_csqrt.c: Likewise.
85956         * math/s_csqrtf.c: Likewise.
85957         * math/s_csqrtl.c: Likewise.
85958         * math/s_ctan.c: Likewise.
85959         * math/s_ctanf.c: Likewise.
85960         * math/s_ctanh.c: Likewise.
85961         * math/s_ctanhf.c: Likewise.
85962         * math/s_ctanhl.c: Likewise.
85963         * math/s_ctanl.c: Likewise.
85964         * math/s_ldexp.c: Likewise.
85965         * math/s_ldexpf.c: Likewise.
85966         * math/s_ldexpl.c: Likewise.
85967         * math/s_significand.c: Likewise.
85968         * math/s_significandf.c: Likewise.
85969         * math/s_significandl.c: Likewise.
85970         * math/w_acos.c: Likewise.
85971         * math/w_acosf.c: Likewise.
85972         * math/w_acosh.c: Likewise.
85973         * math/w_acoshf.c: Likewise.
85974         * math/w_acoshl.c: Likewise.
85975         * math/w_acosl.c: Likewise.
85976         * math/w_asin.c: Likewise.
85977         * math/w_asinf.c: Likewise.
85978         * math/w_asinl.c: Likewise.
85979         * math/w_atan2.c: Likewise.
85980         * math/w_atan2f.c: Likewise.
85981         * math/w_atan2l.c: Likewise.
85982         * math/w_atanh.c: Likewise.
85983         * math/w_atanhf.c: Likewise.
85984         * math/w_atanhl.c: Likewise.
85985         * math/w_cosh.c: Likewise.
85986         * math/w_coshf.c: Likewise.
85987         * math/w_coshl.c: Likewise.
85988         * math/w_dremf.c: Likewise.
85989         * math/w_exp10.c: Likewise.
85990         * math/w_exp10f.c: Likewise.
85991         * math/w_exp10l.c: Likewise.
85992         * math/w_exp2.c: Likewise.
85993         * math/w_exp2f.c: Likewise.
85994         * math/w_fmod.c: Likewise.
85995         * math/w_fmodf.c: Likewise.
85996         * math/w_fmodl.c: Likewise.
85997         * math/w_hypot.c: Likewise.
85998         * math/w_hypotf.c: Likewise.
85999         * math/w_hypotl.c: Likewise.
86000         * math/w_j0.c: Likewise.
86001         * math/w_j0f.c: Likewise.
86002         * math/w_j0l.c: Likewise.
86003         * math/w_j1.c: Likewise.
86004         * math/w_j1f.c: Likewise.
86005         * math/w_j1l.c: Likewise.
86006         * math/w_jn.c: Likewise.
86007         * math/w_jnf.c: Likewise.
86008         * math/w_jnl.c: Likewise.
86009         * math/w_lgamma.c: Likewise.
86010         * math/w_lgamma_r.c: Likewise.
86011         * math/w_lgammaf.c: Likewise.
86012         * math/w_lgammaf_r.c: Likewise.
86013         * math/w_lgammal.c: Likewise.
86014         * math/w_lgammal_r.c: Likewise.
86015         * math/w_log.c: Likewise.
86016         * math/w_log10.c: Likewise.
86017         * math/w_log10f.c: Likewise.
86018         * math/w_log10l.c: Likewise.
86019         * math/w_log2.c: Likewise.
86020         * math/w_log2f.c: Likewise.
86021         * math/w_log2l.c: Likewise.
86022         * math/w_logf.c: Likewise.
86023         * math/w_logl.c: Likewise.
86024         * math/w_pow.c: Likewise.
86025         * math/w_powf.c: Likewise.
86026         * math/w_powl.c: Likewise.
86027         * math/w_remainder.c: Likewise.
86028         * math/w_remainderf.c: Likewise.
86029         * math/w_remainderl.c: Likewise.
86030         * math/w_scalb.c: Likewise.
86031         * math/w_scalbf.c: Likewise.
86032         * math/w_scalbl.c: Likewise.
86033         * math/w_sinh.c: Likewise.
86034         * math/w_sinhf.c: Likewise.
86035         * math/w_sinhl.c: Likewise.
86036         * math/w_sqrt.c: Likewise.
86037         * math/w_sqrtf.c: Likewise.
86038         * math/w_sqrtl.c: Likewise.
86039         * math/w_tgamma.c: Likewise.
86040         * math/w_tgammaf.c: Likewise.
86041         * math/w_tgammal.c: Likewise.
86043         * po/ja.po: Update from translation team.
86045 2011-09-29  Andreas Jaeger  <aj@suse.de>
86047         [BZ #13179]
86048         * sunrpc/netname.c (netname2host): Fix logic.
86050         [BZ #6779]
86051         [BZ #6783]
86052         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86053         correctly.
86054         * math/w_remainder.c (__remainder): Likewise.
86055         * math/w_remainderf.c (__remainderf): Likewise.
86056         * math/libm-test.inc (remainder_test): Add test cases.
86058 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86060         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86061         sdiv_qrnnd.
86063 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86065         * string/test-memcmp.c: Avoid unncessary #defines.
86066         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86068 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86070         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86071         Use new sse2 version for core i3 - i7 as it's faster
86072         than sse42 version.
86073         (bit_Prefer_PMINUB_for_stringop): New.
86074         * sysdeps/x86_64/rawmemchr.S: Update.
86075         Replace with faster SSE2 version.
86076         * sysdeps/x86_64/memrchr.S: New file.
86077         * sysdeps/x86_64/memchr.S: Update.
86078         Replace with faster SSE2 version.
86080 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86082         * elf/dl-load.c (lose): Add cast to avoid warning.
86084 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86086         * po/ca.po: Update from translation team.
86088         * inet/getnetgrent_r.c: Hook up nscd.
86089         * nscd/Makefile (routines): Add nscd_netgroup.
86090         (nscd-modules): Add netgroupcache.
86091         (CFLAGS-netgroupcache.c): Define.
86092         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86093         (cache_search): Add const to second parameter.
86094         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86095         INNETGR.
86096         (dbs): Add netgrdb entry.
86097         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86098         (verify_persistent_db): Handle netgrdb.
86099         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86100         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86101         GETFDNETGR.
86102         (netgroup_response_header): Define.
86103         (innetgroup_response_header): Define.
86104         (datahead): Add netgroup_response_header and innetgroup_response_header
86105         elements.
86106         * nscd/nscd.conf: Add entries for netgroup cache.
86107         * nscd/nscd.h (dbtype): Add netgrdb.
86108         (_PATH_NSCD_NETGROUP_DB): Define.
86109         (netgroup_iov_disabled): Declare.
86110         (xmalloc, xcalloc, xrealloc): Move declarations here.
86111         (cache_search): Adjust prototype.
86112         Add netgroup-related prototypes.
86113         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86114         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86115         (__nscd_innetgr): Declare.
86116         * nscd/selinux.c (perms): Use access_vector_t as element type and
86117         add netgroup-related initializers.
86118         * nscd/netgroupcache.c: New file.
86119         * nscd/nscd_netgroup.c: New file.
86120         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86121         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86122         For four parameters use innetgr.
86123         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86124         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86125         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86126         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86128         * nscd/connections.c (register_traced_file): Don't register file
86129         for disabled databases.
86131 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86133         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86135         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86136         from tree and freeing node.
86138 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86140         * nss/nsswitch.c (__nss_database_lookup): Handle
86141         nss_parse_service_list out of memory case.
86143 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86145         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86146         out of memory case.
86148 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86150         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86151         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86152         pass it down.
86153         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86154         elf_machine_rela, elf_machine_lazy_rel.
86155         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86156         (ELF_DYNAMIC_DO_REL): Likewise.
86157         (ELF_DYNAMIC_DO_RELA): Likewise.
86158         (ELF_DYNAMIC_RELOCATE): Likewise.
86159         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86160         to ELF_DYNAMIC_DO_REL.
86161         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86162         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86163         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86164         elf_machine_rela.
86165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86166         skip_ifunc, don't call ifunc function if non-zero.
86167         (elf_machine_rela): Likewise.
86168         (elf_machine_lazy_rel): Likewise.
86169         (elf_machine_lazy_rela): Likewise.
86170         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86171         (elf_machine_lazy_rel): Likewise.
86172         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86173         Likewise.
86174         (elf_machine_lazy_rel): Likewise.
86175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86176         Likewise.
86177         (elf_machine_lazy_rel): Likewise.
86178         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86179         (elf_machine_lazy_rel): Likewise.
86180         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86181         (elf_machine_lazy_rel): Likewise.
86182         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86183         (elf_machine_lazy_rel): Likewise.
86184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86185         (elf_machine_lazy_rel): Likewise.
86186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86187         (elf_machine_lazy_rel): Likewise.
86188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86189         (elf_machine_lazy_rel): Likewise.
86191 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86193         * nss/nss_files/files-init.c (_nss_files_init): Use static
86194         initialization for all the *_traced_file variables.
86196 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86198         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86200 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86202         [BZ #13226]
86203         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86205 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86207         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86208         Reread the line before reparsing it.
86210 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86212         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86214 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86215             Maxim Kuvyrkov  <maxim@codesourcery.com>
86216             Joseph Myers  <joseph@codesourcery.com>
86218         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86219         if needed for __stack_chk_guard.
86221 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86223         * sysdeps/posix/spawni.c (script_execute): Always define it.
86224         It will be optimized away if unused.
86225         (maybe_script_execute): New function.
86226         (__spawni): Call it.
86228         * Makerules: Don't include tls.make.
86229         (config-tls): Always set to thread.
86230         * tls.make.c: File removed.
86232 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86234         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86235         * config.make.in (CPPFLAGS-config): New substituted variable.
86237 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86239         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86241         [BZ #13192]
86242         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86243         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86245 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86247         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86248         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86249         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86250         (CALL_FAIL): Likewise.
86251         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86252         (CALL_FAIL): Macro removed.
86253         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86255 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86257         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86258         for __FINITE_MATH_ONLY__ == 1.
86260 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86262         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86263         __ieee754_sqrt instead of sqrt.
86264         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86265         __ieee754_sqrtf instead of sqrtf.
86266         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86267         __floorf instead of floorf.
86268         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86269         __floorf, __truncf instead of floorf, truncf.
86271 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86273         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86275         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86276         __extern_always_inline.
86277         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86278         32-bit.
86280 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86282         * elf/rtld.c (dl_main): Also relocate in dependency order when
86283         doing symbol dependency testing.
86285 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86288         Always define `refsym'.
86290 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86292         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86293         (__FD_ELT): Renamed from __FDELT.
86294         * misc/bits/select2.h (__FD_ELT): Likewise.
86295         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86296         __FD_MASK instead of __FDELT, __FDMASK.
86297         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86298         Likewise.
86299         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86300         Likewise.
86302         * elf/Makefile (gen-ldd): Fix pattern.
86304         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86305         (init_tls): Likewise.
86307 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86309         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86311 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86313         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86314         `struct cmsghdr *' instead of `void *'.
86315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86316         Likewise.
86318 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86320         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86321         if non-absolute.
86322         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86323         ldd_rewrite_script.
86325 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86327         * configure.in: Remove --with-tls option.
86328         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86329         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86330         out in case it is missing.
86331         * sysdeps/ia64/elf/configure.in: Likewise.
86332         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86333         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86334         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86335         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86336         * sysdeps/sh/elf/configure.in: Likewise.
86337         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86338         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86339         * sysdeps/x86_64/elf/configure.in: Likewise.
86340         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86341         * sysdeps/mach/hurd/tls.h: Likewise.
86343         [BZ #13067]
86344         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86346         [BZ #13090]
86347         * configure.in: Fix use of AC_INIT.
86349         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86351 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86353         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86354         __set_errno.
86355         * malloc/hooks.c: Likewise.
86357         [BZ #11929]
86358         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86359         variables statically.
86360         (narenas): Initialize.
86361         (list_lock): Initialize.
86362         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86363         initializtion of main_arena and list_lock.  Small cleanups.
86364         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86365         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86366         Add initializers to main_arena and mp_.
86367         (malloc_state): Remove pagesize member.  Change all users to use
86368         GLRO(dl_pagesize).
86370         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86371         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86372         is always initialized.
86374         * malloc/malloc.c: Removed unused configurations and dead code.
86375         * malloc/arena.c: Likewise.
86376         * malloc/hooks.c: Likewise.
86377         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86379         * include/tls.h: Removed.  USE___THREAD must always be defined.
86380         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86381         * elf/dl-libc.c: Likewise.
86382         * elf/dl-tsd.c: Likewise.
86383         * include/errno.h: Likewise.
86384         * include/netdb.h: Likewise.
86385         * include/resolv.h: Likewise.
86386         * inet/herrno-loc.c: Likewise.
86387         * inet/herrno.c: Likewise.
86388         * malloc/arena.c: Likewise.
86389         * malloc/hooks.c: Likewise.
86390         * malloc/malloc.c: Likewise.
86391         * resolv/res-state.c: Likewise.
86392         * resolv/res_libc.c: Likewise.
86393         * sysdeps/i386/dl-machine.h: Likewise.
86394         * sysdeps/ia64/dl-machine.h: Likewise.
86395         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86396         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86397         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86398         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86399         * sysdeps/sh/dl-machine.h: Likewise.
86400         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86401         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86402         * sysdeps/unix/i386/sysdep.S: Likewise.
86403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86404         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86408         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86409         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86413         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86414         * sysdeps/x86_64/dl-machine.h: Likewise.
86415         * tls.make.c: Likewise.
86417         * configure.in: Remove --with-__thread option.  Make tests for
86418         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86419         tls_model attribute fail if no support is available.  Remove
86420         USE_IN_LIBIO.
86421         * Makeconfig: Adjust for dropped configure option.  All features are
86422         now mandatory.
86423         * Makerules: Likewise.
86424         * Versions.def: Likewise.
86425         * argp/argp-fmtstream.c: Likewise.
86426         * argp/argp-fmtstream.h: Likewise.
86427         * argp/argp-help.c: Likewise.
86428         * assert/assert.c: Likewise.
86429         * config.h.in: Likewise.
86430         * config.make.in: Likewise.
86431         * configure: Likewise.
86432         * configure.in: Likewise.
86433         * csu/Versions: Likewise.
86434         * csu/init.c: Likewise.
86435         * elf/tst-audit2.c: Likewise.
86436         * elf/tst-tls10.c: Likewise.
86437         * elf/tst-tls10.h: Likewise.
86438         * elf/tst-tls11.c: Likewise.
86439         * elf/tst-tls12.c: Likewise.
86440         * elf/tst-tls14.c: Likewise.
86441         * elf/tst-tlsmod11.c: Likewise.
86442         * elf/tst-tlsmod12.c: Likewise.
86443         * elf/tst-tlsmod13.c: Likewise.
86444         * elf/tst-tlsmod13a.c: Likewise.
86445         * elf/tst-tlsmod14a.c: Likewise.
86446         * elf/tst-tlsmod15b.c: Likewise.
86447         * elf/tst-tlsmod16a.c: Likewise.
86448         * elf/tst-tlsmod16b.c: Likewise.
86449         * elf/tst-tlsmod7.c: Likewise.
86450         * elf/tst-tlsmod8.c: Likewise.
86451         * elf/tst-tlsmod9.c: Likewise.
86452         * gmon/gmon.c: Likewise.
86453         * grp/fgetgrent_r.c: Likewise.
86454         * grp/putgrent.c: Likewise.
86455         * hurd/fopenport.c: Likewise.
86456         * include/libc-symbols.h: Likewise.
86457         * include/tls.h: Likewise.
86458         * intl/gettextP.h: Likewise.
86459         * intl/loadinfo.h: Likewise.
86460         * locale/global-locale.c: Likewise.
86461         * locale/localeinfo.h: Likewise.
86462         * mach/devstream.c: Likewise.
86463         * malloc/arena.c: Likewise.
86464         * malloc/set-freeres.c: Likewise.
86465         * misc/err.c: Likewise.
86466         * misc/getttyent.c: Likewise.
86467         * misc/mntent_r.c: Likewise.
86468         * posix/getopt.c: Likewise.
86469         * posix/wordexp.c: Likewise.
86470         * pwd/fgetpwent_r.c: Likewise.
86471         * resolv/Versions: Likewise.
86472         * resolv/res_hconf.c: Likewise.
86473         * shadow/fgetspent_r.c: Likewise.
86474         * shadow/putspent.c: Likewise.
86475         * stdio-common/printf_fphex.c: Likewise.
86476         * stdio-common/tmpfile.c: Likewise.
86477         * stdlib/abort.c: Likewise.
86478         * stdlib/fmtmsg.c: Likewise.
86479         * sunrpc/auth_unix.c: Likewise.
86480         * sunrpc/clnt_perr.c: Likewise.
86481         * sunrpc/clnt_tcp.c: Likewise.
86482         * sunrpc/clnt_udp.c: Likewise.
86483         * sunrpc/clnt_unix.c: Likewise.
86484         * sunrpc/openchild.c: Likewise.
86485         * sunrpc/svc_simple.c: Likewise.
86486         * sunrpc/svc_tcp.c: Likewise.
86487         * sunrpc/svc_udp.c: Likewise.
86488         * sunrpc/svc_unix.c: Likewise.
86489         * sunrpc/xdr.c: Likewise.
86490         * sunrpc/xdr_array.c: Likewise.
86491         * sunrpc/xdr_rec.c: Likewise.
86492         * sunrpc/xdr_ref.c: Likewise.
86493         * sunrpc/xdr_stdio.c: Likewise.
86495 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86497         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86499 2011-07-03  Andreas Jaeger  <aj@suse.de>
86501         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86502         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86503         regenerate with gen-libm-tests.pl.
86505 2010-05-12  Petr Baudis  <pasky@suse.cz>
86507         [BZ #11589]
86508         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86509         around j0() zero points by switching to j1().
86510         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86511         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86515 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86517         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86518         instead of 0.
86519         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86520         instead of 0.
86521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86522         Patch in part by Pavel Roskin <proski@gnu.org>.
86524         [BZ #13138]
86525         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86526         realloc.
86527         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86528         Free memory block if necessary.
86530         [BZ #12847]
86531         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86532         be NULL.  Don't lock in this case.
86534 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86536         * elf/elf.h (ELFOSABI_GNU): New macro.
86537         (ELFOSABI_LINUX): Define to that.
86539 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86541         * string/strncat.c (strncat): Undef the symbol in case it has been
86542         defined in bits/string.h.
86544 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86546         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86548         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86549         link map.
86551 2011-08-17  Andreas Jaeger  <aj@suse.de>
86553         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86555 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86556             Ian Lance Taylor  <iant@google.com>
86558         * math/libm-test.inc (lround_test): New testcase.
86559         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86561 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86563         * Makefile: Remove support for automatic cvs check-ins.
86564         * Makerules: Likewise.
86565         * config.make.in: Likewise.
86566         * configure.in: Likewise.
86567         * intl/Makefile: Likewise.
86568         * locale/Makefile: Likewise.
86569         * po/Makefile: Likewise.
86570         * posix/Makefile: Likewise.
86571         * sysdeps/gnu/Makefile: Likewise.
86572         * sysdeps/mach/hurd/Makefile: Likewise.
86573         * sysdeps/sparc/sparc32/Makefile: Likewise.
86575         [BZ #13118]
86576         * posix/Makefile (bug-regex32-ENV): Define.
86577         Patch by John Stanley <jpsinthemix@verizon.net>.
86579         * misc/Makefile (headers): Add bits/select2.h.
86580         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86581         * misc/bits/select2.h: New file.
86582         * include/bits/select2.h: New file.
86583         * debug/Makefile (routines): Add fdelt_chk.
86584         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86585         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86586         FD_ISSET.
86587         * debug/fdelt_chk.c: New file.
86589         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86590         * wcsmbs/test-wmemcmp.c: Likewise.
86591         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86592         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86594 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86596         * string/Makefile (strop-tests): Add memcmp.
86597         * string/test-wmemcmp.c: New file.
86598         * string/test-memcmp.c: Add wmemcmp support.
86600 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86602         [BZ #13153]
86603         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86604         2011-07-19 change.
86606         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86607         garbage value in a __mach_port_mod_refs call in the cases of the
86608         task-self and thread-self ports.
86610 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86612         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86614 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86616         * elf/dl-load.c (lose): Check for non-null L.
86618 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86620         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86622         * elf/dl-libc.c (dlerror_run): Pass back error code from
86623         dl_catch_error.
86625         [BZ #13123]
86626         * elf/dl-load.c (lose): Free l_origin if it is valid.
86628         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86629         names.
86630         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86631         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86633         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86634         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86635         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86637 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86639         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86640         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86641         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86642         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86643         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86644         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86645         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86646         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86647         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86648         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86650 2011-08-15  Alan Modra  <amodra@gmail.com>
86652         [BZ #13092]
86653         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86654         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86655         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86656         ppc_mcount to static-only-routines.
86657         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86658         __mcount_internal.
86659         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86660         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86662 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86664         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86665         for finite and infinity parameters.
86667 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86669         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86670         and add nop instructions for throughput optimization.
86671         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86673 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86675         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86676         aligned copy for power7 with vector-scalar instructions.
86677         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86679 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86682         AVX check.
86684 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86686         [BZ #13144]
86687         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86688         last change.
86690 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86692         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86693         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86694         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86695         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86696         clock_gettime.
86698 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86700         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86701         Forgot to demangle the pointer.
86703         * sysdeps/i386/sysdep.h: Define atom_text_section.
86704         * sysdeps/x86_64/sysdep.h: Likewise.
86705         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86706         section with atom_text_section.
86707         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86708         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86709         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86711         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86713         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86714         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86715         already be defined.  Change to take two parameters and don't assign
86716         result to variable.  Adjust all users.
86717         Define INTERNAL_GETTIME if not already defined.
86718         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86719         call.
86720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86721         HAVE_CLOCK_GETTIME_VSYSCALL.
86722         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86724         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86725         gettimeofday vsyscall, just use time.
86727 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86729         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86730         <errno.h>.
86732 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86734         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86735         syscall on x86-64.
86736         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86737         syscall.
86738         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86739         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86740         syscall if possible.
86742 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86744         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86745         e_ident.  Don't pass to find_mapsXX.
86746         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86748 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86751         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86752         * sysdeps/x86_64/multiarch/strchr.S: Update.
86753         Check bit_slow_BSF bit.
86754         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86755         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86756         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86758 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86760         [BZ #13134]
86761         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86762         before glibc 2.15.
86763         (tryshell): Define.
86764         (__spawni): Change last parameter to be flag.  Test
86765         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86766         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86767         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86768         * posix/spawni.c: Likewise.
86769         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86770         * posix/spawnp.c: Likewise.  Change normal version to use
86771         SPAWN_XFLAGS_USE_PATH.
86772         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86773         SPAWN_XFLAGS_TRY_SHELL.
86775         [BZ #13150]
86776         * posix/glob.h: Remove gcc 1.x support.
86778         [BZ #13068]
86779         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86781 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86784         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86785         strrchr-sse2-bsf
86786         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86787         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86788         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86789         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86790         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86791         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86793 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86795         * sysdeps/x86_64/wcscmp.S: New file.
86797         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86798         wcscmp-c wcscmp-sse2
86799         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86800         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86801         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86802         * wcsmbs/wcscmp.c: Allow renaming.
86804 2011-09-05  David S. Miller  <davem@davemloft.net>
86806         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86807         stack slot, rather than the struct return pointer slot.
86808         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86809         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86811         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86813 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86815         * po/ja.po: Update from translation team.
86817         [BZ #13144]
86818         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86819         kernel in 64-bit binaries.
86821 2011-09-01  David S. Miller  <davem@davemloft.net>
86823         * elf/elf.h (HWCAP_SPARC_*): Move to..
86824         * sysdeps/sparc/sysdep.h: this new file and add new values.
86825         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86826         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86827         _DL_HWCAP_COUNT to 24.
86828         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86829         entries.
86830         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86831         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86832         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86834         instead of magic constants.
86835         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86837 2011-08-31  David S. Miller  <davem@davemloft.net>
86839         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86841         Reimplement to do errno handling inline.
86842         (SYSCALL_ERROR_HANDLER): New macro.
86843         (__SYSCALL_STRING): Do not do errno handling in asm.
86844         (__CLONE_SYSCALL_STRING): Delete.
86845         (__INTERNAL_SYSCALL_STRING): Delete.
86846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86847         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86848         (PSEUDO): Reimplement to do errno handling inline.
86849         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86850         (SYSCALL_ERROR_HANDLER): New macro.
86851         (__SYSCALL_STRING): Do not do errno handling in asm.
86852         (__CLONE_SYSCALL_STRING): Delete.
86853         (__INTERNAL_SYSCALL_STRING): Delete.
86854         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86855         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86856         i386.
86857         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86858         (inline_syscall*): Add 'err' argument.
86859         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86860         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86861         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86862         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86864         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86865         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86867 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86869         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86871 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86873         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86874         directive.
86876 2011-08-24  David S. Miller  <davem@davemloft.net>
86878         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86880 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86882         * elf/Makefile: Add rules to build and run unload8 test.
86883         * elf/unload8.c: New file.
86884         * elf/unload8mod1.c: New file.
86885         * elf/unload8mod1x.c: New file.
86886         * elf/unload8mod2.c: New file.
86887         * elf/unload8mod3.c: New file.
86889         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86890         it wasn't used.
86892 2011-08-23  David S. Miller  <davem@davemloft.net>
86894         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86895         subtract stack bias.
86896         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86897         %sp not %fp in calculations.
86898         (_JMPBUF_UNWINDS_ADJ): Likewise.
86900         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86901         (aio_suspend): Call it to force an exception region around the
86902         AIO_MISC_WAIT() invocation.
86904 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86906         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86907         backslash.
86909 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86911         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86912         protection macro.
86913         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86914         and <dl-machine.h>.
86915         (Elf64_FuncDesc): Remove.
86917 2011-08-22  David S. Miller  <davem@davemloft.net>
86919         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86920         sigaltstack check, add missing cfi directives.
86921         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86922         missing cfi directives, and sigaltstack handling.
86924 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86926         [BZ #11724]
86927         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86928         object is seen twice.
86929         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86931         * elf/Makefile (distribute): Add tst-initorder2.c.
86932         (tests): Add tst-initorder2.
86933         (modules-names): Add tst-initorder2a tst-initorder2b
86934         tst-initorder2c tst-initorder2d.  Add rules to build them.
86935         ($(objpfx)tst-initorder2.out): New rule.
86936         * elf/tst-initorder2.c: New file.
86937         * elf/tst-initorder2.exp: New file.
86939 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86941         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86943         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86944         dependencies back to end of function.
86946         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86947         $(elfobjdir)/ld.so.
86949 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86951         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86952         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86954         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86955         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86956         of __vdso_gettimeofday.
86957         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86958         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86959         attribute_hidden.
86960         (_libc_vdso_platform_setup): Remove initialization of
86961         __vdso_gettimeofday and __vdso_time.
86963 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86965         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86966         and fgetc_unlocked.
86967         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86968         getc_unlocked.
86970         * elf/dl-open.c (add_to_global): Report additions to the global scope
86971         for LD_DEBUG=scopes.
86972         (dl_open_worker): Also print scope of newly loaded dependencies.
86973         (_dl_show_scope): Indicate if there is no scope.
86975         [BZ #13114]
86976         * stdio-common/Makefile (tests): Add bug24.
86977         * stdio-common/bug24.c: New file.
86979 2011-08-19  Andreas Jaeger  <aj@suse.de>
86981         [BZ #13114]
86982         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86983         non-existant file when using close-on-exec mode.
86985 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86988         the very first instruction.
86990         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86991         the CFI state in the end.
86992         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86993         inclusion of dl-trampoline.h.
86994         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86996 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86998         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86999         expectations for long double.
87001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87002         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87004 2011-08-14  David S. Miller  <davem@davemloft.net>
87006         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87007         artificual limit depends upon the system page size.
87009 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87011         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87012         * resolv/Makefile: Define CFLAGS-libresolv.
87014 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87016         * nss/makedb.c (compute_tables): Make variables used in nested
87017         function static.
87019 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87021         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87022         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87023         if buffer was too small.
87025         * elf/pldd.c (main): Attach to all threads in the process.
87026         Rewrite /proc handling to use *at functions.
87028 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87030         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87031         specifies first scope to show.
87032         (dl_open_worker): Update callers.  Move printing scope of new
87033         object to before the relocation.
87034         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87035         * sysdeps/generic/ldsodefs.h: Update declaration.
87037         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87038         string for the scope number.
87040 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87042         * nscd/servicescache.c (cache_addserv): Make sure written is always
87043         initialized.
87045 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87047         * sysdeps/i386/i486/bits/atomic.h
87048         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87049         statement expression, so as to suppress "set but not used" warning.
87050         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87052         * string/strncat.c (STRNCAT): Use prototype definition.
87054         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87055         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87056         -Iprograms here.
87057         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87058         (localedef-modules): Add localedef.
87059         (locale-modules): Add locale.
87061         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87062         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87063         to avoid a warning.
87065 2011-08-14  David S. Miller  <davem@davemloft.net>
87067         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87068         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87070 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87072         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87073         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87074         * elf/rtld.c (dl_main): Set l_name of vDSO.
87075         Call _dl_show_scope when DL_DEBUG_SCOPES.
87076         (process_dl_debug): Recognize scopes flag and also set it for all.
87077         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87078         Declare _dl_show_scope.
87080         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87081         (do_dlopen): Pass caller_dlopen to dl_open.
87082         (__libc_dlopen_mode): Initialize caller_dlopen.
87084         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87085         of libc.  Make tolower call locale-independent.  Optimize a bit by
87086         using isdigit instead of isalnum.
87087         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87089 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87091         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87092         was a dependency or dynamically loaded.
87094 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87096         * intl/l10nflist.c: Allow architecture-specific pop function.
87097         * sysdeps/x86_64/l10nflist.c: New file.
87099         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87100         classification.
87102 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87104         * include/dirent.h: Add libc_hidden_proto for scandirat and
87105         scandirat64.  Don't declare __scandirat64.
87106         * dirent/scandirat.c: Add libc_hidden_def.
87107         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87108         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87110 2011-08-10  David S. Miller  <davem@davemloft.net>
87112         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87113         enum.
87114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87116         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87118 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87120         * Versions.def [libc]: Add GLIBC_2.15.
87121         * dirent/Makefile (routines): Add scandirat and scandirat64.
87122         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87123         GLIBC_2.15.
87124         * dirent/dirent.h: Declare scandirat and scandirat64.
87125         * dirent/scandirat.c: New file.
87126         * dirent/scandirat64.c: New file.
87127         * sysdeps/wordsize-64/scandirat.c: New file.
87128         * sysdeps/wordsize-64/scandirat64.c: New file.
87129         * dirent/opendir.c: Define opendirat.
87130         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87131         using scandirat.
87132         * dirent/scandir64.c: Adjust for scandir.c change.
87133         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87134         __scandirat64, and __scandir_cancel_handler.
87135         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87136         additional parameter and use openat instead of open (outside of ld.so).
87137         Add new __opendir as wrapper around __opendirat.
87138         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87139         here without requiring old scandirat implementation.
87141 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87143         * dirent/scandir.c (cancel_handler): Renamed to
87144         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87145         defined.  Adjust users.
87146         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87147         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87149 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87151         * string/test-string.h (IMPL): Use __STRING to expand name and then
87152         stringify it.
87154         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87155         of cleanups.
87157 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87159         * string/Makefile: Update.
87160         (strop-tests): Append strncat.
87161         * string/test-wcscmp.c: New file.
87162         New comprehensive test for wcscmp.
87163         * string/test-strcmp.c: Update.
87164         (WIDE): New define.
87166 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87168         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87169         line.
87171 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87174         encoding to ACE if AI_IDN.
87176 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87179         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87181 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87183         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87184         Fix overflow bug in strncat.
87185         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87187         * string/test-strncat.c: Update.
87188         Add new tests for checking overflow bugs.
87190 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87193         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87194         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87195         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87196         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87197         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87198         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87199         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87200         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87202         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87203         (USE_AS_STRCAT): Define.
87204         Add strcat and strncat support.
87205         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87207 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87209         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87210         __n bigger than INT_MAX+1.
87211         (__strncmp_g): Likewise.
87213 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87215         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87216         * libio/stido.h: Likewise.
87218         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87219         (AF_NFC): Define.
87220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87221         (AF_NFC): Define.
87223         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87225         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87226         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87227         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87229         [BZ #13021]
87230         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87231         installed.
87233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87234         typo.
87235         (_dl_x86_64_save_sse): Likewise.
87237 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87239         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87240         OSXSAVE.
87241         (_dl_x86_64_save_sse): Likewise.
87243         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87245         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87247 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87249         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87250         change.
87251         (_dl_x86_64_save_sse): Use correct AVX check.
87253 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87255         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87256         bug in strncpy/strncat.
87257         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87259 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87261         * string/tester.c (test_strcat): Add tests for different alignments
87262         of source and destination.
87263         (test_strncat): Likewise.
87265 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87267         [BZ #12852]
87268         * posix/glob.c (glob): Check passed in values before using them in
87269         expressions to avoid some overflows.
87270         (glob_in_dir): Likewise.
87272         [BZ #13007]
87273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87274         check for AVX enablement so that we don't crash with old kernels and
87275         new hardware.
87276         * elf/tst-audit4.c: Add same checks here.
87277         * elf/tst-audit6.c: Likewise.
87279         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87281 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87283         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87285 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87287         * po/cs.po: Update from translation team.
87288         * po/bg.po: Likewise.
87290 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87292         * misc/sys/cdefs.h: Add support for const attribute.
87293         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87294         to gnu_dev_{major,minor,makedev} functions.
87296 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87298         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87300 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87302         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87303         strlen results.
87305 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87308         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87309         register in order to avoid conflicts with the soft frame pointer
87310         being held in r11 when necessary.
87311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87312         (INTERNAL_VSYSCALL_NCS): Likewise.
87314 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87316         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87317         * elf/dl-fini.c (_dl_fini): Adjust caller.
87318         * elf/dl-close.c (_dl_close_worker): Likewise.
87319         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87321 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87323         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87324         "aux_cache->nlibs < 0".
87326         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87327         in the reload-count case.
87329 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87332         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87333         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87334         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87335         * sysdeps/x86_64/multiarch/strcat.S: New file.
87336         * sysdeps/x86_64/multiarch/strncat.S: New file.
87337         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87338         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87339         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87340         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87341         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87342         (USE_AS_STRCAT): Define.
87343         Add strcat and strncat support.
87344         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87345         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87346         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87347         * string/strncat.c: Update.
87348         (USE_AS_STRNCAT): Define.
87349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87350         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87351         and i7.
87352         * sysdeps/x86_64/multiarch/init-arch.h
87353         (bit_Prefer_PMINUB_for_stringop): New.
87354         (index_Prefer_PMINUB_for_stringop): Likewise.
87355         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87356         bit_Prefer_PMINUB_for_stringop.
87358 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87360         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87361         buffer64.
87362         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87363         of casting of buffer.
87364         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87365         buffer32 and buffer64.
87366         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87367         writes instead of casting of buffer.
87368         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87369         buffer32.
87370         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87371         casting of buffer.
87373 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87375         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87377 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87379         * nscd/nscd.c (termination_handler): Don't do anything for a database
87380         if it has not yet been initialized.
87382 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87384         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87386 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87388         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87390 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87392         * po/nl.po: Update from translation team.
87393         * po/sv.po: Likewise.
87395 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87397         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87398         now disallowed by GCC.
87400         * configure.in (use-default-link): Default to yes if a test -shared
87401         link meets our qualifications.
87402         * configure: Regenerated.
87404         * config.make.in (output-format): New variable.
87405         * configure.in: Check for ld --print-output-format support.
87406         * configure: Regenerated.
87407         * Makerules ($(common-objpfx)format.lds)
87408         [$(output-format) != unknown]: Just use $(output-format),
87409         instead of the linker-script munging.
87411 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87413         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87414         of $(common-objpfx)shlib.lds.
87415         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87417         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87418         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87420         * configure.in (-z relro check): Adjust test code to add a large
87421         writable data section after it.
87422         * configure: Regenerated.
87424 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87426         * configure.in (-z relro check): Fix test code to make the variable
87427         truly const.
87428         * configure: Regenerated.
87430 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87432         * nscd/nscd.h (struct traced_file): Define.
87433         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87434         elements.  Add traced_files.
87435         (inotify_fd): Declare.
87436         (register_traced_file): Declare.
87437         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87438         (inotify_fd): Export.
87439         (resolv_conf_descr): Remove.
87440         (nscd_init): Move inotify descriptor creation to main.
87441         Don't register files for notification here.
87442         (register_traced_file): New function.
87443         (invalidate_cache): Don't use reset_res to determine whether to call
87444         res_init, go through the list of registered files.
87445         (main_loop_poll): The inotify descriptors are now stored in the
87446         structures for the traced files.
87447         (main_loop_epoll): Likewise.
87448         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87449         to __nss_disable_nscd.
87450         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87451         for a database anymore.  Check the records for all the registered
87452         files instead.
87453         * nss/Makefile (libnss_files-routines): Add files-init.
87454         (libnss_db-routines): Add db-init.
87455         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87456         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87457         * nss/nss_db/db-init.c: New file.
87458         * nss/nss_files/files-init.c: New file.
87459         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87460         __nss_lookup_function.
87461         (__nss_lookup_function): Call nss_load_library.
87462         (nss_load_all_libraries): New function.
87463         (__nss_disable_nscd): Take parameter with callback function for files
87464         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87465         used for the cached services.
87466         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87467         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87468         options for features to all the files in nscd.
87470         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87472 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87474         * csu/elf-init.c (__libc_csu_init): Comment typo.
87476 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87478         * po/pl.po: Update from translation team.
87479         * po/ja.po: Likewise.
87480         * po/ru.po: Likewise.
87481         * po/ko.po: Likewise.
87482         * po/fr.po: Likewise.
87484 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87486         * configure.in (.ctors/.dtors header and trailer check):
87487         Use an empirical test on a built program.
87488         * configure: Regenerated.
87490         * configure.in (-z relro check): Use an empirical test on a built DSO.
87491         Detect, but do not require, on ia64.
87492         * configure: Regenerated.
87494         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87495         Update tests that use readelf to use $READELF instead.
87496         * configure: Regenerated.
87498 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87500         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87501         if the result is not used.
87503 2011-07-05  Andreas Jaeger  <aj@suse.de>
87505         [BZ #9696]
87506         * stdlib/tst-strtod.c: Add testcase.
87508 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87510         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87511         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87512         The latter has a higher limit.  Take additional parameter to pass to
87513         the new function.
87514         (__pathconf): Pass file to __statfs_link_max.
87515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87516         __statfs_link_max.
87517         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87518         __statfs_link_max.
87520         [BZ #12868]
87521         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87522         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87523         Handle Lustre.
87524         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87525         (__statfs_filesize_max): Likewise.
87526         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87528 2011-07-05  Andreas Jaeger  <aj@suse.de>
87530         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87532 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87534         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87535         `status' variable.
87536         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87537         Likewise.
87539 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87541         * Makefile (strop-tests): Add strncat.
87542         * string/test-strncat.c: New file.
87544 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87546         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87548 2011-06-21  Andreas Jaeger  <aj@suse.de>
87550         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87551         Copy rule from iconvdata/Makefile.
87553 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87555         [BZ #12922]
87556         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87557         but no long options are defined, just return 'W'.
87559 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87561         [BZ #9696]
87562         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87564 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87566         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87567         netgroups to read.
87568         (innetgr): Likewise.
87570 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87572         * config.make.in (install_root): Default to $(DESTDIR).
87574 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87576         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87578 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87580         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87582         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87583         containing directory rather than embedding absolute directory names.
87585         * scripts/check-local-headers.sh: Rewritten using awk.
87586         Match by word, not by line.  Print error messages for matches.
87587         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87589         * Makerules [shlib-lds-flags empty]:
87590         ($(common-objpfx)libc_pic.opts): New target.
87591         ($(common-objpfx)libc_pic.os.clean): New target.
87592         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87594         * config.make.in (OBJCOPY): New variable.
87595         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87596         * configure: Regenerated.
87598         * config.make.in (use-default-link): New variable.
87599         * configure.in (use_default_link): Grok --with-default-link to set it.
87600         * configure: Regenerated.
87601         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87602         (shlib-lds, shlib-lds-flags): Define to empty.
87604         * Makerules (shlib-lds): New variable.
87605         (shlib-lds-flags): New variable.
87606         (build-shlib, build-moduile, build-module-asneeded): Use it.
87607         ($(common-objpfx)libc.so): Use $(shlib-lds).
87608         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87609         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87611         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87612         DT_FLAGS/DT_FLAGS_1 with zero flags.
87614         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87615         linker script munging.
87617 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87619         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87620         as 128-bit value.
87621         * crypt/sha512.c (sha512_process_block): Perform total addition using
87622         128-bit if possible.
87623         (__sha512_finish_ctx): Likewise.
87624         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87625         as 64-bit value.
87626         * crypt/sha256.c (SWAP64): Define.
87627         (sha256_process_block): Perform total addition using 64-bit if
87628         possible.
87629         (__sha256_finish_ctx): Likewise.
87631 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87633         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87634         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87635         * nscd/hstcache.c (cache_addhst): Likewise.
87636         * nscd/grpcache.c (cache_addgr): Likewise.
87637         * nscd/aicache.c (addhstaiX): Likewise.
87638         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87640 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87642         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87643         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87644         * nscd/hstcache.c (cache_addhst): Likewise.
87645         * nscd/grpcache.c (cache_addgr): Likewise.
87646         * nscd/aicache.c (addhstaiX): Likewise.
87648 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87650         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87651         domain only when needed.
87653 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87656         is always restored.
87658 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87660         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87661         are re-adding the entry.
87662         * nscd/servicescache.c (cache_addserv): Likewise.
87664 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87666         * sysdeps/generic/dl-irel.h: fix protection against multiple
87667         inclusions.
87668         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87670 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87672         [BZ #12935]
87673         * malloc/memusage.sh: Fix quoting in message.
87674         * debug/xtrace.sh: Likewise.
87676         * configure.in: Remove support for --experimental-malloc option, make
87677         it the default.
87678         * config.make.in: Likewise.
87679         * malloc/Makefile: Likewise.
87681 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87683         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87684         two-byte characters.
87686 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87688         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87689         AC_CACHE_CHECK invocation.
87690         * configure: Regenerated.
87692         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87694 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87696         [BZ #12350]
87697         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87698         bit from old_res_options.
87700         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87702         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87703         value type for setfct.
87705 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87707         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87708         __gettimeofday instead of gettimeofday.
87710 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87712         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87714 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87716         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87719         info.
87721 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87724         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87725         strcpy-sse2-unaligned strncpy-sse2-unaligned
87726         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87727         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87728         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87729         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87730         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87732         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87733         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87734         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87735         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87736         (STRCPY): Support SSE2 and SSSE3 versions.
87738 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87740         [BZ #12874]
87741         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87742         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87743         kernels which artificially limit size of requests.
87745 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87748         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87749         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87750         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87751         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87752         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87753         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87754         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87755         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87756         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87757         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87758         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87759         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87760         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87761         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87763         Enable unaligned load optimization for Intel Core i3, i5 and i7
87764         processors.
87765         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87766         Define.
87767         (index_Fast_Unaligned_Load): Define.
87768         (HAS_FAST_UNALIGNED_LOAD): Define.
87770 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87772         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87774 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87776         [BZ #12907]
87777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87778         until it is clear that the information is realy needed.
87779         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87781 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87785 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87788         /sys/devices/system/cpu/online if it is usable.
87790         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87791         reading the information from the /proc filesystem to once a second.
87793 2011-06-21  Andreas Jaeger  <aj@suse.de>
87795         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87796         NULL after inclusion of kernel headers.
87798 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87800         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87801         calls to internal_setent.
87803         [BZ #12885]
87804         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87805         addresses using gethostbyname4_r ignore IPv4 addresses.
87807         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87808         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87810         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87812 2011-06-20  David S. Miller  <davem@davemloft.net>
87814         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87815         inclusions.
87816         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87818         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87819         (elf_irel): Use it.
87820         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87821         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87822         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87823         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87824         * sysdeps/x86_64/dl-irel.h: Likewise.
87826         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87827         * elf/dl-sym.c: Likewise.
87829 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87831         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87832         need to dereference resplen2.
87834 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87836         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87838 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87840         * Makeconfig: Define vardbdir and inst_vardbdir.
87841         * nss/Makefile: Add rules to install db-Makefile.
87843         * nss/nss_db/db-XXX.c: Cleanup.
87845         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87846         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87847         GLIBC_PRIVATE.
87848         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87849         * nss/makedb.c: Implement -g option to specify that value strings
87850         are generated and should not be added to table iterated over for
87851         get*ent calls.
87852         * nss/nss_db/db-initgroups.c: New file.
87854         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87855         interface.
87857         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87858         (internal_getgrouplist): Adjust to name change.
87859         Update use_initgroups_entry if this is not the first call.
87860         * nss/databases.def: Add initgroups entry.
87862         * nss/makedb.c (compute_tables): Check result of multiple hash table
87863         sizes to minimize maximum chain length.
87865 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87867         * Versions.def: Add entry for libnss_db.
87868         * shlib-versions: Likewise.
87869         * nss/Makefile: Add rules to build libnss_db.
87870         * nss/Versions: Add libnss_db information.  Organize libnss_files
87871         entries better.
87872         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87873         makedb progra.  Some minor improvements to generate smaller files.
87874         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87875         here from...
87876         * nss/makedb.c: ...here.
87877         Improve database format to be smaller and require less memory at
87878         runtime.
87879         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87880         db anymore.
87881         * nss/nss_db/db-netgrp.c: Likewise.
87882         * nss/nss_db/db-open.c: Likewise.
87883         * nss/nss_files/flies-XXX.x: Adjust comments.
87884         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87885         * nss/nss_files/files-grp.c: Likewise.
87886         * nss/nss_files/files-hosts.c: Likewise.
87887         * nss/nss_files/files-network.c: Likewise.
87888         * nss/nss_files/files-proto.c: Likewise.
87889         * nss/nss_files/files-pwd.c: Likewise.
87890         * nss/nss_files/files-rpc.c: Likewise.
87891         * nss/nss_files/files-service.c: Likewise.
87892         * nss/nss_files/files-sgrp.c: Likewise.
87893         * nss/nss_files/files-spwd.c: Likewise.
87894         * nss/nss_db/db-alias.c: Removed.
87895         * nss/nss_db/dummy-db.h: Removed.
87897 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87899         * nss/makedb.c: Rewritten to not use database library.
87900         * nss/Makefile: Update to build new makedb program.
87902 2011-06-14  Andreas Jaeger  <aj@suse.de>
87904         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87905         memset declaration.
87907 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87910         tmpbuf.
87912 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87914         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87915         * elf/Makefile ($(objpfx)ld.so): Likewise.
87917         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87918         Don't list ld.so twice in dependencies.
87920         * posix/bug-regex31.c: Include <stdlib.h>.
87922         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87924         * nis/nss_compat/compat-spwd.c
87925         (getspent_next_nss_netgr): Remove unused variable.
87926         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87928         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87929         nonmembers" output to use the right array.
87931         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87933         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87935         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87936         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87937         * catgets/gencat.c (read_input_file): Likewise.
87938         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87940         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87941         variable definition inside #if's controlling its use.
87943         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87945         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87947         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87949         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87950         unreachable code.
87952         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87954         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87955         * configure: Regenerated.
87957         * Makerules: Revert last change.
87958         * elf/Makefile: Likewise.
87960 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87962         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87963         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87964         (reloc-link): Likewise.
87966 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87968         * elf/Makefile: Add rules to build pldd.
87969         * elf/pldd.c: New file.
87970         * elf/pldd-xx.c: New file.
87972 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87974         * version.h: Update for 2.15 development version.
87976 2011-06-07  David S. Miller  <davem@davemloft.net>
87978         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87979         ifuncs.
87980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87981         elf_machine_lazy_rel): Likewise.
87982         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87983         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87984         elf_machine_lazy_rel): Likewise.
87985         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87986         dl_hwcap via passed in argument.
87987         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87988         Likewise.
87990 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87992         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87994 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87996         [BZ #12849]
87997         * manual/fdl-1.1.texi: New file, verbatim from:
87998         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87999         * manual/lgpl-2.1.texi: New file, verbatim from:
88000         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88001         * manual/Makefile (licenses): New variable, list those new file names.
88002         (texis): Use it.
88003         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88005         * manual/fdl.texi: File removed.
88006         * manual/lesser.texi: File removed.
88007         * manual/libc.texinfo (Copying, Documentation License):
88008         Use new @include file names, put @appendix directive before @include.
88010 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88012         [BZ #12841]
88013         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88014         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88015         (mq_open): Add __NTH.
88017 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88020         Assume Intel Core i3/i5/i7 processor if AVX is available.
88022 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88025         typo.
88027 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88029         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88030         memory.  Use alloca_account.  Fix memory leak when retrying.
88032 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88034         * version.h (RELEASE): Bump for 2.14 release.
88035         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88037         * config.make.in (RANLIB): Remove entry.
88039 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88041         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88042         (libc.pot): Work around missing support for .ksh extension in xgettext.
88044         [BZ #12684]
88045         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88046         if both request failed.
88047         (send_dg): In case of server errors clear resplen or *resplen2.
88049         [BZ #12454]
88050         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88051         when there are multiple maps.
88052         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88053         (_dl_fini): Remove test here.
88055         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88057 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88059         [BZ #12350]
88060         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88061         bit from old_res_options.
88062         (gaih_inet): Likewise.
88064         [BZ #11099]
88065         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88066         as signed.
88068         * resolv/res_init.c (res_setoptions): Make the code more compact.
88070         [BZ #11558]
88071         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88072         set RES_USEVC.
88074         [BZ #11634]
88075         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88077         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88079         [BZ #11781]
88080         * malloc/malloc.h: Declare malloc hook variables as volatile.
88082         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88083         in last patch.
88085         [BZ #11799]
88086         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88087         raise in the comment.
88088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88089         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88090         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88092 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88094         [BZ #12811]
88095         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88096         grow the buffers more if it already has to be sufficient.
88097         (build_wcs_upper_buffer): Likewise.
88098         * posix/regexec.c (check_matching): Likewise.
88099         (clean_state_log_if_needed): Likewise.
88100         (extend_buffers): Don't enlarge buffers beyond size of the input
88101         buffer.
88102         Patches mostly by Emil Wojak <emil@wojak.eu>.
88103         * posix/bug-regex32.c: New file.
88104         * posix/Makefile (tests): Add bug-regex32.
88106         * locale/findlocale.c (_nl_find_locale): Return right away if
88107         _nl_explode_name failed.
88108         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88110         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88112         * debug/xtrace.sh: Unify messages.
88113         * malloc/memusage.sh: Likewise.
88115         [BZ #12813]
88116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88117         time symbol from vDSO.  Substitute with vsyscall if not available.
88118         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88119         __vdso_time.
88121         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88122         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88123         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88124         Add sendmmsg and internal_sendmmsg.
88125         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88126         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88127         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88129         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88130         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88131         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88133 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88135         [BZ #12813]
88136         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88137         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88138         available.
88139         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88140         __vdso_getcpu.
88142         [BZ #12814]
88143         * iconvdata/Makefile (tests): Add bug-iconv9.
88144         * iconvdata/bug-iconv9.c: New file.
88146 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88148         [BZ #12814]
88149         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88151 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88153         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88154         (struct user_regs_struct): Change intcs field back to cs.
88156 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88158         * po/ja.po: Update from translation team.
88160 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88162         [BZ #12795]
88163         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88164         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88166 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88168         * stdlib/longlong.h: Update from GCC.
88170 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88172         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88173         parameter name.
88174         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88175         Add parameter name.
88176         (__sysconf): Pass it down.
88178 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88180         [BZ #12671]
88181         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88182         some situations.
88183         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88184         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88185         add in in __libc_use_alloca calls.  Adjust callers.
88186         (glob): Use malloc in some situations.
88188         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88189         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88190         pltexit.
88192 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88194         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88195         and CLOCK_BOOTTIME_ALARM.
88197         [BZ #12782]
88198         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88199         is returned.
88201         * string/_strerror.c (__strerror_r): Print negative errors as signed
88202         numbers.
88204         [BZ #12777]
88205         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88206         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88207         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88209         * configure.in: Fix typo in redirection and correct removal of test
88210         files in two cases.
88212         [BZ #12788]
88213         * locale/setlocale.c (new_composite_name): Fix test to check for
88214         identical name of all categories.
88216         [BZ #12792]
88217         * libio/filedoalloc.c (local_isatty): New function.
88218         (_IO_file_doallocate): Use local_isatty.
88219         * stdio-common/perror.c (perror): In case a new stream is used
88220         forward the stream error.
88221         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88222         error flag.
88224 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88226         [BZ #11884]
88227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88228         alloca.
88229         * include/alloca.h (extend_alloca_account): Define.
88231         [BZ #11857]
88232         * posix/regex.h: Fix comments with documentation of user-accessible
88233         fields after compilation and describe correct free'ing of pattern
88234         after re_compile_pattern.
88235         Patch by Reuben Thomas <rrt@sc3d.org>.
88237 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88239         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88240         and -mno-altivec to prevent the compiler from using Altivec and/or
88241         VSX instructions when the corresponding registers are not available.
88243 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88245         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88247 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88249         * libio/freopen.c (freopen): Use __dup2, not dup2.
88250         * libio/freopen64.c (freopen64): Likewise.
88252 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88254         [BZ #12775]
88255         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88256         * math/Makefile (tests): Add test-powl.
88257         (CFLAGS-test-powl.c): Define.
88258         * math/test-powl.c: New file.
88260 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88262         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88264 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88266         [BZ #11837]
88267         * iconvdata/gb18030.c: Update to GB18020-2005.
88269 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88271         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88272         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88273         Patch by Aharon Robbins <arnold@skeeve.com>.
88275         [BZ #11892]
88276         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88277         on the stack.
88279         [BZ #11895]
88280         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88281         through underflows.
88283         [BZ #12766]
88284         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88285         point to strings before performing equality test for error_one_per_line
88286         mode.
88288         [BZ #11697]
88289         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88291         [BZ #11820]
88292         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88293         (struct user_fpregs_struct): Avoid __uint*_t types.
88295         [BZ #6420]
88296         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88297         symbol info.  Use it instead of calling _dl_addr locally.
88298         (lock_and_info): New function.
88299         (tr_freehook): Call lock_and_info and pass symbol info as additional
88300         parameter to tr_where.
88301         (tr_mallochook): Likewise.
88302         (tr_reallochook): Likewise.
88303         (tr_memalignhook): Likewise.
88305         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88306         used and couldn't be at all thread-safe.
88308 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88310         * libio/freopen.c (freopen): Don't close old file descriptor
88311         before the new one is opened.  Instead dup the new file descriptor
88312         to the old one after the new stream is created.
88313         * libio/freopen64.c (freopen64): Likewise.
88314         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88315         * libio/fileops.c (_IO_new_file_close_it): Handle new
88316         _IO_FLAGS2_NOCLOSE flag.
88317         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88318         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88319         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88320         _IO_FLAGS2_NOCLOSE flag.
88321         * include/unistd.h: Add hidden_proto for dup3.
88322         Define __have_dup3.
88323         * io/dup3.c: Define hidden symbol.
88324         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88326         [BZ #7101]
88327         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88328         when an incomplete long option is used.
88329         * posix/tst-getopt_long1.c: New file.
88330         * posix/Makefile (tests): Add tst-getopt_long1.
88332         [BZ #10138]
88333         * scripts/config.guess: Update from autoconf-2.68.
88334         * scripts/config.sub: Likewise.
88336         [BZ #10157]
88337         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88338         tests into ...
88339         (has_cpuclock): ...this.  New function.
88340         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88341         macro here based on has_cpuclock code.
88343         [BZ #10149]
88344         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88345         First byte (not low byte) is now always NUL.
88346         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88349         Use non-cancelable interfaces.
88351         [BZ #9809]
88352         * locale/iso-639.def: Add entry for Sorani.
88354         [BZ #11901]
88355         * include/stdlib.h: Move include protection to the right place.
88356         Define abort_msg_s.  Declare __abort_msg with it.
88357         * stdlib/abort.c (__abort_msg): Adjust type.
88358         * assert/assert.c (__assert_fail_base): New function.  Majority
88359         of code from __assert_fail.  Allocate memory for __abort_msg with
88360         mmap.
88361         (__assert_fail): Now call __assert_fail_base.
88362         * assert/assert-perr.c: Remove bulk of implementation.  Use
88363         __assert_fail_base.
88364         * include/assert.hL Declare __assert_fail_base.
88365         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88366         mmap.
88367         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88369 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88371         [BZ #11952]
88372         [BZ #12453]
88373         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88374         until all modules are registered in the DTV.
88375         * elf/Makefile: Add rules to build and run tst-tls19.
88376         * elf/tst-tls19.c: New file.
88377         * elf/tst-tls19mod1.c: New file.
88378         * elf/tst-tls19mod2.c: New file.
88379         * elf/tst-tls19mod3.c: New file.
88380         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88382         [BZ #12083]
88383         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88384         correctly.
88386         [BZ #12601]
88387         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88388         two-byte sequence errors.
88389         * iconvdata/Makefile (tests): Add bug-iconv8.
88390         * iconvdata/bug-iconv8.c: New file.
88392         [BZ #12626]
88393         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88394         buf2 definition.
88396         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88398         [BZ #12432]
88399         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88400         (dummy_getcfa): New function.
88401         (init): Get _Unwind_GetCFA address, use dummy if not found.
88402         (backtrace_helper): In recursion check, also check whether CFA changes.
88403         (__backtrace): Completely initialize arg.
88405         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88406         storing incomplete byte sequence in state object.  Avoid testing for
88407         guaranteed too small input if we know there is enough data available.
88409 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88411         * Makeconfig (+link-pie): Indent.
88412         * Rules (binaries-pie): Define if $(have-fpie) and
88413         $(build-shared).
88414         (binaries-shared): Also filter out $(binaries-pie).
88415         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88416         * nscd/Makefile (others-pie): Add nscd.
88417         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88418         ($(objpfx)nscd): Remove command override.
88419         * login/Makefile (others-pie): Add pt_chown.
88420         ($(objpfx)pt_chown): Remove command override.
88421         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88422         remove command overrides.
88424 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88426         * libio/tst_putwc.c: Fix error messages.
88428         [BZ #12724]
88429         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88430         currently writing and seek to current position when not.
88431         * libio/Makefile (tests): Add bug-fclose1.
88432         * libio/bug-fclose1.c: New file.
88434 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88436         [BZ #12511]
88437         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88438         don't set DF_1_NODELETE here.
88439         (do_lookup_x): When entering new entry test for copy relocation
88440         and if necessary set DF_1_NODELETE flag.
88441         * elf/tst-unique4.cc: New file.
88442         * elf/tst-unique4.h: New file.
88443         * elf/tst-unique4lib.cc: New file.
88444         * elf/Makefile: Add rules to build and run tst-unique4.
88445         Patch by Piotr Bury <pbury@goahead.com>.
88447 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88449         [BZ #12052]
88450         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88452         [BZ #12625]
88453         * misc/mntent_r.c (addmntent): Flush the stream after the output
88455         [BZ #12393]
88456         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88457         (is_trusted_path_normalize): Skip initial colon.  Append slash
88458         to empty buffer.  Duplicate is_trusted_path code but allow
88459         constructed patch to be prefix.
88460         (is_dst): Allow $ORIGIN followed by /.
88461         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88462         Correct testing of result of is_trusted_path_normalize
88463         (decompose_rpath): Fix warning.
88465 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88467         [BZ #11257]
88468         * grp/initgroups.c (internal_getgrouplist): When we found the service
88469         list through the initgroups entry in nsswitch.conf do not always
88470         continue on a successful lookup.  Don't always use the
88471         __nss_group_database value if it is set.
88472         * nss/nsswitch.conf (initgroups): Change action for successful db
88473         lookup to continue for compatibility.
88475 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88477         [BZ #11532]
88478         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88479         and CP774 modules.
88480         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88481         and CP774 modules.
88482         * iconvdata/tst-tables.sh: Likewise.
88483         * iconvdata/cp770.c: New file.
88484         * iconvdata/cp771.c: New file.
88485         * iconvdata/cp772.c: New file.
88486         * iconvdata/cp773.c: New file.
88487         * iconvdata/cp774.c: New file.
88488         * iconvdata/testdata/CP770: New file.
88489         * iconvdata/testdata/CP770..UTF8: New file.
88490         * iconvdata/testdata/CP771: New file.
88491         * iconvdata/testdata/CP771..UTF8: New file.
88492         * iconvdata/testdata/CP772: New file.
88493         * iconvdata/testdata/CP772..UTF8: New file.
88494         * iconvdata/testdata/CP773: New file.
88495         * iconvdata/testdata/CP773..UTF8: New file.
88496         * iconvdata/testdata/CP774: New file.
88497         * iconvdata/testdata/CP774..UTF8: New file.
88499         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88500         END CHARMAP line.
88501         * iconvdata/gen-8bit-gap.sh: Likewise.
88502         * iconvdata/gen-8bit.sh: Likewise.
88504         * locale/iso-639.def: Add ary entry.
88506         [BZ #11258]
88507         * locale/C-translit.h.in: Add U20A1 transliteration.
88509         [BZ #12178]
88510         * locale/iso-639.def: Add wae entry.
88511         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88513         [BZ #12545]
88514         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88515         for n.
88517         [BZ #12711]
88518         * locale/C-translit.h.in: Add entry for U20B9.
88519         Patch by pravin.d.s@gmail.com.
88521 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88523         [BZ #12713]
88524         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88525         ENAMETOOLONG use generic getcwd.
88526         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88527         in rtld.  Use *stat64.
88528         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88529         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88530         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88531         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88532         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88533         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88534         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88535         __fstatat64 macros.
88536         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88537         * dirent/rewinddir.c: Add libc_hidden_def.
88538         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88539         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88541         * include/dirent.h (__alloc_dir): Add flags parameter.
88542         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88543         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88544         __alloc_dir.
88545         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88546         from fdopendir if O_CLOEXEC is already set.
88548 2011-03-15  Alan Modra  <amodra@gmail.com>
88550         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88551         l_tls_firstbyte_offset non-zero.  Save padding offset in
88552         l_tls_firstbyte_offset for later use.
88553         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88554         freeing static tls block.
88556 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88558         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88559         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88560         being defined by the kernel headers.
88562 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88564         [BZ #12734]
88565         * resolv/resolv.h: Define RES_NOTLDQUERY.
88566         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88567         no-tld-query and set RES_NOTLDQUERY.
88568         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88569         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88570         modern BIND to search name as TLD unless forbidden.
88572 2011-05-07  Petr Baudis  <pasky@suse.cz>
88573             Ulrich Drepper  <drepper@gmail.com>
88575         [BZ #12393]
88576         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88577         (is_trusted_path): ...to here.
88578         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88579         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88580         using is_trusted_path_normalize() in setuid scripts.
88582 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88584         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88585         __BEGIN/__END_DECLS.
88587 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88589         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88590         NSS_STATUS_NOTFOUND if no record was found.
88592 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88594         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88595         (headers-not-in-tirpc): Remove rpc/netdb.h
88596         * resolv/netdb.h: Revert last change.
88598 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88600         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88601         circular dependency between libgcc.a and libc.a.
88603 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88605         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88606         * nis/Makefile: Don't install rpcsvc/*.
88607         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88608         instead of <rpc/types.h>.
88609         (MAXHOSTNAMELEN): Define.
88611 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88613         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88615 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88617         [BZ #12714]
88618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88619         gethostbyname4_r when IPv6 results are possible.
88621 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88623         [BZ #12723]
88624         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88625         _PC_PIPE_BUF handling.
88627 2011-04-30  Bruno Haible  <bruno@clisp.org>
88629         [BZ #12717]
88630         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88631         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88632         to 'int'.
88633         * inet/getnameinfo.c (getnameinfo): Likewise.
88635 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88637         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88638         to groups setting in database lookup.
88639         * nss/nsswitch.conf: Add initgroups entry.
88641 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88643         [BZ #12685]
88644         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88645         mode string.
88646         Patch by Eric Blake <eblake@redhat.com>.
88648 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88650         * sunrpc/Makefile (need-export-routines): Add svc_run.
88651         (routines): Remove svc_run.
88652         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88653         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88654         * sunrpc/svc_run.c (svc_run): Likewise.
88655         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88657 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88659         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88660         problem in reallocation in last patch.
88662 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88664         * sunrpc/Makefile: Move inclusion of Rules.
88666 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88668         * nss/nss_files/files-initgroups.c: New file.
88669         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88670         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88671         _nss_files_initgroups_dyn.
88673 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88675         * elf/elf.h (R_ARM_IRELATIVE): Define.
88677 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88679         * po/ru.po: Update from translation team.
88681 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88683         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88684         dependencies.
88686 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88688         [BZ #12653]
88689         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88690         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88691         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88692         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88695 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88697         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88698         differing bytes.
88699         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88700         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88701         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88703 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88705         [BZ #12420]
88706         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88707         storing it.
88708         * stdlib/bug-getcontext.c: New file.
88709         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88711 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88713         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88714         instructions into .machine "z9-109".
88715         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88716         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88718 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88720         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88721         between environment variables and auxiliary vector.
88723 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88725         * Makefile: Add rules to build linkobj/libc.so.
88726         * include/libc-symbols.h: Define libc_hidden_nolink.
88727         * include/rpc/auth.h: Mark functions which are to be hidden.
88728         * include/rpc/auth_des.h: Likewise.
88729         * include/rpc/auth_unix.h: Likewise.
88730         * include/rpc/clnt.h: Likewise.
88731         * include/rpc/des_crypt.h: Likewise.
88732         * include/rpc/key_prot.h: Likewise.
88733         * include/rpc/pmap_clnt.h: Likewise.
88734         * include/rpc/pmap_prot.h: Likewise.
88735         * include/rpc/pmap_rmt.h: Likewise.
88736         * include/rpc/rpc_msg.h: Likewise.
88737         * include/rpc/svc.h: Likewise.
88738         * include/rpc/svc_auth.h: Likewise.
88739         * include/rpc/xdr.h: Likewise.
88740         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88741         * nss/Makefile: Likewise.
88742         * sunrpc/Makefile: Don't install headers.  Build library with normal
88743         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88744         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88745         for the compat linking library.  Remove use of INTDEF/INTUSE.
88746         * sunrpc/auth_none.c: Likewise.
88747         * sunrpc/auth_unix.c: Likewise.
88748         * sunrpc/authdes_prot.c: Likewise.
88749         * sunrpc/authuxprot.c: Likewise.
88750         * sunrpc/clnt_gen.c: Likewise.
88751         * sunrpc/clnt_perr.c: Likewise.
88752         * sunrpc/clnt_raw.c: Likewise.
88753         * sunrpc/clnt_simp.c: Likewise.
88754         * sunrpc/clnt_tcp.c: Likewise.
88755         * sunrpc/clnt_udp.c: Likewise.
88756         * sunrpc/clnt_unix.c: Likewise.
88757         * sunrpc/des_crypt.c: Likewise.
88758         * sunrpc/des_soft.c: Likewise.
88759         * sunrpc/get_myaddr.c: Likewise.
88760         * sunrpc/key_call.c: Likewise.
88761         * sunrpc/key_prot.c: Likewise.
88762         * sunrpc/netname.c: Likewise.
88763         * sunrpc/pm_getmaps.c: Likewise.
88764         * sunrpc/pm_getport.c: Likewise.
88765         * sunrpc/pmap_clnt.c: Likewise.
88766         * sunrpc/pmap_prot.c: Likewise.
88767         * sunrpc/pmap_prot2.c: Likewise.
88768         * sunrpc/pmap_rmt.c: Likewise.
88769         * sunrpc/publickey.c: Likewise.
88770         * sunrpc/rpc_cmsg.c: Likewise.
88771         * sunrpc/rpc_common.c: Likewise.
88772         * sunrpc/rpc_dtable.c: Likewise.
88773         * sunrpc/rpc_prot.c: Likewise.
88774         * sunrpc/rpc_thread.c: Likewise.
88775         * sunrpc/rtime.c: Likewise.
88776         * sunrpc/svc.c: Likewise.
88777         * sunrpc/svc_auth.c: Likewise.
88778         * sunrpc/svc_authux.c: Likewise.
88779         * sunrpc/svc_raw.c: Likewise.
88780         * sunrpc/svc_run.c: Likewise.
88781         * sunrpc/svc_simple.c: Likewise.
88782         * sunrpc/svc_tcp.c: Likewise.
88783         * sunrpc/svc_udp.c: Likewise.
88784         * sunrpc/svc_unix.c: Likewise.
88785         * sunrpc/svcauth_des.c: Likewise.
88786         * sunrpc/xcrypt.c: Likewise.
88787         * sunrpc/xdr.c: Likewise.
88788         * sunrpc/xdr_array.c: Likewise.
88789         * sunrpc/xdr_float.c: Likewise.
88790         * sunrpc/xdr_intXX_t.c: Likewise.
88791         * sunrpc/xdr_mem.c: Likewise.
88792         * sunrpc/xdr_rec.c: Likewise.
88793         * sunrpc/xdr_ref.c: Likewise.
88794         * sunrpc/xdr_sizeof.c: Likewise.
88795         * sunrpc/xdr_stdio.c: Likewise.
88797 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88799         [BZ #12650]
88800         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88801         * sysdeps/ia64/dl-tls.h: Likewise.
88802         * sysdeps/powerpc/dl-tls.h: Likewise.
88803         * sysdeps/s390/dl-tls.h: Likewise.
88804         * sysdeps/sh/dl-tls.h: Likewise.
88805         * sysdeps/sparc/dl-tls.h: Likewise.
88806         * sysdeps/x86_64/dl-tls.h: Likewise.
88807         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88809 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88811         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88812         rpath element also skip the following colon.
88813         (expand_dynamic_string_token): Add is_path parameter and pass
88814         down to DL_DST_REQUIRED and _dl_dst_substitute.
88815         (decompose_rpath): Call expand_dynamic_string_token with
88816         non-zero is_path.  Ignore empty rpaths.
88817         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88818         with zero is_path.
88820 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88823         Make cancelable.
88825 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88827         [BZ #12655]
88828         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88829         Patch by Filipe David Manana <fdmanana@apache.org>.
88831 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88833         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88834         Maintain aligned stack.
88835         (CHECK_RSP): Remove unused macro.
88837 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88839         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88840         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88842 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88844         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88846         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88848 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88850         [BZ #12518]
88851         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88852         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88853         * sysdeps/x86_64/memmove.c: New file.
88854         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88855         (memcpy): Renamed to ...
88856         (__new_memcpy): This.
88857         (memcpy): Provide GLIBC_2_14 memcpy.
88858         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88859         (memcpy): Provide GLIBC_2_2_5 memcpy.
88861 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88863         [BZ #12631]
88864         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88866 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88868         * misc/syncfs.c: New file.
88869         * misc/Makefile (routines): Add syncfs.
88870         * posix/unistd.h: Declare syncfs.
88871         * sysdeps/unix/syscalls.list: Add syncfs.
88873 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88875         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88876         open_by_handle_at.
88877         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88878         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88880         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88882         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88883         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88885 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88887         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88888         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88889         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88890         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88891         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88892         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88893         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88895         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88896         sync_file_range.c with -fexceptions.
88897         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88898         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88899         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88900         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88901         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88902         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88904         sync_file_range as cancellation point
88905         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88906         now a wrapper around __call_sync_file_range with cancellation handling.
88907         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88908         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88909         function name to __call_sync_file_range.
88910         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88911         Add call_sync_file_range.
88913 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88916         bits/timex.h.
88918 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88920         * iconv/iconv.h: Fix typo in comment.
88921         * io/fcntl.h: Likewise.
88922         * libio/stdio.h: Likewise.
88923         * posix/spawn.h: Likewise.
88924         * posix/unistd.h: Likewise.
88925         * stdlib/stdlib.h: Likewise.
88926         * time/time.h: Likewise.
88927         * wcsmbs/wchar.h: Likewise.
88929         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88930         open_by_handle): Add.
88931         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88932         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88933         Augment a few comments.
88934         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88939         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88940         open_by_handle.
88942         * io/fcntl.h (AT_EMPTY_PATH): Define.
88944 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88946         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88947         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88948         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88949         to...
88950         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88951         * Versions.def: Add GLIBC_2.14.
88952         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88953         Export.
88955 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88957         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88958         round counter.
88959         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88961 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88963         [BZ #12597]
88964         * string/test-strncmp.c (do_page_test): New function.
88965         (check2): Likewise.
88966         (test_main): Call check2.
88967         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88969 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88971         [BZ #12587]
88972         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88973         Handle cache information in CPU leaf 4.
88974         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88976 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88978         [BZ #12583]
88979         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88980         character representation.
88981         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88983 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88985         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88986         END(__isnan) to END(__isnanf) to match function entry point/label
88987         EALIGN(__isnanf,...).
88989 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88991         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88993 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88995         [BZ #12510]
88996         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88997         copy from the symbol referenced in the relocation to initialize the
88998         used variable.
88999         Patch by Piotr Bury <pbury@goahead.com>.
89000         * elf/Makefile: Add rules to build and tst-unique3.
89001         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89002         * elf/tst-unique3.cc: New file.
89003         * elf/tst-unique3.h: New file.
89004         * elf/tst-unique3lib.cc: New file.
89005         * elf/tst-unique3lib2.cc: New file.
89007         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89009 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89011         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89012         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89013         to _start.
89015 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89017         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89018         to-be-loaded object along a path to loader is ld.so.
89020 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89021             Ulrich Drepper  <drepper@gmail.com>
89023         * sysdeps/x86_64/memset.S: After aligning destination, code
89024         branches to different locations depending on the value of
89025         misalignment, when multiarch is enabled. Fix this.
89027 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89029         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89030         Set _x86_64_preferred_memory_instruction for AMD processsors.
89031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89032         Set bit_Prefer_SSE_for_memop for AMD processors.
89034 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89036         * libio/fmemopen.c (fmemopen): Optimize a bit.
89038 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89040         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89042 2011-03-03  Roland McGrath  <roland@redhat.com>
89044         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89046 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89048         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89049         __bzero_ultra1 instead of __memset_ultra1.
89051 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89052             Ulrich Drepper  <drepper@gmail.com>
89054         [BZ #12509]
89055         * include/link.h (struct link_map): Add l_orig_initfini.
89056         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89057         returning unsuccessfully.
89058         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89059         close of a file loaded at startup, restore the original l_initfini
89060         list.
89061         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89062         list, store the pointer.
89063         * elf/Makefile ($(objpfx)noload-mem): New rule.
89064         (noload-ENV): Define.
89065         (tests): Add $(objpfx)noload-mem.
89066         * elf/noload.c: Include <memcheck.h>.
89067         (main): Call mtrace.  Close all opened handles.
89069 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89071         [BZ #12454]
89072         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89073         dependencies are missing.
89075 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89077         Fix __if_freereq crash: Unlike the generic version which uses free,
89078         Hurd needs munmap.
89079         * sysdeps/mach/hurd/ifreq.h: New file.
89081 2011-01-27  Petr Baudis  <pasky@suse.cz>
89082             Ulrich Drepper  <drepper@gmail.com>
89084         [BZ 12445]#
89085         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89086         to extend_alloca().
89087         * stdio-common/bug23.c: New file.
89088         * stdio-common/Makefile (tests): Add bug23.
89090 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89091             Ulrich Drepper  <drepper@gmail.com>
89093         [BZ #12489]
89094         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89095         before performing relro protection.  At old place add assertion
89096         to make sure nothing changed.
89098 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89099             Glauber de Oliveira Costa  <glommer@gmail.com>
89101         * elf/elf.h: Add new ARM TLS relocs.
89103 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89106         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89107         cast from r3.
89108         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89109         'tests' variable.
89110         * sysdeps/wordsize-64/tst-writev.c: New file.
89112 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89114         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89115         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89116         insns in _dl_start to prevent a TOC reference before relocs are
89117         resolved.
89119 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89121         [BZ #12469]
89122         * Makeconfig: Remove RANLIB definition.
89123         * Makerules: Don't use RANLIB.
89124         * aclocal.m4: Remove ranlib test.
89125         * configure.in: No need to check for ranlib.
89126         * elf/rtld-Rules: Don't use RANLIB.
89128 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89130         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89131         protection macro.
89132         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89133         inclusion protection macro.
89135         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89136         SIGRTMIN and SIGRTMAX and print information in that case only when
89137         SIGRTMIN is defined.
89139 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89141         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89142         arginfo fn returning -1.
89144         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89145         and thousands string is zero terminated.
89147 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89149         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89150         sysdeps/unix/sysv/linux/bits/socket.h.
89152 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89154         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89155         (__CPU_COUNT): Remove old macros.
89156         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89157         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89158         (__CPU_ALLOC, __CPU_FREE): Add macros.
89159         (__sched_cpualloc, __sched_cpufree): Add declarations.
89161 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89163         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89164         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89165         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89166         (readdhstai): Return value of addhstaiX call.
89167         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89168         (addgrbyX): Return value returned by cache_addgr.
89169         (readdgrbyname): Return value returned by addgrbyX.
89170         (readdgrbygid): Likewise.
89171         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89172         (addpwbyX): Return value returned by cache_addpw.
89173         (readdpwbyname): Return value returned by addhstbyX.
89174         (readdpwbyuid): Likewise.
89175         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89176         (addservbyX): Return value returned by cache_addserv.
89177         (readdservbyname): Return value returned by addservbyX:
89178         (readdservbyport): Likewise.
89179         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89180         (addhstbyX): Return value returned by cache_addhst.
89181         (readdhstbyname): Return value returned by addhstbyX.
89182         (readdhstbyaddr): Likewise.
89183         (readdhstbynamev6): Likewise.
89184         (readdhstbyaddrv6): Likewise.
89185         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89186         (readdinitgroups): Return value returned by addinitgroupsX.
89187         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89188         (prune_cache): Keep track of timeout value of re-added entries.
89189         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89190         * nscd/nscd.h: Adjust prototypes of readd* functions.
89192 2011-02-04  Roland McGrath  <roland@redhat.com>
89194         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89195         (nis_stats): Likewise.
89196         * nis/nis_modify.c (nis_modify): Likewise.
89197         * nis/nis_remove.c (nis_remove): Likewise.
89198         * nis/nis_add.c (nis_add): Likewise.
89200         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89202         * posix/fnmatch_loop.c: Add some consts.
89204         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89206 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89208         [BZ #12460]
89209         * config.make.in (config-cflags-novzeroupper): Define.
89210         * configure.in: Substitute libc_cv_cc_novzeroupper.
89211         * elf/Makefile (AVX-CFLAGS): Define.
89212         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89213         (CFLAGS-tst-auditmod4a.c): Likewise.
89214         (CFLAGS-tst-auditmod4b.c): Likewise.
89215         (CFLAGS-tst-auditmod6b.c): Likewise.
89216         (CFLAGS-tst-auditmod6c.c): Likewise.
89217         (CFLAGS-tst-auditmod7b.c): Likewise.
89218         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89220 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89222         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89223         function to the callback.
89224         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89226 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89228         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89229         of errno.
89231 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89233         [BZ #11724]
89234         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89235         of constructors.
89236         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89237         of destructors.
89238         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89240         [BZ #11724]
89241         * elf/Makefile: Add rules to build and run new test.
89242         * elf/tst-initorder.c: New file.
89243         * elf/tst-initorder.exp: New file.
89244         * elf/tst-initordera1.c: New file.
89245         * elf/tst-initordera2.c: New file.
89246         * elf/tst-initordera3.c: New file.
89247         * elf/tst-initordera4.c: New file.
89248         * elf/tst-initorderb1.c: New file.
89249         * elf/tst-initorderb2.c: New file.
89250         * elf/tst-order-a1.c: New file.
89251         * elf/tst-order-a2.c: New file.
89252         * elf/tst-order-a3.c: New file.
89253         * elf/tst-order-a4.c: New file.
89254         * elf/tst-order-b1.c: New file.
89255         * elf/tst-order-b2.c: New file.
89256         * elf/tst-order-main.c: New file.
89257         New test case by George Gensure <werkt0@gmail.com>.
89259 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89262         decoding ACE if AI_CANONIDN.
89264 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89266         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89268 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89270         * version.h (RELEASE): Bump for 2.13 release.
89271         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89273         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89275         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89276         MADV_NOHUGEPAGE.
89277         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89278         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89279         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89280         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89281         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89282         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89284         * posix/getconf.c: Update copyright year.
89285         * catgets/gencat.c: Likewise.
89286         * csu/version.c: Likewise.
89287         * debug/catchsegv.sh: Likewise.
89288         * debug/xtrace.sh: Likewise.
89289         * elf/ldconfig.c: Likewise.
89290         * elf/ldd.bash.in: Likewise.
89291         * elf/sprof.c (print_version): Likewise.
89292         * iconv/iconv_prog.c: Likewise.
89293         * iconv/iconvconfig.c: Likewise.
89294         * locale/programs/locale.c: Likewise.
89295         * locale/programs/localedef.c: Likewise.
89296         * malloc/memusage.sh: Likewise.
89297         * malloc/mtrace.pl: Likewise.
89298         * nscd/nscd.c (print_version): Likewise.
89299         * nss/getent.c: Likewise.
89301         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89302         PF_CAIF, and PF_ALG.
89303         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89305 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89307         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89308         (modules-names): Use them.
89309         (ifunc-test-modules, ifunc-pie-tests): Define.
89310         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89311         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89312         (test-extras): Likewise.
89313         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89314         $(compile-command.c).
89315         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89316         (all-built-dso): Define.
89317         (check-textrel.out, check-execstack.out): Depend on it.
89319         * configure.in: Don't override --enable-multi-arch.
89321 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89323         [BZ #6812]
89324         * nscd/hstcache.c (tryagain): Define.
89325         (cache_addhst): Return tryagain not notfound for temporary errors.
89326         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89327         failed.
89329 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89331         [BZ #10563]
89332         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89333         to make the syscall.
89334         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89336         [BZ #12378]
89337         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89338         and fall back to matching as normal character if the string ends before
89339         the matching ']' is found.  This is what POSIX requires.
89340         * posix/testfnm.c: Adjust test result.
89341         * posix/globtest.sh: Adjust test result.  Add new test.
89342         * posix/tst-fnmatch.input: Likewise.
89343         * posix/tst-fnmatch2.c: Add new test.
89345 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89347         * elf/Makefile (check-execstack): Revert last change.  Depend on
89348         check-execstack.h.
89349         (check-execstack.h): New target.
89350         (generated): Add check-execstack.h.
89351         * elf/check-execstack.c: Include "check-execstack.h".
89352         (main): Revert last change.
89353         (handle_file): Return zero if GNU_STACK is absent and
89354         DEFAULT_STACK_PERMS doesn't include PF_X.
89356 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89358         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89359         in child fails because the descriptor is already closed.
89360         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89361         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89362         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89364         [BZ #12397]
89365         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89366         syscall.
89368         [BZ #10484]
89369         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89370         temporary buffer used to handle multi lookups locally.
89371         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89373 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89375         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89376         loader is ld.so.
89378 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89380         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89381         alignment for SSE2.
89383 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89385         [BZ #12394]
89386         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89387         characters.  When rounding increased number of integer digits recompute
89388         number of groups.
89389         * stdio-common/tst-grouping.c: New file.
89390         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89392 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89394         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89395         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89397         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89398         void.
89399         * bits/select.h: Likewise.
89401 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89403         * po/ja.po: Update from translation team.
89405 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89407         [BZ #11155]
89408         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89409         implementation just like for lxstat, fxstatat, et al.
89411 2010-12-27  Jim Meyering  <meyering@redhat.com>
89413         [BZ #12348]
89414         * posix/regexec.c (build_trtable): Return failure indication upon
89415         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89417 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89419         [BZ #12201]
89420         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89421         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89422         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89423         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89425         [BZ #12207]
89426         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89428         [BZ #12204]
89429         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89430         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89432 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89434         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89435         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89436         script has SORT_BY_INIT_PRIORITY.
89437         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89438         NO_CTORS_DTORS_SECTIONS is defined.
89439         * elf/soinit.c: Likewise.
89440         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89441         NO_CTORS_DTORS_SECTIONS is defined.
89442         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89443         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89444         * sysdeps/sh/init-first.c: Likewise.
89445         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89447 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89449         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89450         always use the slow path.
89452 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89454         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89455         similar rule which adds the sysdep directories to the header search in
89456         order to pick up the correct platform stackinfo.h.
89457         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89458         perform test if it is, otherwise return successfully without testing.
89459         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89460         DEFAULT_STACK_PERMS define in stackinfo.h.
89461         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89462         defined in stackinfo.h.
89463         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89464         DEFAULT_STACK_PERMS defined in stackinfo.h.
89465         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89466         * sysdeps/ia64/stackinfo.h: Likewise.
89467         * sysdeps/s390/stackinfo.h: Likewise.
89468         * sysdeps/sh/stackinfo.h: Likewise.
89469         * sysdeps/sparc/stackinfo.h: Likewise.
89470         * sysdeps/x86_64/stackinfo.h: Likewise.
89471         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89472         PF_X for powerpc64.  Retain PF_X for powerpc32.
89474 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89476         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89477         accurately.
89478         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89479         GETDENTS_64BIT_ALIGNED.
89481 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89483         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89485 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89487         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89488         _GNU_SOURCE.
89490         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89491         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89492         Remove __restrict.
89493         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89494         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89496 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89498         [BZ #11655]
89499         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89500         are initialized.
89502 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89504         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89506 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89508         * po/it.po: Update from translation team.
89510 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89513         unused codes.
89515 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89517         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89519 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89521         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89522         specially.
89523         (gaih_getanswer_slice): Likewise.
89525 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89529 2010-05-31  Petr Baudis  <pasky@suse.cz>
89531         [BZ #11149]
89532         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89533         silently even in the chroot mode.
89535 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89537         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89538         last patch a bit.  Pretty printing
89540 2010-05-31  Petr Baudis <pasky@suse.cz>
89542         [BZ #10085]
89543         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89544         initialization of skip_initgroups_dyn.
89546 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89548         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89549         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89551 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89553         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89555 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89557         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89558         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89559         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89560         ($(objpfx)tst-fnmatch-mem): New rule.
89561         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89562         * posix/tst-fnmatch.c (main): Call mtrace.
89564 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89567         Support Intel processor model 6 and model 0x2c.
89569 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89571         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89572           signed comparison.
89574 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89576         [BZ #12205]
89577         * string/test-strncasecmp.c (check_result): New function.
89578         (do_one_test): Use it.
89579         (check1): New function.
89580         (test_main): Use it.
89581         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89582         Support strcasecmp and strncasecmp.
89584 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89586         [BZ #12194]
89587         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89588         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89590 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89592         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89593         IFUNC support.
89594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89595         memset-x86-64.
89596         * sysdeps/x86_64/multiarch/bzero.S: New file.
89597         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89598         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89599         * sysdeps/x86_64/multiarch/memset.S: New file.
89600         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89602         Set bit_Prefer_SSE_for_memop for Intel processors.
89603         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89604         Define.
89605         (index_Prefer_SSE_for_memop): Define.
89606         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89608 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89610         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89611         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89613 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89615         [BZ #12191]
89616         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89617         (__x86_64_raw_data_cache_size_half): Likewise.
89618         (__x86_64_raw_shared_cache_size): Likewise.
89619         (__x86_64_raw_shared_cache_size_half): Likewise.
89621         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89622         (__x86_64_raw_data_cache_size_half): Likewise.
89623         (__x86_64_raw_shared_cache_size): Likewise.
89624         (__x86_64_raw_shared_cache_size_half): Likewise.
89625         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89626         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89627         and __x86_64_raw_shared_cache_size_half.  Round
89628         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89629         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89630         to multiple of 256 bytes.
89632 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89634         [BZ #12167]
89635         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89636         of inacessible symlinks.  Verify result of symlink before returning it.
89637         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89638         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89640 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89642         * math/math.h (isinf): Fix typo in comment.
89644 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89646         * po/da.po: Update from translation team.
89648 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89650         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89651         is added to the list.
89653 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89654             Ulrich Drepper  <drepper@gmail.com>
89656         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89657         the global list here.  Move code to...
89658         (_dl_add_to_namespace_list): ...here.  New function.
89659         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89660         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89661         * elf/dl-load.c (lose): Don't remove the element from the list.
89662         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89663         (_dl_map_object): Likewise.
89665 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89667         [BZ #12159]
89668         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89669         into all bytes of SSE register.
89670         Patch by Richard Li <richardpku@gmail.com>.
89672 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89674         [BZ #12140]
89675         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89676         perturbing.
89678 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89680         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89681         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89682         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89685         submachine.
89686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89688 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89690         * include/dlfcn.h (__RTLD_SECURE): Define.
89691         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89692         mode & __RTLD_SECURE instead.
89693         (open_path): Rename preloaded parameter to secure.
89694         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89695         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89696         * elf/dl-deps.c (openaux): Likewise.
89697         * elf/rtld.c (struct map_args): Remove is_preloaded.
89698         (map_doit): Don't use it.
89699         (dl_main): Likewise.
89700         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89701         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89703 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89705         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89706         (sysd-rules-targets): Remove duplicates.
89707         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89708         rtld-%.$o dependency.
89710 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89712         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89713         _dl_map_object do it.
89715 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89717         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89718         fast fma builtins, define the macros in the C99 standard.
89719         (FP_FAST_FMAF): Likewise.
89720         (FP_FAST_FMAL): Likewise.
89721         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89723         * bits/mathdef.h: Update copyright year.
89724         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89726 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89728         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89729         builtins, define the macros in the C99 standard.
89730         (FP_FAST_FMAF): Likewise.
89731         (FP_FAST_FMAL): Likewise.
89732         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89733         multiply/add.
89734         (FP_FAST_FMAF): Likewise.
89736 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89738         [BZ #3268]
89739         * math/libm-test.inc (fma_test): Some new testcases.
89740         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89741         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89742         y and infinite z.  Do multiplication by C already in long double.
89743         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89745         y and infinite z.  Do bitwise or of inexact bit into u.d.
89746         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89747         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89748         * sysdeps/i386/fpu/s_fma.S: Removed.
89749         * sysdeps/i386/fpu/s_fmal.S: Removed.
89751 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89753         [BZ #3268]
89754         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89756         computation is not scheduled after fetestexcept.  Fix value
89757         of minimum denormal long double.
89759 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89761         [BZ #3268]
89762         * math/libm-test.inc (fma_test): Add some more tests.
89763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89764         correctly.
89766 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89768         * scripts/data/localplt-s390-linux-gnu.data: New file.
89769         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89771 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89773         [BZ #3268]
89774         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89775         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89776         instead of dbl-64.
89777         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89778         inlines.
89779         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89781         if one of x and y is very large and the other is subnormal.
89782         * sysdeps/s390/fpu/s_fmaf.c: New file.
89783         * sysdeps/s390/fpu/s_fma.c: New file.
89784         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89785         * sysdeps/powerpc/fpu/s_fma.S: New file.
89786         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89787         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89788         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89790 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89792         [BZ #3268]
89793         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89794         fma tests.
89795         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89796         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89797         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89798         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89799         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89800         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89801         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89803 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89805         [BZ #12078]
89806         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89807         * posix/bug-regex31.input: Add test case.
89809 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89811         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89812         * posix/bug-regex31.input: New file.
89814         [BZ #12078]
89815         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89816         (parse_sub_exp): Fix last change, use postorder.
89818         * posix/bug-regex31.c: New file.
89819         * posix/Makefile: Add rules to build and run bug-regex31.
89821         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89823         [BZ #12078]
89824         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89826         [BZ #12108]
89827         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89828         to have entries in sys_siglist.
89830         [BZ #12093]
89831         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89832         be NULL.
89834 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89836         [BZ #3268]
89837         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89838         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89839         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89840         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89841         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89842         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89843         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89844         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89845         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89846         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89847         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89848         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89849         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89850         * math/ftestexcept.c (fetestexcept): Likewise.
89851         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89852         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89853         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89854         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89855         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89856         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89857         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89859 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89861         [BZ #12107]
89862         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89863         newline.
89865 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89867         * string/bug-strstr1.c: New file.
89868         * string/Makefile: Add rules to build and run bug-strstr1.
89870 2010-10-05  Eric Blake  <eblake@redhat.com>
89872         [BZ #12092]
89873         * string/str-two-way.h (two_way_long_needle): Always clear memory
89874         when skipping input due to the shift table.
89876 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89878         [BZ #12005]
89879         * malloc/mcheck.c: Handle large requests.
89881         [BZ #12077]
89882         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89883         for strncmp and strncasecmp.
89884         * string/stratcliff.c: Add tests for strcmp and strncmp.
89885         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89887 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89889         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89890         __set_fpscr.
89892 2010-09-30  Andreas Jaeger  <aj@suse.de>
89894         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89895         (CGROUP_SUPER_MAGIC): Define.
89896         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89897         Handle btrfs and cgroup file systems.
89898         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89899         Likewise.
89901 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89903         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89904         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89906 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89908         [BZ #12067]
89909         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89910         trying to locate the ELF header.
89912 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89914         [BZ #11611]
89915         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89916         Mask out sign-bit copies when constructing f_fsid.
89918 2010-09-24  Petr Baudis <pasky@suse.cz>
89920         * debug/stack_chk_fail_local.c: Add missing licence exception.
89921         * debug/warning-nop.c: Likewise.
89923 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89925         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89926         implementing getdents64 using getdents syscall, set d_type if
89927         __ASSUME_GETDENTS32_D_TYPE.
89929 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89931         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89932         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89934 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89936         [BZ #12037]
89937         * posix/unistd.h: Undo change of feature selection for ftruncate from
89938         2010-01-11.
89940 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89942         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89943         detection.
89945 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89947         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89948         fanotify_mark.
89949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89951 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89953         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89954         variables after CHECK_SP call.
89955         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89957 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89958             Ulrich Drepper  <drepper@redhat.com>
89960         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89961         re-relocationg ld.so.
89962         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89963         _dl_init_paths call.
89964         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89965         here anymore.
89967 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89969         * resolv/res_init.c (__res_vinit): Count the default server we added.
89971 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89972             Ulrich Drepper  <drepper@redhat.com>
89974         [BZ #11968]
89975         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89976         (____longjmp_chk): Use %ebx for saving value across system call.
89977         Add unwind info.
89979 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89981         * manual/Makefile: Don't mix pattern rules with normal rules.
89983 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89985         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89986         operation.
89987         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89988         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89989         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89990         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89992         Likewise.
89994 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89996         [BZ #11979]
89997         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89998         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90000 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90002         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90003         * sysdeps/x86_64/addmul_1.S: Likewise.
90004         * sysdeps/x86_64/lshift.S: Likewise.
90005         * sysdeps/x86_64/mul_1.S: Likewise.
90006         * sysdeps/x86_64/rshift.S: Likewise.
90007         * sysdeps/x86_64/sub_n.S: Likewise.
90008         * sysdeps/x86_64/submul_1.S: Likewise.
90010 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90012         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90013         Define __sched_param instead of SCHED_* and sched_param when
90014         <bits/sched.h> is included with __need_schedparam defined.
90015         * bits/sched.h [__need_schedparam]
90016         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90017         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90018         (__defined_schedparam): Define to 1.
90019         (__sched_param): New structure, identical to sched_param.
90020         (__need_schedparam): Undefine.
90022 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90024         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90025         (epoll_create1): Declare.
90027         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90029 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90031         [BZ #7066]
90032         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90033         shifting retval into place.
90035 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90037         * nis/rpcsvc/nis.h: Update copyright notice.
90038         * nis/rpcsvc/nis.x: Likewise.
90039         * nis/rpcsvc/nis_callback.h: Likewise.
90040         * nis/rpcsvc/nis_callback.x: Likewise.
90041         * nis/rpcsvc/nis_object.x: Likewise.
90042         * nis/rpcsvc/nis_tags.h: Likewise.
90043         * nis/rpcsvc/yp.h: Likewise.
90044         * nis/rpcsvc/yp.x: Likewise.
90045         * nis/rpcsvc/ypupd.h: Likewise.
90046         * nis/yp_xdr.c: Likewise.
90047         * nis/ypupdate_xdr.c: Likewise.
90049         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90050         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90051         (pmap_getport): Use __libc_rpc_getport.
90052         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90053         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90054         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90056 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90059         fanotify_mark.
90061 2010-08-27  Roland McGrath  <roland@redhat.com>
90063         * sysdeps/i386/i686/multiarch/Makefile
90064         (CFLAGS-varshift.c): New variable.
90066 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90068         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90069         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90071         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90073         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90075 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90077         * sysdeps/x86_64/strlen.S: Unroll the loop.
90078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90079         strlen-sse2 strlen-sse2-bsf.
90080         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90081         __strlen_no_bsf if bit_Slow_BSF is set.
90082         (__strlen_sse42): Removed.
90083         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90084         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90086 2010-08-25  Roland McGrath  <roland@redhat.com>
90088         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90089         * sysdeps/x86_64/multiarch/varshift.c: New file.
90090         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90091         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90092         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90093         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90095 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90098         strlen-sse2 strlen-sse2-bsf.
90099         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90100         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90101         (__strlen_sse2): Removed.
90102         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90105         bit_Slow_BSF for Atom.
90106         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90107         (index_Slow_BSF): Define.
90108         (HAS_SLOW_BSF): Define.
90110 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90112         [BZ #10851]
90113         * resolv/res_init.c (__res_vinit): When no server address at all
90114         is given default to loopback.
90116 2010-08-24  Roland McGrath  <roland@redhat.com>
90118         * configure.in: Remove config-name.h generation.
90119         * configure: Regenerated.
90120         * config-name.in: File removed.
90121         * scripts/config-uname.sh: New file.
90122         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90123         ($(objdir)config-name.h): New target.
90125         * sunrpc/rpc_parse.h: Avoid nested comment.
90127 2010-08-24  Richard Henderson  <rth@redhat.com>
90128             Ulrich Drepper  <drepper@redhat.com>
90129             H.J. Lu  <hongjiu.lu@intel.com>
90131         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90133         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90134         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90135         _mm_alignr_epi8 with _mm_loadu_si128.
90136         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90137         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90138         (__m128i_shift_right): Removed.
90139         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90140         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90141         * sysdeps/x86_64/multiarch/varshift.h: New file.
90142         * sysdeps/x86_64/multiarch/varshift.S: New file.
90144 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90146         * configure.in: Move assembler checks to before sysdep dir checking.
90148 2010-08-20  Petr Baudis  <pasky@suse.cz>
90150         * LICENSES: Sync the sunrpc license.
90152 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90154         * sunrpc/auth_des.c: Update copyright notice once again.
90155         * sunrpc/auth_none.c: Likewise.
90156         * sunrpc/auth_unix.c: Likewise.
90157         * sunrpc/authdes_prot.c: Likewise.
90158         * sunrpc/authuxprot.c: Likewise.
90159         * sunrpc/bindrsvprt.c: Likewise.
90160         * sunrpc/clnt_gen.c: Likewise.
90161         * sunrpc/clnt_perr.c: Likewise.
90162         * sunrpc/clnt_raw.c: Likewise.
90163         * sunrpc/clnt_simp.c: Likewise.
90164         * sunrpc/clnt_tcp.c: Likewise.
90165         * sunrpc/clnt_udp.c: Likewise.
90166         * sunrpc/clnt_unix.c: Likewise.
90167         * sunrpc/des_crypt.c: Likewise.
90168         * sunrpc/des_soft.c: Likewise.
90169         * sunrpc/get_myaddr.c: Likewise.
90170         * sunrpc/getrpcport.c: Likewise.
90171         * sunrpc/key_call.c: Likewise.
90172         * sunrpc/key_prot.c: Likewise.
90173         * sunrpc/openchild.c: Likewise.
90174         * sunrpc/pm_getmaps.c: Likewise.
90175         * sunrpc/pm_getport.c: Likewise.
90176         * sunrpc/pmap_clnt.c: Likewise.
90177         * sunrpc/pmap_prot.c: Likewise.
90178         * sunrpc/pmap_prot2.c: Likewise.
90179         * sunrpc/pmap_rmt.c: Likewise.
90180         * sunrpc/rpc/auth.h: Likewise.
90181         * sunrpc/rpc/auth_unix.h: Likewise.
90182         * sunrpc/rpc/clnt.h: Likewise.
90183         * sunrpc/rpc/des_crypt.h: Likewise.
90184         * sunrpc/rpc/key_prot.h: Likewise.
90185         * sunrpc/rpc/netdb.h: Likewise.
90186         * sunrpc/rpc/pmap_clnt.h: Likewise.
90187         * sunrpc/rpc/pmap_prot.h: Likewise.
90188         * sunrpc/rpc/pmap_rmt.h: Likewise.
90189         * sunrpc/rpc/rpc.h: Likewise.
90190         * sunrpc/rpc/rpc_des.h: Likewise.
90191         * sunrpc/rpc/rpc_msg.h: Likewise.
90192         * sunrpc/rpc/svc.h: Likewise.
90193         * sunrpc/rpc/svc_auth.h: Likewise.
90194         * sunrpc/rpc/types.h: Likewise.
90195         * sunrpc/rpc/xdr.h: Likewise.
90196         * sunrpc/rpc_clntout.c: Likewise.
90197         * sunrpc/rpc_cmsg.c: Likewise.
90198         * sunrpc/rpc_common.c: Likewise.
90199         * sunrpc/rpc_cout.c: Likewise.
90200         * sunrpc/rpc_dtable.c: Likewise.
90201         * sunrpc/rpc_hout.c: Likewise.
90202         * sunrpc/rpc_main.c: Likewise.
90203         * sunrpc/rpc_parse.c: Likewise.
90204         * sunrpc/rpc_parse.h: Likewise.
90205         * sunrpc/rpc_prot.c: Likewise.
90206         * sunrpc/rpc_sample.c: Likewise.
90207         * sunrpc/rpc_scan.c: Likewise.
90208         * sunrpc/rpc_scan.h: Likewise.
90209         * sunrpc/rpc_svcout.c: Likewise.
90210         * sunrpc/rpc_tblout.c: Likewise.
90211         * sunrpc/rpc_util.c: Likewise.
90212         * sunrpc/rpc_util.h: Likewise.
90213         * sunrpc/rpcinfo.c: Likewise.
90214         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90215         * sunrpc/rpcsvc/key_prot.x: Likewise.
90216         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90217         * sunrpc/rpcsvc/mount.x: Likewise.
90218         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90219         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90220         * sunrpc/rpcsvc/rex.x: Likewise.
90221         * sunrpc/rpcsvc/rstat.x: Likewise.
90222         * sunrpc/rpcsvc/rusers.x: Likewise.
90223         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90224         * sunrpc/rpcsvc/spray.x: Likewise.
90225         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90226         * sunrpc/rtime.c: Likewise.
90227         * sunrpc/svc.c: Likewise.
90228         * sunrpc/svc_auth.c: Likewise.
90229         * sunrpc/svc_authux.c: Likewise.
90230         * sunrpc/svc_raw.c: Likewise.
90231         * sunrpc/svc_run.c: Likewise.
90232         * sunrpc/svc_simple.c: Likewise.
90233         * sunrpc/svc_tcp.c: Likewise.
90234         * sunrpc/svc_udp.c: Likewise.
90235         * sunrpc/svc_unix.c: Likewise.
90236         * sunrpc/svcauth_des.c: Likewise.
90237         * sunrpc/xcrypt.c: Likewise.
90238         * sunrpc/xdr.c: Likewise.
90239         * sunrpc/xdr_array.c: Likewise.
90240         * sunrpc/xdr_float.c: Likewise.
90241         * sunrpc/xdr_mem.c: Likewise.
90242         * sunrpc/xdr_rec.c: Likewise.
90243         * sunrpc/xdr_ref.c: Likewise.
90244         * sunrpc/xdr_sizeof.c: Likewise.
90245         * sunrpc/xdr_stdio.c: Likewise.
90247         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90248         handling.
90250 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90252         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90254 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90256         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90257         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90258         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90259         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90260         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90261         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90262         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90263         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90264         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90265         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90266         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90267         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90268         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90269         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90271 2010-07-26  Anton Blanchard  <anton@samba.org>
90273         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90274         * malloc/arena.c (heap_trim): Likewise.
90276 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90278         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90279         here.  Not...
90280         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90281         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90283 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90285         * sysdeps/i386/elf/Makefile: New file.
90287 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90289         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90290         from fanotify_init.
90291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90292         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90294 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90296         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90297         of strncasecmp_l.
90298         * sysdeps/multiarch/strcmp.S: Likewise.
90300 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90302         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90303         strncase_l-nonascii.
90304         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90305         Add strncase_l-ssse3.
90306         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90307         * sysdeps/x86_64/strcmp.S: Likewise.
90308         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90309         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90310         * sysdeps/x86_64/strncase.S: New file.
90311         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90312         * sysdeps/x86_64/strncase_l.S: New file.
90313         * string/Makefile (strop-tests): Add strncasecmp.
90314         * string/test-strncasecmp.c: New file.
90316         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90317         warning.
90319         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90320         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90322 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90324         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90326 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90328         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90329         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90330         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90332 2010-05-01  Alan Modra  <amodra@gmail.com>
90334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90335         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90336         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90337         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90338         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90339         tidying.  Don't tail-call __sigjmp_save for static lib.
90340         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90341         save location.
90342         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90343         (CALL_MCOUNT): Add eh info, and nop after bl.
90344         (TAIL_CALL_SYSCALL_ERROR): New macro.
90345         (PSEUDO_RET): Use it.
90346         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90347         Correct save location of integer regs and cr.
90348         (_dl_profile_resolve): Correct cr save location.  Delete nops
90349         after bl when SHARED.  Reduce cfi size a little by better
90350         placement of cfi directives.
90351         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90352         make a stack frame.  Instead use parm save area as a temp.
90353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90354         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90356         Don't make a stack frame for parent, use parm save area.
90357         Increase child stack frame to 112 bytes.  Don't save unused reg,
90358         and adjust reg usage.  Set up cfi on error recovery and
90359         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90361         (__makecontext): Add dummy nop after jump to exit.
90362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90363         Use correct parm save area and cr save, reduce stack frame.
90364         Correct cfi for possible PSEUDO_RET frame setup.
90365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90366         Branch to local label emitted by PSEUDO_RET rather than
90367         __syscall_error.
90369 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90371         [BZ #11904]
90372         * locale/programs/locale.c (print_assignment): New function.
90373         (show_locale_vars): Use it.
90375 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90377         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90378         field.
90379         (struct statfs64): Likewise.
90380         (_STATFS_F_FLAGS): Define.
90381         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90382         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90383         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90384         (ST_VALID): Define locally.
90385         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90386         __statvfs_getflags, use the provided value.
90387         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90388         __ASSUME_STATFS_F_FLAGS.
90390         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90392         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90393         Add sys/fanotify.h.
90394         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90395         fanotify_mask for GLIBC_2.13.
90396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90397         fanotify_init and fanotify_mark.
90398         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90399         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90401         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90402         Add prlimit.
90403         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90404         prlimit64 for GLIBC_2.13.
90405         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90406         prlimit64.
90407         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90408         syscall.
90409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90410         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90411         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90412         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90413         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90414         add prlimit alias.
90415         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90417         [BZ #11903]
90418         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90419         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90421         * nss/Makefile: Add rules to build and run tst-nss-test1.
90422         * shlib-versions: Add entry for libnss_test1.
90423         * nss/nss_test1.c: New file.
90424         * nss/tst-nss-test1.c: New file.
90426         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90427         (__nss_configure_lookup): Set appropriate entry in
90428         __nss_configure_lookup to true.
90429         * nss/nsswitch.h: Define enum with indeces of databases in
90430         databases and __nss_database_custom arrays.  Declare
90431         __nss_database_custom.
90432         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90433         to avoid using nscd when custom rules are installed.
90434         * nss/getXXbyYY_r.c: Likewise.
90435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90437         * nss/nss_files/files-parse.c: Whitespace fixes.
90439 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90441         [BZ #11883]
90442         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90443         * posix/fnmatch_loop.c: Likewise.
90445 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90447         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90448         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90449         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90450         * Versions.def [GLIBC_2.13]: Add.
90452 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90454         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90455         Also fail if tpwd after pwuid call is NULL.
90457 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90459         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90460         when converting to ms.
90462 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90464         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90465         EOPNOTSUPP errors with ENOTTY.
90466         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90467         EOPNOTSUPP errors with ENOTTY.
90469 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90472         Add strcasecmp_l-ssse3.
90473         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90474         strcasecmp.
90475         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90476         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90477         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90479 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90481         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90483         * string/Makefile (strop-tests): Add strcasecmp.
90484         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90485         strcasecmp_l-nonascii.
90486         (gen-as-const-headers): Add locale-defines.sym.
90487         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90488         * sysdeps/x86_64/strcasecmp.S: New file.
90489         * sysdeps/x86_64/strcasecmp_l.S: New file.
90490         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90491         * sysdeps/x86_64/locale-defines.sym: New file.
90492         * string/test-strcasecmp.c: New file.
90494         * string/test-strcasestr.c: Test both ends of the range of characters.
90495         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90497 2010-07-29  Roland McGrath  <roland@redhat.com>
90499         [BZ #11856]
90500         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90502 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90504         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90505         for ld.so.
90507 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90509         * manual/memory.texi (Malloc Tunable Parameters): Document
90510         M_PERTURB.
90512 2010-07-26  Roland McGrath  <roland@redhat.com>
90514         [BZ #11840]
90515         * configure.in (-fgnu89-inline check): Set and substitute
90516         gnu89_inline, not libc_cv_gnu89_inline.
90517         * configure: Regenerated.
90518         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90520 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90522         * string/test-strnlen.c: New file.
90523         * string/Makefile (strop-tests): Add strnlen.
90524         * string/tester.c (test_strnlen): Add a few more test cases.
90525         * string/tst-strlen.c: Better error reporting.
90527         * sysdeps/x86_64/strnlen.S: New file.
90529 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90531         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90532         lower-latency instructions.
90534 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90536         * string/test-strcasestr.c: New file.
90537         * string/test-strstr.c: New file.
90538         * string/Makefile (strop-tests): Add strstr and strcasestr.
90539         * string/str-two-way.h: Don't undefine MAX.
90540         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90542 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90545         strcasestr-nonascii.
90546         (CFLAGS-strcasestr-nonascii.c): Define.
90547         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90548         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90549         Remove unused attribute.
90551 2010-07-20  Roland McGrath  <roland@redhat.com>
90553         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90554         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90555         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90556         like LD_HWCAP_MASK can disable hwcaps.
90558 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90560         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90562 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90564         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90565         call in strcasestr.
90566         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90567         __strcasestr_sse42_nonascii.
90568         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90569         strcasestr-nonascii.c.
90570         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90572 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90574         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90575         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90576         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90577         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90579 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90581         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90582         fcntl.
90584 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90586         [BZ #11577]
90587         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90588         dl_signal_cerror.
90590 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90592         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90593         _PC_PIPE_BUF using F_GETPIPE_SZ.
90595 2010-07-05  Roland McGrath  <roland@redhat.com>
90597         * manual/arith.texi (Rounding Functions): Fix rint description
90598         implicit in round description.
90600 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90602         * elf/Makefile: Fix linking for a few tests to make recent linker
90603         happy.
90605 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90607         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90608         $(common-objpfx)libc_nonshared.a.
90610 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90612         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90613         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90614         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90615         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90616         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90617         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90618         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90619         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90634         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90635         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90636         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90637         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90638         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90639         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90640         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90641         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90642         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90643         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90644         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90645         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90661 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90663         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90664         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90665         * string/memmove.c (memmove): Renamed to ...
90666         (MEMMOVE): ...this.  Default to memmove.
90667         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90668         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90669         (END_CHK): Define.
90670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90671         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90672         mempcpy-ssse3-back memmove-ssse3-back.
90673         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90675         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90676         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90677         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90678         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90679         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90680         * sysdeps/x86_64/multiarch/memmove.c: New file.
90681         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90682         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90683         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90684         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90685         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90686         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90687         Define.
90688         (index_Fast_Copy_Backward): Define.
90689         (HAS_ARCH_FEATURE): Define.
90690         (HAS_FAST_REP_STRING): Define.
90691         (HAS_FAST_COPY_BACKWARD): Define.
90693 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90695         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90696         Restore proper fallback handling.
90698 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90700         [BZ #11701]
90701         * posix/group_member.c (__group_member): Correct checking loop.
90703         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90704         OOM in getpwuid_r correctly.  Return error number when the caller
90705         should return, otherwise -1.
90706         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90707         call returning > 0 value.
90708         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90710 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90712         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90713         libc_nonshared.a from targets in modules-names.
90715 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90717         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90718         requires it.
90720 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90723         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90727 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90729         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90731 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90733         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90734         and F_GETPIPE_SZ.
90735         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90739         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90742 2010-06-14  Roland McGrath  <roland@redhat.com>
90744         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90746 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90748         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90749         __REDIRECT followed by __THROW.
90750         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90751         * posix/getopt.h (getopt): Likewise.
90753 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90755         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90756         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90757         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90758         in AT_FLAGS.
90759         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90760         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90762 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90764         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90766 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90768         [BZ #11640]
90769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90770         Properly check family and model.
90772 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90774         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90776 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90778         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90780 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90782         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90783         symbol reference.
90785 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90787         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90788         symbol reference.
90790 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90793         and internal_recvmmsg.
90794         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90795         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90796         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90797         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90799         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90800         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90801         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90803 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90805         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90807 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90809         POWER7 optimizations.
90810         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90811         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90813 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90815         * version.h: Update for 2.13 development version.
90817 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90819         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90820         exceptions.  Return 0.
90822 2010-05-07  Roland McGrath  <roland@redhat.com>
90824         * elf/ldconfig.c (main): Add a const.
90826 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90828         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90829         (args_options): Add no-idn option.
90830         (ahosts_keys_int): Add idn_flags to ai_flags.
90831         (parse_option): Handle 'i' option to clear idn_flags.
90833         * malloc/malloc.c (_int_free): Possible race in the most recently
90834         added check.  Only act on the data if no current modification
90835         happened.
90837 See ChangeLog.17 for earlier changes.